/* ==========================================================
   Al Farraa Academy — main stylesheet
   Emerald & gold, mihrab arches, eight-fold geometry.
   ========================================================== */

:root {
	--em-950: #021510;
	--em-900: #06261c;
	--em-850: #0a3024;
	--em-800: #0d3a2c;
	--em-700: #134f3c;
	--em-600: #1b6a50;
	--em-500: #238564;
	--gold-700: #8f6d1c;
	--gold-600: #b8912a;
	--gold-500: #d4af37;
	--gold-400: #e3c55f;
	--gold-300: #f0d98c;
	--gold-100: #fbf1d2;
	--ivory: #fbf7ee;
	--ivory-2: #f3ebd9;
	--ivory-3: #e9dec4;
	--ink: #0d1f18;
	--ink-2: #33473f;
	--ink-3: #5f7069;
	--line-light: rgba(13, 58, 44, 0.12);
	--line-dark: rgba(227, 197, 95, 0.18);

	--f-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
	--f-body: "Manrope", "Segoe UI", system-ui, sans-serif;
	--f-ar: "Cairo", Tahoma, sans-serif;
	--f-ar-display: "Cairo", Tahoma, sans-serif;
	--f-quran: "Amiri Quran", "Amiri", serif;
	--f-ar-ui: "Cairo", Tahoma, sans-serif;

	--gold-grad: linear-gradient(100deg, #a8821f 0%, #f0d98c 28%, #d4af37 48%, #fff3c4 62%, #c69c2e 80%, #a8821f 100%);
	--ease: cubic-bezier(.22, 1, .36, 1);
	--r: 18px;
	--gutter: clamp(16px, 4vw, 40px);
	--header-h: 84px;

	--arch-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 140' preserveAspectRatio='none'%3E%3Cpath d='M0 140V58C0 30 22 12 50 0C78 12 100 30 100 58V140Z'/%3E%3C/svg%3E");
	--pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23b8912a' stroke-opacity='0.16' stroke-width='1'%3E%3Cpolygon points='40.00,0.00 28.28,11.72 28.28,28.28 11.72,28.28 0.00,40.00 -11.72,28.28 -28.28,28.28 -28.28,11.72 -40.00,0.00 -28.28,-11.72 -28.28,-28.28 -11.72,-28.28 -0.00,-40.00 11.72,-28.28 28.28,-28.28 28.28,-11.72'/%3E%3Cpolygon points='120.00,0.00 108.28,11.72 108.28,28.28 91.72,28.28 80.00,40.00 68.28,28.28 51.72,28.28 51.72,11.72 40.00,0.00 51.72,-11.72 51.72,-28.28 68.28,-28.28 80.00,-40.00 91.72,-28.28 108.28,-28.28 108.28,-11.72'/%3E%3Cpolygon points='40.00,80.00 28.28,91.72 28.28,108.28 11.72,108.28 0.00,120.00 -11.72,108.28 -28.28,108.28 -28.28,91.72 -40.00,80.00 -28.28,68.28 -28.28,51.72 -11.72,51.72 -0.00,40.00 11.72,51.72 28.28,51.72 28.28,68.28'/%3E%3Cpolygon points='120.00,80.00 108.28,91.72 108.28,108.28 91.72,108.28 80.00,120.00 68.28,108.28 51.72,108.28 51.72,91.72 40.00,80.00 51.72,68.28 51.72,51.72 68.28,51.72 80.00,40.00 91.72,51.72 108.28,51.72 108.28,68.28'/%3E%3Cpolygon points='56.57,40.00 51.72,44.85 51.72,51.72 44.85,51.72 40.00,56.57 35.15,51.72 28.28,51.72 28.28,44.85 23.43,40.00 28.28,35.15 28.28,28.28 35.15,28.28 40.00,23.43 44.85,28.28 51.72,28.28 51.72,35.15'/%3E%3C/g%3E%3C/svg%3E");
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.7;
	color: var(--ink);
	background: var(--ivory);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}
html.is-rtl body { font-family: var(--f-ar-ui); }
[lang="ar"] { font-family: var(--f-ar); }
html.is-rtl body { font-size: 18px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.12; text-wrap: balance; }
p { margin: 0; }
::selection { background: var(--gold-400); color: var(--em-950); }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); position: relative; z-index: 2; }
.wrap.narrow { max-width: 820px; }
.wrap.wide { max-width: 1440px; }
.center { text-align: center; display: flex; justify-content: center; }
.skip-link { position: absolute; inset-inline-start: -999px; top: 8px; z-index: 1000; background: var(--gold-500); color: var(--em-950); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { inset-inline-start: 8px; }
.notranslate { unicode-bidi: isolate; }

/* ---------- surfaces ---------- */
.dark { background: var(--em-900); color: var(--ivory); position: relative; overflow: hidden; isolation: isolate; contain: paint; }
.light { background: var(--ivory); color: var(--ink); position: relative; isolation: isolate; }
.pattern-bg::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 80px 80px; opacity: .9; z-index: 0; pointer-events: none; mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); }
section { padding-block: clamp(80px, 11vw, 150px); }
.girih { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

.arch-row { height: 36px; background-color: var(--em-900); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='36' viewBox='0 0 60 36'%3E%3Cpath d='M0 0H60V36H57C57 20 46 9 30 2C14 9 3 20 3 36H0Z' fill='%23fbf7ee'/%3E%3C/svg%3E"); background-size: 60px 36px; background-repeat: repeat-x; position: relative; z-index: 3; margin-block: -1px; }
.arch-row--flip { background-color: var(--ivory); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='36' viewBox='0 0 60 36'%3E%3Cpath d='M0 0H60V36H57C57 20 46 9 30 2C14 9 3 20 3 36H0Z' fill='%2306261c'/%3E%3C/svg%3E"); }
.arch-row--top { background-color: transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='36' viewBox='0 0 60 36'%3E%3Cpath d='M3 36C3 20 14 9 30 2C46 9 57 20 57 36' fill='none' stroke='%23d4af37' stroke-opacity='.35'/%3E%3C/svg%3E"); height: 36px; }

/* ---------- type ---------- */
.kicker { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 18px; }
.dark .kicker { color: var(--gold-400); }
.kicker-ar { font-family: var(--f-ar-display); font-size: 24px; letter-spacing: 0; text-transform: none; font-weight: 700; color: var(--em-700); padding-inline-end: 14px; border-inline-end: 1px solid currentColor; line-height: 1.2; }
.dark .kicker-ar { color: var(--gold-300); }
.sec-head { text-align: center; max-width: 780px; margin: 0 auto clamp(48px, 6vw, 72px); }
.sec-title { font-family: var(--f-display); font-size: clamp(36px, 5.2vw, 64px); font-weight: 600; letter-spacing: -.01em; color: var(--em-900); }
.dark .sec-title { color: var(--ivory); }
.sec-lead { margin-top: 18px; font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-3); max-width: 62ch; margin-inline: auto; }
.dark .sec-lead { color: rgba(251, 247, 238, .72); }
.gold-text { background: var(--gold-grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: -220% 0; } }

/* ---------- buttons ---------- */
.btn { --bg: var(--em-700); display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 15.5px; letter-spacing: .01em; text-decoration: none; border: 0; cursor: pointer; position: relative; overflow: hidden; isolation: isolate; transition: transform .45s var(--ease), box-shadow .45s var(--ease), background-color .3s, color .3s; white-space: nowrap; }
.btn .ic { width: 18px; height: 18px; transition: transform .4s var(--ease); }
html[dir="rtl"] .btn .ic-arrow { transform: scaleX(-1); }
.btn:hover .ic-arrow { transform: translateX(4px); }
html[dir="rtl"] .btn:hover .ic-arrow { transform: scaleX(-1) translateX(4px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 18px 32px; font-size: 16.5px; }
.btn-gold { background: var(--gold-grad); background-size: 200% 100%; color: var(--em-950); box-shadow: 0 10px 30px -10px rgba(212, 175, 55, .7), inset 0 1px 0 rgba(255, 255, 255, .6); transition: background-position .9s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease); }
.btn-gold::after { content: ""; position: absolute; inset: -2px; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .75) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); z-index: -1; }
.btn-gold:hover::after { transform: translateX(120%); }
.btn-gold:hover { background-position: 100% 0; box-shadow: 0 16px 40px -12px rgba(212, 175, 55, .9), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn-ghost { background: rgba(251, 247, 238, .06); color: var(--ivory); box-shadow: inset 0 0 0 1.5px rgba(240, 217, 140, .55); }
.btn-ghost:hover { background: rgba(240, 217, 140, .14); box-shadow: inset 0 0 0 1.5px var(--gold-300); }
.light .btn-ghost, .drawer .btn-ghost { color: var(--em-800); box-shadow: inset 0 0 0 1.5px var(--em-700); background: transparent; }
.btn-emerald { background: var(--em-800); color: var(--ivory); box-shadow: 0 12px 30px -14px rgba(6, 38, 28, .8); }
.btn-emerald:hover { background: var(--em-700); }
.btn-emerald .ic { color: var(--gold-400); }

/* ---------- star ornament ---------- */
.star8 { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 3; }
.star8 circle { stroke-width: 2.5; }

/* ---------- preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 9999; background: radial-gradient(circle at 50% 45%, var(--em-800), var(--em-950) 70%); display: grid; place-items: center; transition: opacity .7s var(--ease), visibility .7s; }
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader-inner { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.preloader-star { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--gold-400); stroke-width: 1.2; }
.preloader-star polygon, .preloader-star circle { stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 1.4s var(--ease) forwards, spin 14s linear infinite; transform-origin: 50% 50%; }
.preloader-mark { width: 56px; opacity: 0; animation: fadeIn .8s .5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
html.no-preloader .preloader { display: none; }

/* ---------- cursor ---------- */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 9000; display: none; }
@media (pointer: fine) { html.has-cursor .cursor { display: block; } }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; transform: translate3d(-50%, -50%, 0); }
.cursor-dot { width: 6px; height: 6px; background: var(--gold-400); }
.cursor-ring { width: 38px; height: 38px; border: 1.5px solid rgba(212, 175, 55, .7); transition: width .35s var(--ease), height .35s var(--ease), background-color .35s, border-color .35s; }
.cursor.is-hover .cursor-ring { width: 70px; height: 70px; background: rgba(212, 175, 55, .12); border-color: var(--gold-300); }

.scroll-progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 1001; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; background: var(--gold-grad); transform-origin: 0 50%; transform: scaleX(0); }
html[dir="rtl"] .scroll-progress span { transform-origin: 100% 50%; }

/* Google Translate chrome: keep hidden */
.gt-hidden, .goog-te-banner-frame, iframe.skiptranslate, .skiptranslate > iframe, #goog-gt-tt, .goog-te-balloon-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }
body { top: 0 !important; position: static !important; }
font[style] { background: none !important; box-shadow: none !important; }

/* ---------- header ---------- */
.site-header { position: fixed; top: 0; inset-inline: 0; z-index: 1000; padding-top: env(safe-area-inset-top, 0px); transition: background-color .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.header-inner { max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { flex: 0 0 auto; display: block; position: relative; height: 52px; }
.brand img { height: 52px; width: auto; transition: opacity .4s; }
.brand .brand-dark { position: absolute; inset: 0; opacity: 0; }
.site-header.is-solid { background: rgba(251, 247, 238, .92); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 1px 0 var(--line-light), 0 18px 40px -30px rgba(6, 38, 28, .5); }
.site-header.is-solid .brand-light { opacity: 0; }
.site-header.is-solid .brand-dark { opacity: 1; }
.site-header.is-hidden { transform: translateY(-110%); }

.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.main-nav .menu > li { position: relative; }
.main-nav a { display: block; white-space: nowrap; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; color: rgba(251, 247, 238, .88); transition: color .3s, background-color .3s; position: relative; }
.main-nav a::after { content: ""; position: absolute; inset-inline: 14px; bottom: 4px; height: 1.5px; background: var(--gold-400); transform: scaleX(0); transition: transform .45s var(--ease); }
.main-nav a:hover::after, .main-nav .current-menu-item > a::after { transform: scaleX(1); }
.main-nav a:hover { color: var(--gold-300); }
.site-header.is-solid .main-nav a { color: var(--ink-2); }
.site-header.is-solid .main-nav a:hover { color: var(--em-700); }
.main-nav .sub-menu { position: absolute; top: 100%; inset-inline-start: 0; list-style: none; margin: 0; padding: 8px; min-width: 220px; background: var(--ivory); border-radius: 14px; box-shadow: 0 20px 50px -20px rgba(6, 38, 28, .5); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .3s var(--ease); }
.main-nav li:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { color: var(--ink-2) !important; }

.header-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(251, 247, 238, .1); color: var(--ivory); cursor: pointer; place-items: center; }
.nav-toggle .ic { width: 22px; height: 22px; }
.site-header.is-solid .nav-toggle { background: var(--ivory-2); color: var(--em-900); }

/* language switcher */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding-inline: 14px; border-radius: 999px; border: 0; cursor: pointer; background: rgba(251, 247, 238, .1); color: var(--ivory); font-weight: 800; font-size: 13px; letter-spacing: .08em; transition: background-color .3s; }
.lang-btn .ic { width: 18px; height: 18px; color: var(--gold-400); }
.lang-btn:hover { background: rgba(240, 217, 140, .2); }
.site-header.is-solid .lang-btn { background: var(--ivory-2); color: var(--em-900); }
.site-header.is-solid .lang-btn .ic { color: var(--gold-600); }
.lang-list { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; width: 250px; max-height: min(70vh, 460px); overflow-y: auto; list-style: none; margin: 0; padding: 8px; background: var(--ivory); border-radius: 16px; box-shadow: 0 30px 60px -25px rgba(2, 21, 16, .6), 0 0 0 1px var(--line-light); z-index: 5; }
.lang-list button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border: 0; background: none; border-radius: 10px; cursor: pointer; color: var(--ink); text-align: start; }
.lang-list button:hover, .lang-list button.is-on { background: var(--ivory-2); }
.lang-list button.is-on .lang-code { background: var(--gold-500); color: var(--em-950); }
.lang-name { font-weight: 600; font-size: 15px; }
.lang-code { font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 3px 7px; border-radius: 6px; background: var(--ivory-3); color: var(--ink-3); }

/* drawer */
.drawer { position: fixed; inset: 0; z-index: 1100; }
.drawer-bg { position: absolute; inset: 0; background: rgba(2, 21, 16, .6); opacity: 0; transition: opacity .4s; }
.drawer-panel { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(88vw, 400px); background: var(--ivory); padding: calc(env(safe-area-inset-top, 0px) + 80px) 28px 32px; display: flex; flex-direction: column; gap: 12px; overflow: hidden auto; transform: translateX(100%); transition: transform .55s var(--ease); }
html[dir="rtl"] .drawer-panel { transform: translateX(-100%); }
.drawer.is-open .drawer-bg { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer .menu { list-style: none; padding: 0; margin: 0 0 12px; }
.drawer .menu a { display: block; padding: 14px 4px; font-family: var(--f-display); font-size: 28px; font-weight: 600; color: var(--em-900); text-decoration: none; border-bottom: 1px solid var(--line-light); }
.drawer-close { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 20px); inset-inline-end: 20px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ivory-2); cursor: pointer; display: grid; place-items: center; }
.drawer-close .ic { width: 22px; height: 22px; }
.drawer-star { position: absolute; width: 320px; height: 320px; bottom: -120px; inset-inline-start: -110px; color: var(--gold-500); opacity: .18; stroke-width: 1; animation: spin 60s linear infinite; }

/* ---------- hero ---------- */
.hero { min-height: clamp(680px, 100svh, 1040px); display: flex; align-items: center; padding-block: calc(var(--header-h) + 40px) 90px; background: var(--em-950); }
.hero-photo, .final-photo { position: absolute; inset: -12% 0; background-image: linear-gradient(180deg, rgba(2, 21, 16, .55), rgba(2, 21, 16, .35) 40%, rgba(6, 38, 28, .96)), var(--img); background-size: cover; background-position: center; z-index: -2; will-change: transform; filter: saturate(.9); }
.hero-vignette { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(120% 90% at 70% 40%, transparent 30%, rgba(2, 21, 16, .7) 100%), linear-gradient(90deg, rgba(2, 21, 16, .85), rgba(2, 21, 16, .2) 60%, transparent); }
html[dir="rtl"] .hero-vignette { background: radial-gradient(120% 90% at 30% 40%, transparent 30%, rgba(2, 21, 16, .7) 100%), linear-gradient(270deg, rgba(2, 21, 16, .85), rgba(2, 21, 16, .2) 60%, transparent); }
.hero-watermark { will-change: transform; position: absolute; z-index: 1; inset-inline-end: -2vw; bottom: -6vw; font-family: var(--f-quran); font-size: clamp(200px, 30vw, 500px); line-height: 1.4; color: transparent; -webkit-text-stroke: 1.5px rgba(212, 175, 55, .16); pointer-events: none; user-select: none; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px; background: rgba(251, 247, 238, .07); box-shadow: inset 0 0 0 1px rgba(240, 217, 140, .25); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-300); }
.eyebrow-star { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(212, 175, 55, .15); font-size: 16px; }
.eyebrow-star .star8 { animation: spin 16s linear infinite; will-change: transform; }
.hero-title { font-family: var(--f-display); font-weight: 600; font-size: clamp(46px, 7.2vw, 104px); line-height: .98; letter-spacing: -.02em; margin-top: 26px; color: var(--ivory); }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .line > span { display: inline-block; }
.hero-lead { margin-top: 26px; font-size: clamp(17px, 1.7vw, 20px); color: rgba(251, 247, 238, .78); max-width: 50ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-chips { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: rgba(251, 247, 238, .72); font-size: 14.5px; font-weight: 600; }
.hero-chips li { display: inline-flex; align-items: center; gap: 8px; }
.hero-chips .ic { width: 20px; height: 20px; color: var(--gold-400); }

.hero-visual { position: relative; perspective: 1600px; }
.hero-dust { position: absolute; inset: -12% -14%; width: 128%; height: 124%; z-index: 4; pointer-events: none; }
.mushaf-scene { animation: sceneIn 1.8s var(--ease) .3s both; position: relative; width: min(100%, 480px); aspect-ratio: 5 / 6.3; margin-inline: auto; perspective: 1700px; }
.mushaf-arch { position: absolute; inset: 0; background: linear-gradient(150deg, #fff1c2, #d4af37 22%, #8f6d1c 45%, #e9cd72 65%, #a8821f 85%, #f0d98c); -webkit-mask: var(--arch-mask) center / 100% 100% no-repeat; mask: var(--arch-mask) center / 100% 100% no-repeat; }
.mushaf-arch-in { position: absolute; inset: 3px 3px 0; -webkit-mask: var(--arch-mask) center / 100% 100% no-repeat; mask: var(--arch-mask) center / 100% 100% no-repeat; background: radial-gradient(60% 45% at 50% 46%, rgba(240, 210, 120, .38), transparent 70%), radial-gradient(100% 80% at 50% 40%, #145240, #041a12 78%); }
.mushaf-arch-in::after { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 54px; filter: brightness(2.2); opacity: .55; mask-image: radial-gradient(75% 65% at 50% 45%, transparent 30%, #000 80%); -webkit-mask-image: radial-gradient(75% 65% at 50% 45%, transparent 30%, #000 80%); }
.mushaf-rays { position: absolute; inset: 3px 3px 0; -webkit-mask: var(--arch-mask) center / 100% 100% no-repeat; mask: var(--arch-mask) center / 100% 100% no-repeat; background: repeating-conic-gradient(from 0deg at 50% 46%, rgba(255, 236, 170, .09) 0 4deg, transparent 4deg 15deg); animation: spin 90s linear infinite; }
.book3d.is-mushaf { --t: 46px; position: absolute; left: 50%; top: 50%; width: 56%; margin: 0; translate: -50% -52%; transform: rotateY(24deg) rotateX(-9deg); animation: mushafFloat 7s ease-in-out infinite; z-index: 2; }
@keyframes sceneIn { from { opacity: 0; transform: translateY(40px) scale(.96); } }
@keyframes mushafFloat { 50% { translate: -50% -55%; } }
.is-mushaf .book3d-cover { border-radius: 2px 4px 4px 2px; filter: saturate(.86) brightness(.97) contrast(1.04); }
.is-mushaf::before { border-radius: 2px 4px 4px 2px; background: #0e2a20; box-shadow: 30px 50px 70px -18px rgba(0, 0, 0, .85); }
.is-mushaf .book3d-spine { background: linear-gradient(90deg, #0b231a, #22463a 40%, #10302500 100%), #16362b; box-shadow: inset 0 22px 0 -16px #d8b64a, inset 0 -22px 0 -16px #d8b64a, inset 0 60px 0 -54px #d8b64a, inset 0 -60px 0 -54px #d8b64a; border-radius: 0 6px 6px 0; }
.is-mushaf .book3d-pages { background: linear-gradient(90deg, rgba(0,0,0,.18), transparent 30%, rgba(0,0,0,.12)), repeating-linear-gradient(90deg, #f7efd8 0 1px, #dccfae 1px 2px); top: 1%; bottom: 1%; box-shadow: inset 0 0 0 1px rgba(120, 95, 40, .25); }
.book3d-top { position: absolute; top: 0; left: 1%; right: 0; height: var(--t); transform-origin: top center; transform: translateZ(calc(var(--t) / 2)) rotateX(-90deg); background: repeating-linear-gradient(0deg, #f5ecd2 0 1px, #d8caa4 1px 2px); }
.is-mushaf .book3d-sheen { border-radius: 2px 4px 4px 2px; background: linear-gradient(270deg, rgba(0, 0, 0, .45) 0, rgba(255, 255, 255, .16) 1.4%, rgba(0, 0, 0, .12) 3%, transparent 6%), linear-gradient(115deg, transparent 32%, rgba(255, 246, 210, .34) 46%, rgba(255, 255, 255, .06) 52%, transparent 62%); background-size: 100% 100%, 260% 100%; animation: sheen 9s var(--ease) infinite; }
.mushaf-shadow { position: absolute; left: 22%; right: 22%; bottom: 6%; height: 30px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .6), transparent); animation: shadowPulse 7s ease-in-out infinite; }
@keyframes sheen { 0%, 50% { background-position: 0 0, 140% 0; } 100% { background-position: 0 0, -140% 0; } }

.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; width: 26px; height: 42px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(240, 217, 140, .5); }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold-400); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- verse ribbon ---------- */
.verse { padding: 0; background: var(--em-950); border-block: 1px solid rgba(212, 175, 55, .3); overflow: hidden; position: relative; z-index: 2; }
.verse-track { will-change: transform; display: flex; width: max-content; animation: marquee 70s linear infinite; }
.verse:hover .verse-track { animation-play-state: paused; }
.verse-group { display: flex; align-items: center; gap: 34px; padding: 22px 17px; white-space: nowrap; }
.verse-ar { font-family: var(--f-quran); font-size: clamp(24px, 2.6vw, 34px); color: var(--gold-300); line-height: 1.6; }
.verse-en { font-family: var(--f-display); font-style: italic; font-size: 20px; color: rgba(251, 247, 238, .7); }
.verse-en em { font-style: normal; font-family: var(--f-body); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-500); margin-inline-start: 8px; }
.verse-star { font-size: 22px; color: var(--gold-500); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
html[dir="rtl"] .verse-track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ---------- programs ---------- */
.prog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.prog { transform-style: preserve-3d; will-change: transform; }
.prog-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; background: #fff; border-radius: 200px 200px var(--r) var(--r); padding: 10px 10px 26px; box-shadow: 0 1px 0 var(--line-light), 0 30px 60px -40px rgba(6, 38, 28, .55); transition: box-shadow .5s var(--ease); position: relative; }
.prog-link::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: linear-gradient(160deg, var(--gold-300), transparent 35%, transparent 65%, var(--gold-500)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .7; transition: opacity .4s; pointer-events: none; }
.prog:hover .prog-link { box-shadow: 0 1px 0 var(--line-light), 0 40px 70px -35px rgba(6, 38, 28, .7); }
.prog:hover .prog-link::before { opacity: 1; }
.prog-arch { position: relative; aspect-ratio: 5 / 6; overflow: hidden; -webkit-mask: var(--arch-mask) center / 100% 100% no-repeat; mask: var(--arch-mask) center / 100% 100% no-repeat; background: linear-gradient(160deg, var(--em-700), var(--em-950)); }
.prog-img { position: absolute; inset: 0; background-image: linear-gradient(180deg, rgba(2, 21, 16, 0) 40%, rgba(2, 21, 16, .7)), var(--img), var(--pattern); background-size: cover, cover, 80px; background-position: center; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.prog:hover .prog-img { transform: scale(1.14); }
.prog-num { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); width: 58px; height: 58px; display: grid; place-items: center; font-family: var(--f-ar); font-size: 30px; line-height: 1; color: var(--em-950); background: var(--gold-grad); background-size: 200%; clip-path: polygon(50% 0, 64.6% 14.6%, 85.4% 14.6%, 85.4% 35.4%, 100% 50%, 85.4% 64.6%, 85.4% 85.4%, 64.6% 85.4%, 50% 100%, 35.4% 85.4%, 14.6% 85.4%, 14.6% 64.6%, 0 50%, 14.6% 35.4%, 14.6% 14.6%, 35.4% 14.6%); }
.prog-shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 243, 196, .5) 50%, transparent 65%); transform: translateX(-110%); transition: transform 1.1s var(--ease); pointer-events: none; }
.prog:hover .prog-shine { transform: translateX(110%); }
.prog-body { padding: 22px 14px 0; display: flex; flex-direction: column; gap: 10px; flex: 1; text-align: center; align-items: center; }
.prog-ar { font-family: var(--f-ar-display); font-size: 24px; color: var(--gold-600); line-height: 1.3; }
.prog-body h3 { font-family: var(--f-display); font-size: 30px; color: var(--em-900); }
.prog-body p { font-size: 15.5px; color: var(--ink-3); }
.more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; color: var(--em-700); }
.more .ic { width: 16px; height: 16px; transition: transform .4s var(--ease); }
html[dir="rtl"] .more .ic { transform: scaleX(-1); }
.prog:hover .more .ic { transform: translateX(5px); }

/* ---------- curriculum ---------- */
.curriculum { background: radial-gradient(70% 80% at 25% 40%, var(--em-700), var(--em-900) 60%, var(--em-950)); }
.curriculum-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.title-ar { display: block; font-family: var(--f-ar-display); font-weight: 800; font-size: .92em; line-height: 1.6; margin-bottom: .05em; background: var(--gold-grad); background-size: 200%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.curriculum-lead { margin-top: 18px; color: rgba(251, 247, 238, .78); font-size: 17.5px; max-width: 58ch; }

.book-stage { perspective: 1800px; display: grid; justify-items: center; padding-block: 20px; }
.book3d { --t: 30px; position: relative; width: min(80%, 360px); aspect-ratio: 720 / 1040; transform-style: preserve-3d; transform: rotateY(-24deg) rotateX(5deg); transition: transform 1.1s var(--ease); animation: bookFloat 8s ease-in-out infinite; }
@keyframes bookFloat { 50% { translate: 0 -14px; } }
.book3d::before { content: ""; position: absolute; inset: 0; border-radius: 3px 8px 8px 3px; background: #0b3526; transform: translateZ(calc(var(--t) / -2)); box-shadow: 30px 40px 70px -20px rgba(0, 0, 0, .7); }
.book3d-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 3px 8px 8px 3px; transform: translateZ(calc(var(--t) / 2)); backface-visibility: hidden; }
.book3d-sheen { position: absolute; inset: 0; border-radius: 3px 8px 8px 3px; transform: translateZ(calc(var(--t) / 2 + .5px)); pointer-events: none; background: linear-gradient(270deg, rgba(0, 0, 0, .32) 0, rgba(255, 255, 255, .22) 1.6%, rgba(0, 0, 0, .1) 3.2%, transparent 6%), linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .28) 45%, transparent 60%); background-size: 100% 100%, 250% 100%; background-position: 0 0, var(--gloss, 90%) 0; transition: background-position .6s; }
.book3d-spine { position: absolute; top: 0; bottom: 0; right: 0; width: var(--t); transform-origin: right center; transform: translateZ(calc(var(--t) / -2)) rotateY(90deg); background: linear-gradient(90deg, #06261c, #1b6a50 45%, #0d3a2c); border-radius: 0 3px 3px 0; box-shadow: inset 0 14px 0 -10px var(--gold-500), inset 0 -14px 0 -10px var(--gold-500); }
.book3d-pages { position: absolute; top: 1.4%; bottom: 1.4%; left: 0; width: var(--t); transform-origin: left center; transform: translateZ(calc(var(--t) / -2)) rotateY(-90deg); background: repeating-linear-gradient(90deg, #f6f0e0 0 1px, #d9cfb8 1px 2px); }
.book-shadow { width: 64%; height: 26px; margin-top: 34px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent); animation: shadowPulse 8s ease-in-out infinite; }
@keyframes shadowPulse { 50% { transform: scale(.86); opacity: .7; } }

.growth { list-style: none; padding: 0; margin: 30px 0 0; display: flex; align-items: stretch; gap: 10px; position: relative; }
.growth::before { content: ""; position: absolute; top: 34px; inset-inline: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-500), transparent); }
.growth li { position: relative; flex: 1 1 0; display: grid; justify-items: center; text-align: center; gap: 4px; padding: 12px 8px 14px; border-radius: 18px; background: rgba(2, 21, 16, .45); box-shadow: inset 0 0 0 1px var(--line-dark); }
.growth li:last-child { background: linear-gradient(160deg, rgba(212, 175, 55, .22), rgba(2, 21, 16, .5)); box-shadow: inset 0 0 0 1px var(--gold-500); }
.growth-ar { font-family: var(--f-ar-display); font-weight: 700; font-size: 26px; line-height: 1.6; color: var(--gold-300); }
.growth strong { font-size: 13.5px; color: var(--ivory); letter-spacing: .02em; }
.growth small { font-size: 12.5px; color: rgba(251, 247, 238, .6); line-height: 1.4; }
.growth .growth-gap { flex: 0 0 auto; background: none; box-shadow: none; align-content: center; color: var(--gold-400); font-size: 22px; padding-inline: 2px; }
.stats-cap { margin-top: 30px; font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-400); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 12px 0 30px; }
.stats > div { padding: 16px 10px; border-radius: 16px; background: rgba(251, 247, 238, .06); box-shadow: inset 0 0 0 1px var(--line-dark); text-align: center; }
.stats dt { font-family: var(--f-display); font-size: clamp(32px, 3.4vw, 46px); font-weight: 700; color: var(--gold-300); line-height: 1; font-variant-numeric: tabular-nums lining-nums; }
.stats dd { margin: 8px 0 0; font-size: 12.5px; color: rgba(251, 247, 238, .7); font-weight: 600; line-height: 1.35; }

/* ---------- journey ---------- */
.journey { background: linear-gradient(180deg, var(--em-900), var(--em-950)); }
.journey-track { position: relative; margin-bottom: 56px; }
.journey-line { position: absolute; left: 0; right: 0; top: 18px; width: 100%; height: 120px; z-index: 0; }
.journey-line path { fill: none; stroke: var(--gold-500); stroke-width: 2; stroke-dasharray: 6 10; vector-effect: non-scaling-stroke; opacity: .7; }
.journey-steps { position: relative; z-index: 1; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.journey-steps li { text-align: center; padding: 0 10px; }
.step-arch { display: grid; place-items: center; width: 92px; height: 110px; margin: 0 auto 24px; font-family: var(--f-ar); font-size: 44px; color: var(--em-950); background: var(--gold-grad); background-size: 200%; -webkit-mask: var(--arch-mask) center / 100% 100% no-repeat; mask: var(--arch-mask) center / 100% 100% no-repeat; padding-top: 16px; filter: drop-shadow(0 12px 20px rgba(212, 175, 55, .35)); }
.journey-steps h3 { font-family: var(--f-display); font-size: 30px; color: var(--ivory); }
.journey-steps p { margin-top: 10px; color: rgba(251, 247, 238, .7); }

/* ---------- why ---------- */
.why-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.why-photo { position: relative; }
.why-arch { aspect-ratio: 4 / 5; overflow: hidden; -webkit-mask: var(--arch-mask) center / 100% 100% no-repeat; mask: var(--arch-mask) center / 100% 100% no-repeat; background: linear-gradient(160deg, var(--em-700), var(--em-950)); }
.why-img { position: absolute; inset: -10% 0; background-image: var(--img), var(--pattern); background-size: cover, 80px; background-position: center; }
.why-badge { position: absolute; bottom: 8%; inset-inline-end: -4%; display: flex; align-items: center; gap: 12px; padding: 16px 20px; max-width: 240px; background: var(--em-900); color: var(--ivory); border-radius: 18px; font-weight: 700; font-size: 14px; line-height: 1.35; box-shadow: 0 30px 50px -25px rgba(2, 21, 16, .8), inset 0 0 0 1px var(--line-dark); }
.why-badge .star8 { flex: none; font-size: 34px; color: var(--gold-400); animation: spin 20s linear infinite; }
.why-list { margin-top: 34px; display: grid; gap: 14px; }
.why-item { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 20px; border-radius: 20px; background: rgba(255, 255, 255, .75); box-shadow: 0 1px 0 var(--line-light); transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .4s; }
.why-item:hover { transform: translateX(6px); background: #fff; box-shadow: 0 1px 0 var(--line-light), 0 24px 40px -28px rgba(6, 38, 28, .55); }
html[dir="rtl"] .why-item:hover { transform: translateX(-6px); }
.why-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--em-800); color: var(--gold-300); }
.why-ic .ic { width: 26px; height: 26px; }
.why-item h3 { font-family: var(--f-display); font-size: 26px; color: var(--em-900); }
.why-item p { color: var(--ink-3); font-size: 15.5px; margin-top: 4px; }

/* ---------- voices ---------- */
.voices { background: radial-gradient(80% 70% at 50% 0%, var(--em-700), var(--em-900) 60%, var(--em-950)); }
.voices-stage { display: grid; perspective: 1400px; max-width: 900px; margin-inline: auto; }
.voice { grid-area: 1 / 1; margin: 0; padding: clamp(28px, 4vw, 54px); border-radius: 28px; background: linear-gradient(160deg, #15503d, #0a2c21); box-shadow: inset 0 0 0 1px var(--line-dark), 0 50px 90px -50px #000; text-align: center; transition: transform 1s var(--ease), opacity 1s var(--ease), filter 1s; opacity: 0; transform: translateX(40%) rotateY(-30deg) scale(.82); filter: blur(3px); pointer-events: none; }
.voice.is-prev { opacity: .25; transform: translateX(-40%) rotateY(30deg) scale(.82); }
.voice.is-next { opacity: .25; }
.voice.is-current { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.voice-mark { display: block; font-family: var(--f-display); font-size: 90px; line-height: .6; height: 44px; color: var(--gold-500); }
.voice blockquote { margin: 0; font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: clamp(24px, 3vw, 36px); line-height: 1.35; color: var(--ivory); }
.voice figcaption { margin-top: 24px; display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); }
.voice figcaption .star8 { font-size: 18px; }
.voices-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; position: relative; z-index: 2; }
.voices-dots button { width: 34px; height: 4px; border: 0; padding: 0; border-radius: 4px; background: rgba(251, 247, 238, .25); cursor: pointer; transition: all .4s var(--ease); }
.voices-dots button.is-on { width: 60px; background: var(--gold-500); }

/* ---------- platform / odoo ---------- */
.platform { background: var(--ivory-2); }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -20px auto 28px; padding: 6px; border-radius: 999px; background: #fff; box-shadow: 0 1px 0 var(--line-light), 0 20px 40px -30px rgba(6, 38, 28, .6); width: max-content; max-width: 100%; }
.tab { border: 0; cursor: pointer; padding: 11px 20px; border-radius: 999px; background: none; font-weight: 700; font-size: 14.5px; color: var(--ink-2); transition: all .35s var(--ease); }
.tab:hover { color: var(--em-700); }
.tab.is-on { background: var(--em-800); color: var(--gold-100); }
.odoo-frame { border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 1px 0 var(--line-light), 0 50px 90px -50px rgba(2, 21, 16, .7), 0 0 0 1px var(--line-light); }
.odoo-bar { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; background: var(--em-900); color: var(--ivory); }
.odoo-dots { display: flex; gap: 6px; }
.odoo-dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(251, 247, 238, .25); }
.odoo-dots i:first-child { background: var(--gold-500); }
.odoo-url { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(251, 247, 238, .08); font-size: 13px; color: rgba(251, 247, 238, .75); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; direction: ltr; }
.odoo-url .ic { width: 15px; height: 15px; color: var(--gold-400); flex: none; }
.odoo-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding-inline: 10px; border-radius: 999px; border: 0; cursor: pointer; background: rgba(251, 247, 238, .08); color: var(--ivory); text-decoration: none; font-size: 13px; font-weight: 700; }
.odoo-btn .ic { width: 16px; height: 16px; }
.odoo-btn:hover { background: var(--gold-500); color: var(--em-950); }
.odoo-stage { position: relative; height: clamp(560px, 78vh, 900px); background: var(--ivory); }
.page-embed .odoo-stage { height: max(700px, calc(100svh - var(--header-h) - 70px)); }
.odoo-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; opacity: 0; transition: opacity .6s; }
.odoo-stage.is-loaded iframe { opacity: 1; }
.odoo-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold-500); }
.odoo-loading .star8 { width: 64px; height: 64px; stroke-width: 2; animation: spin 2.4s linear infinite; }
.odoo-stage.is-loaded .odoo-loading { display: none; }
.odoo-fallback { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center; padding: 24px; background: var(--ivory); }
.odoo-fallback { background: radial-gradient(70% 80% at 50% 30%, #fff, var(--ivory) 60%, var(--ivory-2)); }
.odoo-fallback p { font-family: var(--f-display); font-size: clamp(30px, 4vw, 44px); font-weight: 600; color: var(--em-900); line-height: 1.1; }
.odoo-fallback-sub { color: var(--ink-3); max-width: 40ch; }
.fallback-mark { width: 84px; height: 84px; color: var(--gold-500); stroke-width: 1.6; animation: spin 30s linear infinite; }
.is-portal .odoo-stage { height: clamp(360px, 50vh, 480px); }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 30px); }
.faq-head > p:not(.kicker) { margin: 18px 0 28px; color: var(--ink-3); }
.faq-list { display: grid; gap: 12px; }
.qa { border-radius: 20px; background: #fff; box-shadow: 0 1px 0 var(--line-light), 0 20px 40px -34px rgba(6, 38, 28, .55); overflow: hidden; transition: box-shadow .4s; }
.qa[open] { box-shadow: 0 0 0 1.5px var(--gold-500), 0 30px 50px -34px rgba(6, 38, 28, .6); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 24px; font-family: var(--f-display); font-size: 24px; font-weight: 600; color: var(--em-900); line-height: 1.25; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ivory-2); color: var(--em-700); transition: transform .5s var(--ease), background .3s, color .3s; }
.qa summary i .ic { width: 18px; height: 18px; }
.qa[open] summary i { transform: rotate(135deg); background: var(--gold-500); color: var(--em-950); }
.qa-body { padding: 0 24px 24px; color: var(--ink-2); }

/* ---------- final cta ---------- */
.final { text-align: center; padding-block: clamp(110px, 14vw, 190px); background: var(--em-950); }
.final-photo { background-image: linear-gradient(180deg, rgba(2, 21, 16, .92), rgba(6, 38, 28, .78) 50%, rgba(2, 21, 16, .95)), var(--img); }
.final-inner { display: flex; flex-direction: column; align-items: center; }
.final-star { position: relative; width: 150px; height: 150px; display: grid; place-items: center; margin-bottom: 30px; }
.final-star .star8 { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--gold-400); stroke-width: 1.2; filter: drop-shadow(0 0 18px rgba(212, 175, 55, .5)); }
.final-star img { width: 58px; position: relative; }
.spin-slow { animation: spin 40s linear infinite; }
.final .sec-title { font-size: clamp(40px, 6vw, 80px); max-width: 16ch; }
.final .hero-ctas { justify-content: center; }

/* ---------- inner pages ---------- */
.page-hero { padding-block: calc(var(--header-h) + 70px) 70px; text-align: center; background: radial-gradient(90% 90% at 50% 0%, var(--em-700), var(--em-900) 60%, var(--em-950)); }
.page-hero-inner { display: grid; justify-items: center; gap: 10px; }
.page-hero-ar { font-family: var(--f-ar-display); font-size: clamp(30px, 4vw, 48px); color: var(--gold-300); line-height: 1.3; }
.page-hero .sec-title { font-size: clamp(40px, 6vw, 76px); }
.page-embed, .page-body { padding-block: clamp(40px, 5vw, 70px) clamp(70px, 8vw, 110px); }
.page-embed { background: var(--ivory-2); }
.entry-content { font-size: 18px; color: var(--ink-2); }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2, .entry-content h3 { font-family: var(--f-display); color: var(--em-900); }
.entry-content h2 { font-size: 40px; }
.entry-content a { color: var(--em-600); }
.page-embed .entry-content { max-width: 820px; margin: 0 auto 40px; }
.post-list { display: grid; gap: 24px; }
.post-card a { text-decoration: none; }
.post-card h2 { font-family: var(--f-display); font-size: 34px; color: var(--em-900); margin: 12px 0 8px; }
.post-card img { border-radius: 18px; }

/* ---------- footer ---------- */
.site-footer { background: var(--em-950); color: rgba(251, 247, 238, .7); position: relative; overflow: hidden; padding-bottom: env(safe-area-inset-bottom, 0px); }
.site-footer::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 80px; opacity: .5; filter: brightness(1.6); pointer-events: none; mask-image: linear-gradient(0deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(0deg, #000, transparent 70%); }
.footer-inner { position: relative; max-width: 1240px; margin-inline: auto; padding: 70px var(--gutter) 50px; display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.footer-brand img { height: 64px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: 15px; max-width: 44ch; }
.footer-legal { margin-top: 18px; font-size: 12.5px !important; color: rgba(251, 247, 238, .45); line-height: 1.6; }
.footer-col h3 { font-family: var(--f-body); font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; color: rgba(251, 247, 238, .75); font-size: 15px; transition: color .3s; }
.footer-col a:hover { color: var(--gold-300); }
.footer-bottom { position: relative; max-width: 1240px; margin-inline: auto; padding: 22px var(--gutter) 26px; border-top: 1px solid rgba(212, 175, 55, .18); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 13.5px; color: rgba(251, 247, 238, .5); }
.footer-contact { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.footer-email { display: inline-flex; gap: 6px; align-items: center; user-select: all; }
.footer-email .ic { width: 16px; height: 16px; color: var(--gold-400); }
.social { text-decoration: none; color: rgba(251, 247, 238, .75); font-weight: 700; }
.social:hover { color: var(--gold-300); }

.wa-float { position: fixed; z-index: 900; bottom: calc(env(safe-area-inset-bottom, 0px) + 22px); inset-inline-end: 22px; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #1faa59; color: #fff; box-shadow: 0 18px 30px -12px rgba(31, 170, 89, .7); }
.wa-float .ic { width: 30px; height: 30px; stroke-width: 1.8; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: ping 2.4s var(--ease) infinite; }

/* ---------- reveal (JS adds .rv-ready) ---------- */
html.rv-ready .rv { opacity: 0; transform: translateY(40px); }
html.rv-ready .rv.is-in { opacity: 1; transform: none; transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
	.main-nav { display: none; }
	.nav-toggle { display: grid; }
	.prog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
	:root { --header-h: 74px; }
	.brand, .brand img { height: 44px; }
	.hero-inner, .curriculum-grid, .why-grid, .faq-grid { grid-template-columns: 1fr; }
	.hero-visual { order: -1; }
	.mushaf-scene { width: min(76vw, 380px); }
	.hero-copy { text-align: center; }
	.hero-ctas, .hero-chips { justify-content: center; }
	.hero-lead { margin-inline: auto; }
	.faq-head { position: static; }
	.curriculum-copy { text-align: center; }
	.curriculum-copy > p { margin-inline: auto; }
	.growth { max-width: 560px; margin-inline: auto; }
	.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.journey-line { display: none; }
	.journey-steps { grid-template-columns: 1fr; }
	.why-badge { inset-inline-end: 4%; }
	.footer-inner { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.header-actions .btn-sm { display: none; }
	.hero { padding-top: calc(var(--header-h) + 20px); }
	.hero-title { font-size: clamp(40px, 12vw, 56px); }
	.mushaf-scene { width: min(78vw, 300px); }
	.growth { flex-wrap: wrap; }
	.growth li { flex: 1 1 40%; }
	.growth .growth-gap, .growth::before { display: none; }
	.book3d { width: min(70%, 280px); }
	.btn-lg { padding: 16px 24px; font-size: 15.5px; }
	.hero-ctas .btn { width: 100%; }
	.prog-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
	.tabs { border-radius: 22px; width: 100%; }
	.tab { flex: 1 1 auto; padding: 10px 12px; }
	.odoo-open span { display: none; }
	.qa summary { font-size: 21px; padding: 18px; }
	.qa-body { padding: 0 18px 20px; }
	.footer-inner { grid-template-columns: 1fr; }
	.why-badge { position: relative; inset: auto; margin: -40px auto 0; }
	.voice-mark { font-size: 70px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.verse-track { animation: none; }
}
.is-portal [data-odoo-reload] { display: none; }
@media (max-width: 640px) {
	.kicker { flex-wrap: wrap; justify-content: center; gap: 6px 12px; }
	.curriculum-copy .kicker, .faq-head .kicker, .why .kicker { display: flex; }
	.eyebrow { font-size: 11px; letter-spacing: .08em; }
}
.prog-ar, .page-hero-ar { font-weight: 700; }

/* ---------- v1.2 fixes ---------- */
[hidden], .odoo-fallback[hidden] { display: none !important; }
.preloader-star circle, .final-star .star8 circle { display: none; }
.hero-photo::after, .final-photo::after { content: ""; position: absolute; inset: 0; background: #0b3a2b; mix-blend-mode: multiply; opacity: .5; pointer-events: none; }
.hero-photo { filter: saturate(.75) brightness(.85); }

/* ---------- v1.3 speed ---------- */
.prog-img, .why-img, .final-photo { --img: none; }
.lang-btn.is-busy .ic { animation: spin 1s linear infinite; }
.lang-btn.is-busy { pointer-events: none; opacity: .8; }

html[data-lang="ar"] .verse-en { display: none; }

/* ---------- v1.4 services linked to Odoo ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.svc { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px 24px 26px; border-radius: 26px; background: #fff; text-decoration: none; color: var(--ink); box-shadow: 0 1px 0 var(--line-light), 0 30px 60px -40px rgba(6, 38, 28, .55); overflow: hidden; isolation: isolate; transition: box-shadow .5s var(--ease); }
.svc::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: linear-gradient(160deg, var(--gold-300), transparent 40%, transparent 60%, var(--gold-500)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .6; transition: opacity .4s; }
.svc::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 220px; height: 220px; background: var(--pattern); background-size: 40px; opacity: .6; z-index: -1; transform: rotate(12deg); }
.svc:hover { box-shadow: 0 1px 0 var(--line-light), 0 40px 70px -35px rgba(6, 38, 28, .7); }
.svc:hover::before { opacity: 1; }
.svc-ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--em-800); color: var(--gold-300); margin-bottom: 6px; transition: transform .5s var(--ease); }
.svc:hover .svc-ic { transform: rotate(-8deg) scale(1.06); }
.svc-ic .ic { width: 28px; height: 28px; }
.svc h3 { font-family: var(--f-display); font-size: 27px; color: var(--em-900); }
.svc p { color: var(--ink-3); font-size: 15px; flex: 1; }
.svc:hover .more .ic { transform: translateX(5px); }
@media (max-width: 1100px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- v1.4 calmer background, stronger contrast ---------- */
:root { --ink-2: #22352d; --ink-3: #3f5048; }
.pattern-bg::before { opacity: .4; }
.hero-photo { filter: saturate(.7) brightness(.62); }
.hero-photo::after, .final-photo::after { opacity: .62; }
.hero-vignette { background: radial-gradient(120% 90% at 70% 40%, rgba(2, 21, 16, .25) 20%, rgba(2, 21, 16, .82) 100%), linear-gradient(90deg, rgba(2, 21, 16, .92), rgba(2, 21, 16, .45) 60%, rgba(2, 21, 16, .2)); }
html[dir="rtl"] .hero-vignette { background: radial-gradient(120% 90% at 30% 40%, rgba(2, 21, 16, .25) 20%, rgba(2, 21, 16, .82) 100%), linear-gradient(270deg, rgba(2, 21, 16, .92), rgba(2, 21, 16, .45) 60%, rgba(2, 21, 16, .2)); }
.hero-watermark { -webkit-text-stroke-color: rgba(212, 175, 55, .07); }
.hero-lead { color: rgba(251, 247, 238, .92); }
.hero-chips { color: rgba(251, 247, 238, .88); }
.dark .sec-lead, .curriculum-lead, .journey-steps p, .voice blockquote { color: rgba(251, 247, 238, .9); }
.growth small, .stats dd { color: rgba(251, 247, 238, .8); }
.verse-en { color: rgba(251, 247, 238, .85); }
.mushaf-rays { opacity: .6; }
.site-footer, .footer-col a { color: rgba(251, 247, 238, .82); }
.footer-legal { color: rgba(251, 247, 238, .62) !important; }

/* Arabic text everywhere in Cairo (Quranic verses keep the Quran font) */
html.is-rtl body, html[lang^="ar"] body { font-family: var(--f-ar-ui); }
html.is-rtl h1, html.is-rtl h2, html.is-rtl h3, html.is-rtl .sec-title, html.is-rtl .hero-title, html[lang^="ar"] h1, html[lang^="ar"] h2, html[lang^="ar"] h3 { font-family: var(--f-ar-display); font-weight: 800; letter-spacing: 0; }

/* Arabic view: every element in Cairo (overrides the English display/body faces), Quranic text excepted */
html.is-rtl body, html.is-rtl body *:not(.verse-ar):not(.hero-watermark):not(svg):not(path) { font-family: "Cairo", Tahoma, sans-serif !important; letter-spacing: 0 !important; }
html.is-rtl .hero-title, html.is-rtl .sec-title { font-weight: 800; line-height: 1.25; }
.kicker-ar, .prog-ar, .growth-ar, .title-ar, .step-arch, .prog-num { font-family: "Cairo", Tahoma, sans-serif !important; }

/* Arabic hero: Cairo is wider and taller than the English display face — smaller size so each phrase stays on one line */
html.is-rtl .hero-title { font-size: clamp(34px, 4.4vw, 64px); line-height: 1.35; letter-spacing: 0; }
@media (max-width: 720px) { html.is-rtl .hero-title { font-size: clamp(28px, 8.4vw, 40px); } }

/* =====================================================================
   1.5 — bilingual text, platform button, events, articles, mailing list,
   share buttons, About / Contact / Pricing pages, article layout
   ===================================================================== */
html:not(.is-rtl) .tr-ar, html.is-rtl .tr-en { display: none !important; }
.tr-ar { font-family: var(--f-ar); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; overflow: hidden !important; clip-path: inset(50%) !important; opacity: 0 !important; pointer-events: none; }
.center-col { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }

.header-platform { gap: 8px; }
.header-platform .ic { width: 18px; height: 18px; }
@media (max-width: 560px) { .header-platform span { display: none; } .header-platform { padding: 10px 12px; } }

/* events on the home page */
.ev-group { display: flex; align-items: center; gap: 10px; font-size: 20px; color: var(--em-800); margin: 0 0 18px; }
.ev-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 5px rgba(212, 175, 55, .18); }
.ev-dot--ongoing { background: var(--em-500); box-shadow: 0 0 0 5px rgba(35, 133, 100, .18); animation: pulse-dot 1.8s ease-in-out infinite; }
@keyframes pulse-dot { 50% { box-shadow: 0 0 0 9px rgba(35, 133, 100, 0); } }
.ev-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); justify-content: center; gap: clamp(16px, 2vw, 26px); margin-bottom: 40px; }
.ev-card { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #fff; text-decoration: none; color: var(--ink); box-shadow: 0 1px 0 var(--line-light), 0 30px 60px -40px rgba(6, 38, 28, .55); transition: transform .5s var(--ease), box-shadow .5s; }
.ev-card:hover { transform: translateY(-6px); box-shadow: 0 1px 0 var(--line-light), 0 40px 70px -35px rgba(6, 38, 28, .7); }
.ev-img { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 4.4; background: radial-gradient(circle at 50% 40%, var(--em-700), var(--em-950)); overflow: hidden; }
.ev-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ev-card:hover .ev-img img { transform: scale(1.04); }
.ev-img .ev-star { position: absolute; width: 80%; height: 80%; color: var(--gold-400); opacity: .35; stroke-width: 1; }
.ev-ph { position: relative; padding: 24px; text-align: center; font-family: var(--f-ar); font-weight: 800; font-size: 24px; color: var(--gold-100); line-height: 1.5; }
.ev-fee { position: absolute; top: 14px; inset-inline-start: 14px; padding: 6px 14px; border-radius: 999px; background: rgba(2, 21, 16, .78); color: var(--gold-300); font-size: 13px; font-weight: 800; backdrop-filter: blur(6px); }
.ev-fee:empty { display: none; }
.ev-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.ev-when { font-size: 13.5px; font-weight: 700; color: var(--gold-700); font-family: var(--f-ar); }
.ev-title { font-family: var(--f-ar); font-weight: 800; font-size: 20px; line-height: 1.5; color: var(--em-900); }
.ev-sum { color: var(--ink-3); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--f-ar); }
.ev-body .more { margin-top: auto; }

/* articles */
.articles-home { padding-block: clamp(70px, 9vw, 120px); }
.articles-home.related { padding-top: 40px; }
.articles-home.related .sec-title { margin-bottom: 30px; }
.art-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); margin-bottom: 40px; }
@media (max-width: 980px) { .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .art-grid { grid-template-columns: 1fr; } }
.art-card { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 1px 0 var(--line-light), 0 30px 60px -42px rgba(6, 38, 28, .5); }
.art-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(140deg, var(--em-800), var(--em-950)); }
.art-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.art-card:hover .art-img img { transform: scale(1.05); }
.art-ph { display: grid; place-items: center; height: 100%; }
.art-ph .art-star { width: 46%; color: var(--gold-400); opacity: .45; stroke-width: 1; }
.art-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.art-meta { font-size: 13px; color: var(--ink-3); margin: 0; }
.art-body h3 { margin: 0; font-size: 21px; line-height: 1.5; }
.art-body h3 a { color: var(--em-900); text-decoration: none; }
.art-body h3 a:hover { color: var(--em-600); }
.art-ex { color: var(--ink-3); font-size: 15px; margin: 0; flex: 1; }
.art-pages .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.art-pages .page-numbers { min-width: 42px; height: 42px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 999px; background: #fff; color: var(--em-800); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line-light); }
.art-pages .page-numbers.current { background: var(--em-800); color: var(--gold-300); }

/* mailing list */
.newsletter.dark { padding-block: clamp(60px, 8vw, 100px); background: radial-gradient(80% 120% at 80% 0%, var(--em-700), var(--em-900) 60%); }
.nl-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
@media (max-width: 860px) { .nl-inner { grid-template-columns: 1fr; } }
.nl-text { display: flex; gap: 20px; align-items: flex-start; }
.nl-ic { flex: none; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: rgba(212, 175, 55, .14); color: var(--gold-300); box-shadow: inset 0 0 0 1px var(--line-dark); }
.nl-ic .ic { width: 30px; height: 30px; }
.nl-text h2 { margin: 0 0 6px; font-family: var(--f-display); font-size: clamp(30px, 3.6vw, 44px); line-height: 1.2; color: var(--ivory); }
html.is-rtl .nl-text h2 { font-family: var(--f-ar); }
.nl-text p { margin: 0; color: rgba(251, 247, 238, .78); }
.nl-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.nl-form input[type=email] { padding: 16px 20px; border-radius: 999px; border: 1.5px solid rgba(240, 217, 140, .35); background: rgba(251, 247, 238, .06); color: var(--ivory); font: inherit; outline: none; min-width: 0; }
.nl-form input[type=email]:focus { border-color: var(--gold-400); background: rgba(251, 247, 238, .1); }
.nl-form input::placeholder { color: rgba(251, 247, 238, .45); }
.nl-form .form-msg, .nl-form .nl-note { grid-column: 1 / -1; margin: 0; font-size: 14px; }
.nl-form .nl-note { color: rgba(251, 247, 238, .55); font-size: 13px; }
.nl-form.is-done input[type=email], .nl-form.is-done button { display: none; }
.form-msg.ok { color: #9ff0c9; }
.light .form-msg.ok { color: var(--em-600); }
.form-msg.err { color: #ffb4a8; }
.light .form-msg.err { color: #b4382a; }
@media (max-width: 480px) { .nl-form { grid-template-columns: 1fr; } }

/* share */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 26px 0; }
.share-label { font-weight: 800; font-size: 14px; color: var(--em-800); margin-inline-end: 6px; }
.share-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 0; cursor: pointer; background: #fff; color: var(--em-800); box-shadow: inset 0 0 0 1px var(--line-light), 0 8px 20px -14px rgba(6, 38, 28, .6); transition: transform .3s var(--ease), background .3s, color .3s; text-decoration: none; }
.share-btn svg { width: 19px; height: 19px; }
.share-btn:hover { transform: translateY(-3px); }
.share-whatsapp:hover { background: #25d366; color: #fff; }
.share-telegram:hover { background: #229ed9; color: #fff; }
.share-facebook:hover { background: #1877f2; color: #fff; }
.share-x:hover { background: #111; color: #fff; }
.share-linkedin:hover { background: #0a66c2; color: #fff; }
.share-email:hover, .share-copy:hover, .share-native:hover { background: var(--em-800); color: var(--gold-300); }
.share-copy.is-copied { background: var(--em-500); color: #fff; }

/* article page */
.art-hero { padding-block: calc(var(--header-h) + 60px) 60px; background: radial-gradient(90% 90% at 50% 0%, var(--em-700), var(--em-900) 60%, var(--em-950)); }
.art-hero-inner { display: grid; gap: 16px; text-align: center; justify-items: center; }
.art-crumbs { font-size: 14px; color: rgba(251, 247, 238, .65); }
.art-crumbs a { color: var(--gold-300); text-decoration: none; }
.art-title { margin: 0; color: var(--ivory); font-family: var(--f-ar); font-weight: 800; font-size: clamp(30px, 4.6vw, 54px); line-height: 1.45; text-wrap: balance; }
.art-hero .art-meta { color: rgba(251, 247, 238, .7); font-size: 14.5px; }
.art-wrap { padding-block: 10px 60px; }
.art-cover { margin: -10px 0 0; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -50px rgba(6, 38, 28, .8); }
.art-cover img { width: 100%; height: auto; display: block; }
.art-content { font-size: 19px; line-height: 2; font-family: var(--f-ar); }
.art-content img { border-radius: 16px; height: auto; }
.art-content blockquote { margin: 1.4em 0; padding: 18px 24px; border-inline-start: 4px solid var(--gold-500); background: var(--ivory-2); border-radius: 12px; }
.art-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.art-tags a { padding: 6px 14px; border-radius: 999px; background: var(--ivory-2); color: var(--em-800); text-decoration: none; font-size: 14px; }
.art-share-end { margin-top: 40px; padding: 26px; border-radius: 22px; background: var(--ivory-2); text-align: center; }
.art-share-end p { margin: 0; font-weight: 700; color: var(--em-800); }
.art-share-end .share { justify-content: center; margin: 14px 0 0; }

/* About */
.about-hero { padding-block: calc(var(--header-h) + 50px) 60px; background: radial-gradient(90% 100% at 80% 0%, var(--em-700), var(--em-900) 55%, var(--em-950)); }
.about-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
@media (max-width: 900px) { .about-hero-grid { grid-template-columns: 1fr; } }
.about-title { margin: 0 0 18px; color: var(--ivory); font-family: var(--f-display); font-size: clamp(40px, 5.4vw, 74px); line-height: 1.08; text-wrap: balance; }
html.is-rtl .about-title { font-family: var(--f-ar); font-size: clamp(32px, 4.4vw, 58px); line-height: 1.4; }
.about-lead { font-size: 19px; color: rgba(251, 247, 238, .82); max-width: 60ch; }
.about-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.about-portrait { position: relative; margin: 0; justify-self: center; width: min(420px, 100%); }
.about-arch { display: block; aspect-ratio: 100 / 124; -webkit-mask: var(--arch-mask) center / 100% 100% no-repeat; mask: var(--arch-mask) center / 100% 100% no-repeat; background: linear-gradient(180deg, #e9e6df, #cfc8b8); box-shadow: 0 50px 90px -40px #000; }
.about-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.about-portrait::before { content: ""; position: absolute; inset: -10px; -webkit-mask: var(--arch-mask) center / 100% 100% no-repeat; mask: var(--arch-mask) center / 100% 100% no-repeat; background: var(--gold-grad); z-index: -1; opacity: .9; }
.about-star { position: absolute; width: 150px; height: 150px; inset-inline-end: -46px; top: -40px; color: var(--gold-400); opacity: .55; stroke-width: 1; }
.about-portrait figcaption { position: relative; margin: -46px 16px 0; padding: 16px 20px; border-radius: 18px; background: rgba(2, 21, 16, .86); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line-dark), 0 20px 40px -20px #000; display: grid; gap: 2px; text-align: center; color: rgba(251, 247, 238, .8); font-size: 14px; }
.about-portrait figcaption strong { color: var(--ivory); font-size: 19px; }
.about-role { color: var(--gold-300); font-weight: 800; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; }
html.is-rtl .about-role { letter-spacing: 0; font-size: 14px; }
.about-stats { list-style: none; padding: 0; margin: clamp(40px, 6vw, 70px) 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .about-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.about-stats li { padding: 20px; border-radius: 20px; background: rgba(251, 247, 238, .05); box-shadow: inset 0 0 0 1px var(--line-dark); display: grid; gap: 4px; }
.about-stats b { font-family: var(--f-display); font-size: clamp(34px, 3.6vw, 48px); line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-stats span { font-size: 14px; color: rgba(251, 247, 238, .75); }
.about-bio { padding-block: clamp(70px, 9vw, 120px); }
.about-bio-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(26px, 5vw, 70px); align-items: start; }
@media (max-width: 860px) { .about-bio-grid { grid-template-columns: 1fr; } }
.about-bio-text p { font-size: 18.5px; color: var(--ink-2); margin: 0 0 1em; }
html.is-rtl .about-bio-text p { font-size: 19px; line-height: 2; }
.about-exp, .about-vision { padding-block: clamp(70px, 9vw, 120px); }
.exp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
@media (max-width: 900px) { .exp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .exp-grid { grid-template-columns: 1fr; } }
.exp-card { padding: 28px 26px; border-radius: 24px; background: rgba(251, 247, 238, .04); box-shadow: inset 0 0 0 1px var(--line-dark); transition: background .4s, transform .5s var(--ease); }
.exp-card:hover { background: rgba(251, 247, 238, .08); transform: translateY(-4px); }
.exp-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(212, 175, 55, .14); color: var(--gold-300); margin-bottom: 14px; }
.exp-ic .ic { width: 26px; height: 26px; }
.exp-card h3 { margin: 0 0 8px; color: var(--ivory); font-size: 21px; }
.exp-card p { margin: 0; color: rgba(251, 247, 238, .74); font-size: 15.5px; }
.about-path { padding-block: clamp(70px, 9vw, 120px); }
.about-path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); }
@media (max-width: 900px) { .about-path-grid { grid-template-columns: 1fr; } }
.about-path .sec-title { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 26px; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; inset-inline-start: 39px; width: 2px; background: linear-gradient(var(--em-500), rgba(35, 133, 100, .1)); }
.timeline--gold::before { background: linear-gradient(var(--gold-500), rgba(212, 175, 55, .1)); }
.timeline li { position: relative; display: grid; grid-template-columns: 80px 1fr; gap: 18px; padding-bottom: 26px; }
.tl-year { justify-self: center; z-index: 1; padding: 6px 10px; border-radius: 999px; background: var(--em-800); color: var(--gold-300); font-weight: 800; font-size: 13px; white-space: nowrap; height: fit-content; }
.timeline--gold .tl-year { background: var(--gold-500); color: var(--em-950); }
.timeline h3 { margin: 0 0 4px; font-size: 19px; color: var(--em-900); }
.timeline p { margin: 0; color: var(--ink-3); font-size: 15.5px; }
.values-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .values-grid { grid-template-columns: 1fr; } }
.value { padding: 26px; border-radius: 22px; background: linear-gradient(170deg, rgba(212, 175, 55, .1), rgba(251, 247, 238, .02)); box-shadow: inset 0 0 0 1px var(--line-dark); }
.value-ic { color: var(--gold-400); }
.value-ic .ic { width: 30px; height: 30px; }
.value h3 { margin: 10px 0 6px; color: var(--ivory); font-size: 19px; }
.value p { margin: 0; color: rgba(251, 247, 238, .72); font-size: 15px; }
.about-roles { padding-block: clamp(70px, 9vw, 120px); }
.roles-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .roles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .roles-grid { grid-template-columns: 1fr; } }
.role { padding: 26px; border-radius: 22px; background: #fff; box-shadow: 0 1px 0 var(--line-light), 0 26px 50px -38px rgba(6, 38, 28, .55); }
.role-n { font-family: var(--f-display); font-size: 40px; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.role h3 { margin: 10px 0 6px; font-size: 19px; color: var(--em-900); }
.role p { margin: 0; color: var(--ink-3); font-size: 15px; }
.about-quote { padding-block: clamp(70px, 9vw, 110px); text-align: center; }
.quote-star { width: 64px; height: 64px; color: var(--gold-400); stroke-width: 1.2; }
.about-quote blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.45; color: var(--ivory); }
html.is-rtl .about-quote blockquote { font-family: var(--f-ar); font-weight: 700; font-size: clamp(22px, 2.8vw, 32px); line-height: 1.9; }
.about-quote cite { font-style: normal; color: var(--gold-300); font-size: 14px; letter-spacing: .1em; }

/* Contact */
.contact { padding-block: clamp(60px, 8vw, 110px); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(22px, 4vw, 50px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-side { display: grid; gap: 14px; }
.c-card { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: 20px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 1px 0 var(--line-light), 0 24px 50px -40px rgba(6, 38, 28, .6); }
.c-card > span:last-child { display: grid; gap: 2px; font-size: 15px; color: var(--ink-3); }
.c-card b { color: var(--em-900); font-size: 16.5px; }
.c-ic { flex: none; width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--em-800); color: var(--gold-300); }
.c-ic .ic { width: 24px; height: 24px; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.c-links { display: grid; gap: 4px; padding: 10px 6px; }
.c-links a { display: flex; justify-content: space-between; align-items: center; padding: 10px 6px; color: var(--em-800); text-decoration: none; font-weight: 700; border-bottom: 1px solid var(--line-light); }
.c-links .ic { width: 16px; height: 16px; }
html[dir="rtl"] .c-links .ic { transform: scaleX(-1); }
.c-form { padding: clamp(24px, 3.4vw, 40px); border-radius: 28px; background: #fff; box-shadow: 0 1px 0 var(--line-light), 0 40px 80px -50px rgba(6, 38, 28, .7); display: grid; gap: 18px; }
.c-form h2 { margin: 0; font-family: var(--f-display); font-size: 34px; color: var(--em-900); }
html.is-rtl .c-form h2 { font-family: var(--f-ar); font-size: 28px; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .f-grid { grid-template-columns: 1fr; } }
.f { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--em-800); }
.f.full { grid-column: 1 / -1; }
.f input, .f select, .f textarea { font: inherit; font-weight: 400; color: var(--ink); padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--ivory-3); background: var(--ivory); outline: none; width: 100%; transition: border-color .2s, background .2s; }
.f textarea { resize: vertical; min-height: 140px; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--em-500); background: #fff; }
.f .is-invalid, .c-form .is-invalid { border-color: #c8553d !important; }
.f-err { color: #b4382a; font-size: 13px; font-weight: 600; }
.f-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.f-check input { margin-top: 5px; accent-color: var(--em-600); }
.f-note { margin: 0; font-size: 13.5px; color: var(--ink-3); }
.c-form.is-busy { opacity: .75; }
.c-form .btn { justify-self: start; }

/* Pricing */
.pricing { padding-block: clamp(60px, 8vw, 110px); }
.price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
@media (max-width: 1080px) { .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px 26px; border-radius: 26px; background: #fff; box-shadow: 0 1px 0 var(--line-light), 0 30px 60px -44px rgba(6, 38, 28, .7); }
.price-card.is-pop { background: linear-gradient(170deg, var(--em-800), var(--em-950)); color: var(--ivory); box-shadow: 0 40px 80px -40px rgba(6, 38, 28, .9), inset 0 0 0 1.5px var(--gold-500); }
.price-tag { position: absolute; top: -13px; inset-inline-start: 24px; padding: 4px 14px; border-radius: 999px; background: var(--gold-grad); color: var(--em-950); font-size: 12.5px; font-weight: 800; }
.price-card h2 { margin: 0; font-family: var(--f-display); font-size: 32px; color: var(--em-900); }
html.is-rtl .price-card h2 { font-family: var(--f-ar); font-size: 26px; }
.price-card.is-pop h2 { color: var(--gold-300); }
.price-sub { margin: 0; color: var(--ink-3); font-size: 14.5px; }
.is-pop .price-sub { color: rgba(251, 247, 238, .72); }
.price-amt { margin: 6px 0 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-amt b { font-family: var(--f-display); font-size: 52px; line-height: 1; color: var(--em-900); }
.is-pop .price-amt b { color: var(--ivory); }
.price-amt s { color: var(--ink-3); font-size: 18px; }
.price-amt span { color: var(--ink-3); font-size: 14px; }
.is-pop .price-amt span, .is-pop .price-amt s { color: rgba(251, 247, 238, .6); }
.price-save { margin: 0; font-weight: 800; color: var(--em-600); font-size: 14px; }
.is-pop .price-save { color: var(--gold-300); }
.price-card ul { list-style: none; padding: 0; margin: 10px 0 18px; display: grid; gap: 8px; font-size: 15px; flex: 1; }
.price-card li { padding-inline-start: 24px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--em-500); font-weight: 800; }
.is-pop li::before { color: var(--gold-400); }
.price-alt { margin-top: clamp(40px, 6vw, 70px); padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: var(--ivory-2); display: grid; grid-template-columns: 1.4fr auto; gap: 24px; align-items: center; }
@media (max-width: 760px) { .price-alt { grid-template-columns: 1fr; } }
.price-alt h2 { margin: 0 0 6px; color: var(--em-900); font-size: 26px; }
.price-alt p { margin: 0; color: var(--ink-2); }
.price-alt-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.price-note { text-align: center; color: var(--ink-3); font-size: 14px; margin-top: 30px; }
.events-home { padding-block: clamp(70px, 9vw, 120px); }
