/**
 * al Hady Developments — main stylesheet
 * Cinematic navy + gold + cream luxury real-estate system.
 *
 * @package alHady
 */

/* =========================================================
   1. Fonts — thmanyah serif (Latin + Arabic, one family)
   ========================================================= */
@font-face {
	font-family: "Thmanyah";
	src: url("../fonts/thmanyah-light.woff2") format("woff2");
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Thmanyah";
	src: url("../fonts/thmanyah-regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Thmanyah";
	src: url("../fonts/thmanyah-medium.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Thmanyah";
	src: url("../fonts/thmanyah-bold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Thmanyah";
	src: url("../fonts/thmanyah-black.woff2") format("woff2");
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

/* =========================================================
   2. Design tokens
   ========================================================= */
:root {
	/* Brand colours — overridden by dynamic-css.php / Customizer */
	--navy: #0E2148;
	--navy-deep: #0A1A38;
	--navy-2: #1b3057;
	--navy-3: #2a3f66;
	--navy-rgb: 14, 33, 72;
	--gold: #B69369;
	--gold-soft: #c8aa86;
	--gold-deep: #957857;
	--gold-rgb: 182, 147, 105;
	--cream: #EFE9D1;
	--ivory: #f6f2e3;

	/* Neutrals */
	--ink: #11161f;
	--body: #43474f;
	--muted: #6c717b;
	--line: #e7e3d8;
	--paper: #ffffff;
	--paper-2: #faf8f2;

	/* Type */
	--serif: "Thmanyah", "Times New Roman", "Amiri", serif;

	/* Spacing scale */
	--space-section: clamp(4.5rem, 9vw, 9rem);
	--container: 1240px;
	--gutter: clamp(1.25rem, 4vw, 3rem);

	/* Radii + shadows */
	--r-sm: 6px;
	--r: 14px;
	--r-lg: 22px;
	--shadow-sm: 0 4px 20px rgba(var(--navy-rgb), 0.07);
	--shadow: 0 22px 60px -24px rgba(var(--navy-rgb), 0.32);
	--shadow-gold: 0 18px 44px -18px rgba(var(--gold-rgb), 0.55);

	/* Motion */
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--t: 0.4s var(--ease);
	--t-fast: 0.22s var(--ease);
}

/* =========================================================
   3. Reset / base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(1rem, 0.97rem + 0.2vw, 1.0625rem);
	line-height: 1.75;
	color: var(--body);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
ul { list-style: none; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.12; font-weight: 500; color: var(--navy); letter-spacing: -0.01em; }
::selection { background: var(--gold); color: #fff; }

/* Accessibility helpers */
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link {
	position: fixed; top: -100px; left: 16px; z-index: 999;
	background: var(--navy); color: #fff; padding: 12px 20px;
	border-radius: var(--r-sm); transition: top var(--t-fast);
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* =========================================================
   4. Layout primitives
   ========================================================= */
.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.section { padding-block: var(--space-section); }
.section--dark {
	position: relative;
	padding-block: var(--space-section);
	background: var(--navy);
	color: rgba(255, 255, 255, 0.82);
	overflow: hidden;
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

/* =========================================================
   5. Typography helpers
   ========================================================= */
.eyebrow {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--gold-deep);
	position: relative;
	padding-inline-start: 2.6rem;
	margin-bottom: 1.1rem;
}
.eyebrow::before {
	content: "";
	position: absolute;
	inset-inline-start: 0; top: 50%;
	width: 2rem; height: 2px;
	background: var(--gold);
	transform: translateY(-50%) skewX(-24deg);
}
.section--dark .eyebrow { color: var(--gold-soft); }

.h-ar, .section-head__ar, .hero__ar, .vision__ar, .soon__ar {
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.4;
}
.h-ar { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3rem); color: var(--navy); }
.h-en {
	font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem);
	font-weight: 400; color: var(--gold-deep);
	letter-spacing: 0.04em; margin-top: 0.35rem;
}
.lead {
	font-size: 1.08rem; color: var(--body);
	margin-top: 1.4rem; max-width: 52ch; font-weight: 300;
}

.link-arrow {
	display: inline-flex; align-items: center; gap: 0.5rem;
	margin-top: 1.8rem; font-weight: 500; color: var(--navy);
	letter-spacing: 0.02em;
}
.link-arrow svg { transition: transform var(--t-fast); }
.link-arrow:hover { color: var(--gold-deep); }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow--back { margin-top: 0; margin-bottom: 1.6rem; color: rgba(255,255,255,0.7); }
.link-arrow--back svg { transform: scaleX(-1); }
.link-arrow--back:hover { color: var(--gold-soft); }
.link-arrow--back:hover svg { transform: scaleX(-1) translateX(5px); }

/* Section heading block */
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { text-align: center; }
.section-head--center .eyebrow { padding-inline: 2.6rem; }
.section-head--center .eyebrow::before { display: none; }
.section-head--center .eyebrow::after {
	content: ""; position: absolute; left: 50%; bottom: -0.55rem;
	width: 2.4rem; height: 2px; background: var(--gold);
	transform: translateX(-50%) skewX(-24deg);
}
.section-head__ar { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); }
.section-head__en {
	font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.8rem);
	color: var(--gold-deep); font-weight: 400; margin-top: 0.3rem;
}
.section--dark .section-head__en { color: var(--gold-soft); }

/* =========================================================
   6. Buttons
   ========================================================= */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	gap: 0.55rem;
	min-height: 52px;
	padding: 0 2rem;
	font-weight: 500; font-size: 0.98rem; letter-spacing: 0.04em;
	border-radius: 999px;
	border: 1.5px solid transparent;
	transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
	white-space: nowrap;
}
.btn svg { transition: transform var(--t-fast); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }

.btn--gold { background: var(--gold); color: #fff; box-shadow: var(--shadow-gold); }
.btn--gold:hover { background: var(--gold-deep); transform: translateY(-2px); }

.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); transform: translateY(-2px); }

.btn--ghost { background: transparent; border-color: rgba(255,255,255,0.55); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.btn--ghost-dark { background: transparent; border-color: rgba(var(--navy-rgb), 0.25); color: var(--navy); }
.btn--ghost-dark:hover { border-color: var(--gold); color: var(--gold-deep); }

.btn--sm { min-height: 44px; padding: 0 1.4rem; font-size: 0.9rem; }
.btn--block { width: 100%; }

/* =========================================================
   7. Header
   ========================================================= */
.site-header {
	position: absolute; inset-inline: 0; top: 0; z-index: 100;
	padding-block: 1.25rem;
	transition: background var(--t), padding var(--t), box-shadow var(--t), border-color var(--t);
	border-bottom: 1px solid transparent;
}
.site-header.is-sticky { position: fixed; }
.site-header__inner { display: flex; align-items: center; gap: 2rem; }

.brand { position: relative; display: inline-flex; align-items: center; flex-shrink: 0; }
.brand__logo { height: 46px; width: auto; transition: opacity var(--t); }
.brand__logo--dark { position: absolute; inset-inline-start: 0; top: 0; opacity: 0; }

.nav { margin-inline-start: auto; }
.nav__list { display: flex; align-items: center; gap: 2.1rem; }
.nav__list a {
	position: relative; color: rgba(255,255,255,0.86);
	font-weight: 400; font-size: 1rem; letter-spacing: 0.02em;
	padding-block: 0.4rem;
}
.nav__list a::after {
	content: ""; position: absolute; inset-inline: 0; bottom: 0;
	height: 1.5px; background: var(--gold);
	transform: scaleX(0); transform-origin: inline-start;
	transition: transform var(--t-fast);
}
.nav__list a:hover, .nav__list .current-menu-item > a { color: #fff; }
.nav__list a:hover::after, .nav__list .current-menu-item > a::after { transform: scaleX(1); }

.site-header__actions { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.nav .menu-item-has-children > a::before { content: none; }

/* Scrolled state — solid cream bar, navy logo, navy nav text */
.site-header.is-scrolled {
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	padding-block: 0.7rem;
	box-shadow: 0 10px 40px -22px rgba(var(--navy-rgb), 0.4);
	border-bottom-color: var(--line);
}
.site-header.is-scrolled .brand__logo { height: 40px; }
.site-header.is-scrolled .brand__logo--light { opacity: 0; }
.site-header.is-scrolled .brand__logo--dark { opacity: 1; }
.site-header.is-scrolled .nav__list a { color: var(--navy); }
.site-header.is-scrolled .nav__list a:hover { color: var(--gold-deep); }
.site-header.is-scrolled .nav-toggle span { background: var(--navy); }

/* Hamburger */
.nav-toggle {
	display: none;
	width: 46px; height: 46px;
	flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
	display: block; width: 24px; height: 2px; background: #fff;
	transition: transform var(--t-fast), opacity var(--t-fast);
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.nav-open .site-header .nav-toggle span { background: var(--navy); }

/* =========================================================
   8. Mobile nav drawer
   ========================================================= */
.mobile-nav {
	position: fixed; inset: 0; z-index: 95;
	background: var(--navy-deep);
	padding: 6.5rem var(--gutter) 2.5rem;
	display: flex; flex-direction: column;
	opacity: 0; visibility: hidden;
	transform: translateY(-12px);
	transition: opacity var(--t), transform var(--t), visibility var(--t);
	overflow-y: auto;
}
.mobile-nav[hidden] { display: flex; }
body.nav-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
.mobile-nav__inner { display: flex; flex-direction: column; gap: 1.5rem; }
.mobile-nav__list { display: flex; flex-direction: column; gap: 0.4rem; }
.mobile-nav__list a {
	display: block; color: #fff; font-size: 1.6rem; font-weight: 400;
	padding-block: 0.6rem; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav__list a:hover { color: var(--gold-soft); padding-inline-start: 0.5rem; }
.mobile-nav__list .sub-menu { padding-inline-start: 1rem; }
.mobile-nav__list .sub-menu a { font-size: 1.15rem; }
.mobile-nav__social { display: flex; gap: 1rem; margin-top: 1rem; }
.mobile-nav__social a {
	width: 46px; height: 46px; display: grid; place-items: center;
	border: 1px solid rgba(255,255,255,0.18); border-radius: 50%; color: #fff;
	transition: background var(--t-fast), border-color var(--t-fast);
}
.mobile-nav__social a:hover { background: var(--gold); border-color: var(--gold); }

/* =========================================================
   9. Hero
   ========================================================= */
.hero {
	position: relative;
	min-height: 100svh;
	display: flex; align-items: center;
	padding-block: 8rem 4rem;
	color: #fff; overflow: hidden;
	background: var(--navy);
}
.hero__bg { position: absolute; inset: -8% 0 0; z-index: 0; will-change: transform; }
.hero__video, .hero__img { width: 100%; height: 116%; object-fit: cover; }
.hero--gradient {
	background:
		radial-gradient(120% 90% at 78% 8%, var(--navy-3) 0%, transparent 55%),
		linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 48%, #060f24 100%);
}
.hero--gradient::after {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: radial-gradient(70% 55% at 50% 120%, rgba(var(--gold-rgb),0.16), transparent 70%);
}
.hero__scrim {
	position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(180deg, rgba(8,18,40,0.55) 0%, rgba(8,18,40,0.25) 40%, rgba(8,18,40,0.78) 100%);
}
.hero--gradient .hero__scrim { background: none; }
.hero__inner { position: relative; z-index: 2; max-width: 940px; }

.hero__badge {
	display: inline-block; font-size: 0.78rem; letter-spacing: 0.34em;
	text-transform: uppercase; color: var(--gold-soft);
	border: 1px solid rgba(var(--gold-rgb), 0.4);
	padding: 0.6rem 1.4rem; border-radius: 999px; margin-bottom: 1.8rem;
	backdrop-filter: blur(4px);
}
.hero__ar {
	font-size: clamp(2.6rem, 1.8rem + 5vw, 5.6rem);
	font-weight: 500; line-height: 1.18; color: var(--cream);
	margin-bottom: 0.6rem;
}
.hero__en {
	font-size: clamp(1.3rem, 1rem + 1.6vw, 2.4rem);
	font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase;
	color: #fff; margin-bottom: 1.4rem;
}
.hero__text {
	font-size: 1.1rem; font-weight: 300; max-width: 56ch;
	color: rgba(255,255,255,0.8); margin-bottom: 2.4rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__scroll {
	position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
	z-index: 3; width: 26px; height: 44px;
	border: 1.5px solid rgba(255,255,255,0.4); border-radius: 999px;
	display: grid; place-items: start center; padding-top: 8px;
}
.hero__scroll-line { width: 3px; height: 8px; border-radius: 2px; background: var(--gold-soft); animation: scrollcue 1.8s var(--ease) infinite; }
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* =========================================================
   10. About
   ========================================================= */
.about__grid {
	display: grid; grid-template-columns: 1fr 1.05fr;
	gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.about__media { position: relative; }
.about__media img {
	width: 100%; border-radius: var(--r-lg);
	box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover;
}
.about__placeholder {
	aspect-ratio: 4 / 5; border-radius: var(--r-lg);
	background:
		radial-gradient(120% 80% at 80% 10%, var(--navy-2), transparent 60%),
		linear-gradient(160deg, var(--navy), var(--navy-deep));
	display: grid; place-items: center; box-shadow: var(--shadow);
}
.about__placeholder-logo { width: 58%; opacity: 0.85; }
.about__accent {
	position: absolute; inset-inline-end: -18px; bottom: -18px;
	width: 58%; height: 58%; z-index: -1; border-radius: var(--r-lg);
	border: 2px solid var(--gold); opacity: 0.55;
}
.about__body { max-width: 56ch; }

/* =========================================================
   11. Vision (dark key-art section)
   ========================================================= */
.vision {
	position: relative; color: #fff;
	padding-block: clamp(6rem, 12vw, 11rem);
	background: var(--navy-deep);
}
.vision::before {
	content: ""; position: absolute; inset: 0; z-index: 0;
	background-image: var(--vision-bg, none);
	background-size: cover; background-position: center; opacity: 0.4;
}
.vision__overlay {
	position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(180deg, rgba(8,16,36,0.7), rgba(8,16,36,0.92));
}
.vision__mark {
	position: absolute; inset-inline-end: -4%; bottom: -6%; z-index: 1;
	width: min(38%, 360px); opacity: 0.06; pointer-events: none;
}
.vision__inner { position: relative; z-index: 2; text-align: center; max-width: 820px; margin-inline: auto; }
.vision__ar { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.9rem); margin-bottom: 0.5rem; color: var(--cream); }
.vision__en {
	font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem);
	letter-spacing: 0.16em; text-transform: uppercase; color: #fff;
	margin-bottom: 2.6rem;
}
.vision__plate { position: relative; display: inline-block; padding: 1.6rem 2.4rem; }
.vision__plate::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: var(--gold); opacity: 0.92;
	transform: skewX(-11deg); border-radius: 4px;
	box-shadow: var(--shadow-gold);
}
.vision__plate-eyebrow {
	display: block; font-size: 0.95rem; letter-spacing: 0.28em;
	text-transform: uppercase; font-weight: 500; color: #fff;
}
.vision__text { color: rgba(255,255,255,0.85); margin-top: 1.6rem; font-weight: 300; }

/* =========================================================
   12. Why — values grid
   ========================================================= */
.why { background: var(--paper-2); }
.why__grid {
	display: grid; grid-template-columns: repeat(4, 1fr);
	gap: 1.4rem;
}
.why__card {
	background: #fff; border: 1px solid var(--line);
	border-radius: var(--r); padding: 2.2rem 1.8rem;
	transition: transform var(--t), box-shadow var(--t), border-color var(--t);
	transition-delay: var(--d, 0s);
}
.why__card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.why__icon {
	display: inline-grid; place-items: center;
	width: 60px; height: 60px; border-radius: 16px;
	background: linear-gradient(150deg, rgba(var(--gold-rgb),0.16), rgba(var(--gold-rgb),0.04));
	color: var(--gold-deep); margin-bottom: 1.4rem;
}
.why__title { font-size: 1.25rem; margin-bottom: 0.6rem; }
.why__text { font-size: 0.98rem; color: var(--muted); font-weight: 300; }

/* =========================================================
   13. Stats
   ========================================================= */
.stats { background: var(--navy); }
.stats__grid {
	display: grid; grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem; text-align: center;
}
.stats__item { position: relative; padding: 0.5rem; }
.stats__item:not(:last-child)::after {
	content: ""; position: absolute; inset-inline-end: 0; top: 18%;
	height: 64%; width: 1px; background: rgba(255,255,255,0.12);
}
.stats__num {
	display: block; font-size: clamp(2.6rem, 2rem + 2vw, 3.8rem);
	font-weight: 500; color: var(--gold-soft); line-height: 1;
}
.stats__label {
	display: block; margin-top: 0.7rem; font-size: 0.92rem;
	letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.7);
}

/* =========================================================
   14. Projects
   ========================================================= */
.projects__grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem;
}
.projects__more { text-align: center; margin-top: 3rem; }
.projects__empty { text-align: center; color: var(--muted); font-size: 1.1rem; }

.pcard { position: relative; }
.pcard__link { display: block; }
.pcard__media {
	position: relative; aspect-ratio: 3 / 3.6; overflow: hidden;
	border-radius: var(--r); background: var(--navy);
}
.pcard__media img {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform 0.7s var(--ease);
}
.pcard__link:hover .pcard__media img { transform: scale(1.06); }
.pcard__placeholder {
	width: 100%; height: 100%; display: grid; place-items: center;
	background: linear-gradient(160deg, var(--navy), var(--navy-deep));
}
.pcard__placeholder-logo { width: 56%; opacity: 0.7; }
.pcard__shade {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, transparent 45%, rgba(8,16,36,0.78) 100%);
}
.pcard__status {
	position: absolute; inset-block-start: 1rem; inset-inline-start: 1rem; z-index: 2;
	font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
	font-weight: 500; color: #fff; padding: 0.4rem 0.9rem;
	border-radius: 999px; backdrop-filter: blur(4px);
	background: rgba(var(--navy-rgb), 0.7);
}
.pcard__status--coming-soon { background: var(--gold); }
.pcard__status--now-selling { background: #2e7d57; }
.pcard__status--under-construction { background: #b07d2b; }
.pcard__status--delivered { background: var(--navy-2); }
.pcard__status--sold-out { background: #7a2e2e; }

.pcard__body { padding-top: 1.2rem; }
.pcard__sub { display: block; font-size: 1.05rem; color: var(--gold-deep); margin-bottom: 0.25rem; }
.pcard__title { font-size: 1.4rem; color: var(--navy); transition: color var(--t-fast); }
.pcard__link:hover .pcard__title { color: var(--gold-deep); }
.pcard__loc {
	display: inline-flex; align-items: center; gap: 0.4rem;
	margin-top: 0.5rem; font-size: 0.92rem; color: var(--muted);
}
.pcard__loc svg { color: var(--gold); }
.pcard__cta {
	display: inline-flex; align-items: center; gap: 0.45rem;
	margin-top: 1rem; font-size: 0.9rem; font-weight: 500;
	letter-spacing: 0.06em; color: var(--navy);
}
.pcard__cta svg { transition: transform var(--t-fast); }
.pcard__link:hover .pcard__cta { color: var(--gold-deep); }
.pcard__link:hover .pcard__cta svg { transform: translateX(4px); }

/* =========================================================
   15. Coming soon banner
   ========================================================= */
.soon { position: relative; color: #fff; text-align: center; padding-block: clamp(5rem, 10vw, 8.5rem); background: var(--navy); }
.soon::before {
	content: ""; position: absolute; inset: 0; z-index: 0;
	background-image: var(--soon-bg, none); background-size: cover; background-position: center;
	opacity: 0.42;
}
.soon__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,16,36,0.6), rgba(8,16,36,0.9)); }
.soon__inner { position: relative; z-index: 2; max-width: 760px; margin-inline: auto; }
.soon__tag {
	display: inline-block; font-size: 0.78rem; letter-spacing: 0.34em;
	text-transform: uppercase; color: var(--navy); background: var(--gold);
	padding: 0.5rem 1.3rem; border-radius: 999px; margin-bottom: 1.6rem; font-weight: 500;
}
.soon__ar { font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); color: var(--cream); margin-bottom: 0.4rem; }
.soon__en { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.9rem); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.4rem; }
.soon__text { color: rgba(255,255,255,0.82); font-weight: 300; margin-bottom: 2.2rem; }

/* =========================================================
   16. Contact
   ========================================================= */
.contact { background: var(--paper-2); }
.contact__grid {
	display: grid; grid-template-columns: 1fr 1.1fr;
	gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.contact__list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.4rem; }
.contact__list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__ic {
	flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px;
	display: grid; place-items: center; color: var(--gold-deep);
	background: rgba(var(--gold-rgb), 0.1);
}
.contact__list div { display: flex; flex-direction: column; }
.contact__k { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.contact__v { font-size: 1.05rem; color: var(--navy); font-weight: 400; }
a.contact__v:hover { color: var(--gold-deep); }

.contact__quick { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 2.2rem; }
.contact__social {
	width: 44px; height: 44px; display: grid; place-items: center;
	border: 1px solid var(--line); border-radius: 50%; color: var(--navy);
	transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.contact__social:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

.contact__form-wrap {
	background: #fff; border: 1px solid var(--line);
	border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.6rem);
	box-shadow: var(--shadow-sm);
}
.contact__form { display: flex; flex-direction: column; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
	width: 100%; padding: 0.85rem 1rem;
	border: 1.5px solid var(--line); border-radius: var(--r-sm);
	background: var(--paper-2); color: var(--ink); transition: border-color var(--t-fast), background var(--t-fast);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
	outline: none; border-color: var(--gold); background: #fff;
}
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.contact__feedback { font-size: 0.95rem; min-height: 1.2em; text-align: center; }
.contact__feedback.is-ok { color: #2e7d57; }
.contact__feedback.is-err { color: #b3403a; }

.contact__map { margin-top: clamp(2.5rem, 5vw, 4rem); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.contact__map iframe { display: block; filter: grayscale(0.2) contrast(1.05); }

/* =========================================================
   17. Footer
   ========================================================= */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.7); padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.site-footer__widgets {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 2rem; padding-bottom: 3rem; margin-bottom: 3rem;
	border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-footer__grid {
	display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 2.5rem;
	padding-bottom: 3rem;
}
.footer-logo__img { height: 52px; width: auto; margin-bottom: 1.4rem; }
.site-footer__about { max-width: 42ch; font-weight: 300; font-size: 0.98rem; }
.site-footer__social { display: flex; gap: 0.7rem; margin-top: 1.6rem; }
.site-footer__social a {
	width: 42px; height: 42px; display: grid; place-items: center;
	border: 1px solid rgba(255,255,255,0.16); border-radius: 50%; color: #fff;
	transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.site-footer__social a:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-3px); }
.site-footer__title { color: #fff; font-size: 1.05rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.3rem; }
.site-footer__menu li, .site-footer__contact li { margin-bottom: 0.8rem; }
.site-footer__menu a:hover { color: var(--gold-soft); padding-inline-start: 4px; }
.site-footer__contact li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.98rem; }
.site-footer__contact svg { color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.site-footer__contact a:hover { color: var(--gold-soft); }
.site-footer__bottom {
	display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
	padding-block: 1.8rem; border-top: 1px solid rgba(255,255,255,0.08);
	font-size: 0.88rem; color: rgba(255,255,255,0.55);
}
.site-footer__by { letter-spacing: 0.08em; }

/* =========================================================
   18. Back-to-top
   ========================================================= */
.to-top {
	position: fixed; inset-block-end: 1.6rem; inset-inline-end: 1.6rem; z-index: 90;
	width: 52px; height: 52px; border-radius: 50%;
	background: var(--gold); color: #fff; display: grid; place-items: center;
	box-shadow: var(--shadow-gold);
	opacity: 0; visibility: hidden; transform: translateY(14px);
	transition: opacity var(--t), transform var(--t), visibility var(--t), background var(--t-fast);
}
.to-top svg { transform: rotate(180deg); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold-deep); }

/* =========================================================
   19. Single project / page / blog
   ========================================================= */
.page-head { padding-block: clamp(7rem, 12vw, 10rem) clamp(3rem, 6vw, 4.5rem); text-align: center; background: linear-gradient(160deg, var(--navy), var(--navy-deep)); }
.page-head--sm { padding-block: clamp(7rem, 11vw, 9rem) clamp(2.5rem, 5vw, 3.5rem); }
.page-head__title { font-size: clamp(2.2rem, 1.6rem + 3vw, 4rem); color: #fff; }
.page-head__title span { color: var(--gold-soft); }

.psingle-hero { min-height: 72vh; display: flex; align-items: flex-end; padding-block: 9rem 3.5rem; position: relative; }
.psingle-hero__bg { position: absolute; inset: 0; z-index: 0; }
.psingle-hero__bg img, .psingle-hero__video { width: 100%; height: 100%; object-fit: cover; }
.psingle-hero__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,16,36,0.5), rgba(8,16,36,0.88)); }
.psingle-hero__inner { position: relative; z-index: 2; }
.psingle-hero .pcard__status { position: static; display: inline-block; margin-bottom: 1rem; }
.psingle-hero__sub { display: block; font-size: 1.3rem; color: var(--gold-soft); margin-bottom: 0.4rem; }
.psingle-hero__title { font-size: clamp(2.2rem, 1.6rem + 3vw, 4.2rem); color: #fff; max-width: 18ch; }

.psingle__grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.psingle__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; }
.psingle__gallery-item { border-radius: var(--r); overflow: hidden; }
.psingle__gallery-item img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }

.psingle__aside { position: sticky; top: 6.5rem; }
.psingle__facts { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.8rem; }
.psingle__facts-title { font-size: 1.25rem; margin-bottom: 1.2rem; color: var(--navy); }
.psingle__facts ul { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.5rem; }
.psingle__facts li {
	display: grid; grid-template-columns: auto 1fr auto; gap: 0.7rem; align-items: center;
	padding-block: 0.7rem; border-bottom: 1px solid var(--line);
}
.psingle__facts li:last-child { border-bottom: none; }
.psingle__facts-ic { color: var(--gold-deep); display: grid; place-items: center; }
.psingle__facts-k { font-size: 0.92rem; color: var(--muted); }
.psingle__facts-v { font-weight: 500; color: var(--navy); text-align: end; }
.psingle__facts .btn { margin-top: 0.6rem; }
.psingle__map { margin-top: 3rem; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }

/* Prose */
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1.3rem; }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); margin-top: 2.5rem; }
.prose h3 { font-size: 1.4rem; margin-top: 2rem; }
.prose p, .prose li { font-weight: 300; }
.prose ul, .prose ol { padding-inline-start: 1.4rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-top: 0.5rem; }
.prose a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose img, .entry-thumb { border-radius: var(--r); margin-block: 1.5rem; }
.prose blockquote {
	border-inline-start: 3px solid var(--gold); padding-inline-start: 1.4rem;
	font-style: italic; color: var(--navy); font-size: 1.15rem;
}

/* Blog list */
.post-list { display: grid; gap: 2.5rem; max-width: 880px; margin-inline: auto; }
.post-item { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1.8rem; align-items: center; }
.post-item__media { border-radius: var(--r); overflow: hidden; }
.post-item__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.6s var(--ease); }
.post-item__media:hover img { transform: scale(1.05); }
.post-item__title { font-size: 1.5rem; margin-block: 0.4rem 0.8rem; }
.post-item__title a:hover { color: var(--gold-deep); }
.single-post__media { border-radius: var(--r-lg); overflow: hidden; margin-bottom: 2.5rem; max-width: 900px; margin-inline: auto; }

.pagination { margin-top: 3.5rem; text-align: center; }
.pagination .nav-links { display: inline-flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers {
	display: grid; place-items: center; min-width: 44px; height: 44px; padding-inline: 0.6rem;
	border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--navy);
	transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Search form */
.search-form { display: flex; gap: 0.5rem; max-width: 420px; }
.search-form .search-field { flex: 1; padding: 0.8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); }
.search-form .search-submit { padding-inline: 1.4rem; }

/* =========================================================
   20. Reveal animation
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   21. RTL adjustments
   ========================================================= */
[dir="rtl"] .eyebrow::before { transform: translateY(-50%) skewX(24deg); }
[dir="rtl"] .nav__list a::after { transform-origin: right; }
[dir="rtl"] .btn:hover svg, [dir="rtl"] .link-arrow:hover svg, [dir="rtl"] .pcard__link:hover .pcard__cta svg { transform: translateX(-4px); }
[dir="rtl"] .link-arrow svg, [dir="rtl"] .btn svg { transform: scaleX(-1); }
[dir="rtl"] .vision__plate::before { transform: skewX(11deg); }
.is-rtl body, [dir="rtl"] body { font-feature-settings: "kern"; }

/* =========================================================
   22. Responsive
   ========================================================= */
@media (max-width: 1024px) {
	.why__grid { grid-template-columns: repeat(2, 1fr); }
	.projects__grid { grid-template-columns: repeat(2, 1fr); }
	.psingle__grid { grid-template-columns: 1fr; }
	.psingle__aside { position: static; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
	.nav { display: none; }
	.nav-toggle { display: flex; }
	.header-cta { display: none; }
	.about__grid { grid-template-columns: 1fr; }
	.about__media { max-width: 460px; }
	.contact__grid { grid-template-columns: 1fr; }
	.stats__grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; }
	.stats__item:nth-child(2)::after { display: none; }
	.post-item { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
	.why__grid { grid-template-columns: 1fr; }
	.projects__grid { grid-template-columns: 1fr; }
	.field-row { grid-template-columns: 1fr; }
	.psingle__gallery { grid-template-columns: 1fr; }
	.hero { min-height: 92svh; }
	.btn { width: 100%; }
	.hero__actions .btn { width: 100%; }
	.site-footer__bottom { flex-direction: column; }
}

/* =========================================================
   23. Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
	.reveal { opacity: 1; transform: none; }
	.hero__bg { transform: none !important; }
}

/* =========================================================
   24. Project archive filters
   ========================================================= */
.archive-filters { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.archive-filter {
	padding: 0.6rem 1.4rem; border: 1.5px solid var(--line); border-radius: 999px;
	font-size: 0.92rem; letter-spacing: 0.04em; color: var(--navy);
	transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.archive-filter:hover { border-color: var(--gold); color: var(--gold-deep); }
.archive-filter.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* =========================================================
   25. 404
   ========================================================= */
.error-404 { min-height: 78vh; display: flex; align-items: center; background: linear-gradient(160deg, var(--navy), var(--navy-deep)); }
.error-404__inner { text-align: center; max-width: 620px; margin-inline: auto; }
.error-404__code { display: block; font-size: clamp(5rem, 4rem + 8vw, 9rem); font-weight: 500; color: var(--gold); line-height: 1; }
.error-404__title { color: #fff; font-size: clamp(1.6rem, 1.3rem + 1.5vw, 2.4rem); margin-block: 1rem 0.8rem; }
.error-404__text { color: rgba(255,255,255,0.75); margin-bottom: 2rem; }
.error-404__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.error-404__search { display: flex; justify-content: center; }
.error-404__search .search-form { width: 100%; max-width: 420px; }
.error-404__search .search-field { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); color: #fff; }
.error-404__search .search-field::placeholder { color: rgba(255,255,255,0.5); }

/* =========================================================
   26. Elevated layer — inner pages, editorial, prestige
   ========================================================= */

/* Inner-page hero */
.page-hero {
	position: relative; overflow: hidden;
	padding-block: clamp(8.5rem, 14vw, 13rem) clamp(3.5rem, 6vw, 5rem);
	color: #fff;
	background:
		radial-gradient(120% 100% at 82% 0%, var(--navy-3) 0%, transparent 52%),
		linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, #060f24 100%);
}
.page-hero::after {
	content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px;
	background: linear-gradient(90deg, transparent, rgba(var(--gold-rgb), 0.6), transparent);
}
.page-hero__mark {
	position: absolute; inset-inline-end: -3%; top: 50%; transform: translateY(-50%);
	width: min(34%, 340px); opacity: 0.05; pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 2; max-width: 880px; }
.page-hero__title {
	font-size: clamp(2.6rem, 1.9rem + 3.4vw, 4.6rem);
	color: #fff; line-height: 1.06; margin-top: 0.3rem;
}
.page-hero__subtitle {
	margin-top: 1rem; font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
	font-weight: 300; color: var(--gold-soft); letter-spacing: 0.04em;
}
.page-hero__rule { display: block; width: 64px; height: 2px; margin-top: 1.8rem; background: var(--gold); transform: skewX(-24deg); }

/* Breadcrumb */
.breadcrumb { display: flex; gap: 0.6rem; align-items: center; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 1.4rem; }
.breadcrumb a:hover { color: var(--gold-soft); }
.breadcrumb__sep { color: rgba(255,255,255,0.3); }
.breadcrumb__current { color: var(--gold-soft); }

.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.prose--center { margin-inline: auto; text-align: center; }
.prose--center > * + * { margin-top: 1.2rem; }

/* Editorial intro (homepage) */
.intro__grid {
	display: grid; grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.intro__body { max-width: 56ch; }
.intro__media { position: relative; }
.intro__media img, .intro__placeholder {
	width: 100%; aspect-ratio: 5 / 6; object-fit: cover;
	border-radius: 2px; box-shadow: var(--shadow);
}
.intro__placeholder {
	display: grid; place-items: center;
	background: radial-gradient(120% 80% at 80% 10%, var(--navy-2), var(--navy-deep));
}
.intro__placeholder-logo { width: 56%; opacity: 0.8; }
.intro__frame {
	position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
	border: 1px solid var(--gold); opacity: 0.5; border-radius: 2px;
}
[dir="rtl"] .intro__frame { inset: 18px 18px -18px -18px; }

/* CTA band */
.cta-band { position: relative; padding-block: clamp(4rem, 8vw, 6.5rem); background: var(--navy-deep); overflow: hidden; }
.cta-band::before {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(60% 120% at 85% 50%, rgba(var(--gold-rgb), 0.16), transparent 60%);
}
.cta-band__inner {
	position: relative; z-index: 2;
	display: flex; align-items: center; justify-content: space-between;
	gap: 2.5rem; flex-wrap: wrap;
}
.cta-band__title { font-size: clamp(1.8rem, 1.4rem + 2vw, 3rem); color: #fff; max-width: 16ch; }
.cta-band__lead { margin-top: 0.8rem; color: rgba(255,255,255,0.78); font-weight: 300; max-width: 46ch; }
.cta-band__actions { display: flex; flex-direction: column; gap: 0.9rem; min-width: 220px; }

/* Refined card frame (heritage detail) */
.pcard__media::before {
	content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
	border: 1px solid transparent; border-radius: var(--r);
	transition: border-color var(--t), inset var(--t);
}
.pcard__link:hover .pcard__media::before { border-color: rgba(var(--gold-rgb), 0.55); inset: 8px; }

/* Eyebrow refinement on dark sections / centered heads */
.page-hero .eyebrow { color: var(--gold-soft); }

/* =========================================================
   27. Project gallery slider
   ========================================================= */
.pslider { position: relative; margin-top: 2.5rem; }
.pslider__viewport { overflow: hidden; border-radius: var(--r); box-shadow: var(--shadow); }
.pslider__track { display: flex; transition: transform 0.6s var(--ease); will-change: transform; }
.pslider__slide { flex: 0 0 100%; min-width: 100%; }
.pslider__slide img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.pslider__btn {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
	width: 52px; height: 52px; border-radius: 50%;
	background: rgba(255,255,255,0.92); color: var(--navy);
	display: grid; place-items: center; box-shadow: var(--shadow-sm);
	transition: background var(--t-fast), color var(--t-fast), opacity var(--t-fast);
}
.pslider__btn:hover { background: var(--gold); color: #fff; }
.pslider__btn:disabled { opacity: 0.35; cursor: default; }
.pslider__btn--prev { inset-inline-start: 14px; }
.pslider__btn--prev svg { transform: scaleX(-1); }
.pslider__btn--next { inset-inline-end: 14px; }
[dir="rtl"] .pslider__btn--prev svg { transform: none; }
[dir="rtl"] .pslider__btn--next svg { transform: scaleX(-1); }
.pslider__dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.1rem; }
.pslider__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); transition: background var(--t-fast), transform var(--t-fast); }
.pslider__dot.is-active { background: var(--gold); transform: scale(1.25); }

@media (max-width: 560px) {
	.pslider__btn { width: 42px; height: 42px; }
	.cta-band__inner { flex-direction: column; align-items: flex-start; }
	.cta-band__actions { width: 100%; }
	.intro__grid { grid-template-columns: 1fr; }
	.intro__media { max-width: 460px; }
}

/* =========================================================
   28. Theme (dark-mode) toggle
   ========================================================= */
.theme-toggle {
	width: 44px; height: 44px; border-radius: 50%;
	display: grid; place-items: center; color: #fff;
	border: 1px solid rgba(255,255,255,0.25);
	transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.theme-toggle:hover { background: rgba(255,255,255,0.12); }
.theme-toggle__sun { display: none; }
[data-theme="dark"] .theme-toggle__moon { display: none; }
[data-theme="dark"] .theme-toggle__sun { display: inline-flex; }
.site-header.is-scrolled .theme-toggle { color: var(--navy); border-color: var(--line); }
.site-header.is-scrolled .theme-toggle:hover { background: rgba(var(--navy-rgb),0.06); }

/* =========================================================
   29. Enquiry modal (popup CTA)
   ========================================================= */
body.modal-open { overflow: hidden; }
.modal {
	position: fixed; inset: 0; z-index: 200;
	display: flex; align-items: center; justify-content: center;
	padding: 1.25rem;
}
.modal[hidden] { display: none; }
.modal__overlay {
	position: absolute; inset: 0;
	background: rgba(6, 14, 32, 0.74);
	backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
	animation: modalFade 0.3s var(--ease);
}
.modal__dialog {
	position: relative; z-index: 1;
	width: 100%; max-width: 460px;
	background: var(--surface, #fff);
	border-radius: var(--r-lg);
	padding: clamp(1.6rem, 3vw, 2.6rem);
	box-shadow: 0 40px 90px -30px rgba(0,0,0,0.6);
	border-top: 3px solid var(--gold);
	animation: modalPop 0.4s var(--ease);
	max-height: calc(100vh - 2.5rem); overflow-y: auto;
}
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalPop { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }
.modal__close {
	position: absolute; inset-block-start: 0.9rem; inset-inline-end: 0.9rem;
	width: 40px; height: 40px; border-radius: 50%;
	display: grid; place-items: center; color: var(--muted);
	transition: background var(--t-fast), color var(--t-fast);
}
.modal__close:hover { background: rgba(var(--navy-rgb),0.08); color: var(--navy); }
.modal__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: var(--heading, var(--navy)); margin-top: 0.2rem; }
.modal__lead { color: var(--muted); margin-top: 0.5rem; margin-bottom: 1.4rem; font-weight: 300; }
.modal__project {
	margin: 0 0 0.4rem; font-size: 0.9rem; color: var(--gold-deep);
	background: rgba(var(--gold-rgb),0.1); padding: 0.5rem 0.8rem; border-radius: var(--r-sm);
}
.modal .contact__form { gap: 0.9rem; }
.field__opt { color: var(--muted); font-weight: 300; text-transform: none; letter-spacing: 0; }

/* =========================================================
   30. Dark mode
   ========================================================= */
:root { --surface: #fff; --heading: var(--navy); }

[data-theme="dark"] {
	--bg: #0a1530;
	--paper: #0a1530;
	--paper-2: #0c1838;
	--surface: #101e42;
	--ink: #f3f1e9;
	--body: rgba(255,255,255,0.80);
	--muted: rgba(255,255,255,0.62);
	--line: rgba(255,255,255,0.12);
	--heading: #f3f1e9;
}
[data-theme="dark"] body { background: #0a1530; color: rgba(255,255,255,0.80); }
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3, [data-theme="dark"] h4 { color: #f3f1e9; }

/* surfaces */
[data-theme="dark"] .why { background: #0c1838; }
[data-theme="dark"] .why__card { background: #101e42; border-color: rgba(255,255,255,0.10); }
[data-theme="dark"] .why__title { color: #f3f1e9; }
[data-theme="dark"] .contact { background: #0c1838; }
[data-theme="dark"] .contact__form-wrap { background: #101e42; border-color: rgba(255,255,255,0.10); }
[data-theme="dark"] .field input, [data-theme="dark"] .field select, [data-theme="dark"] .field textarea {
	background: #0a1530; border-color: rgba(255,255,255,0.14); color: #f3f1e9;
}
[data-theme="dark"] .field input:focus, [data-theme="dark"] .field select:focus, [data-theme="dark"] .field textarea:focus { background: #0a1530; border-color: var(--gold); }
[data-theme="dark"] .contact__v, [data-theme="dark"] a.contact__v { color: #f3f1e9; }
[data-theme="dark"] .contact__social { color: #f3f1e9; border-color: rgba(255,255,255,0.16); }
[data-theme="dark"] .pcard__title { color: #f3f1e9; }
[data-theme="dark"] .pcard__cta { color: #f3f1e9; }
[data-theme="dark"] .archive-filter { color: #f3f1e9; border-color: rgba(255,255,255,0.14); }
[data-theme="dark"] .archive-filter.is-active { background: var(--gold); border-color: var(--gold); color: #0a1530; }

/* intro */
[data-theme="dark"] .btn--ghost-dark { color: #f3f1e9; border-color: rgba(255,255,255,0.25); }
[data-theme="dark"] .btn--ghost-dark:hover { border-color: var(--gold); color: var(--gold-soft); }

/* single project */
[data-theme="dark"] .psingle__facts { background: #101e42; border-color: rgba(255,255,255,0.10); }
[data-theme="dark"] .psingle__facts-title, [data-theme="dark"] .psingle__facts-v { color: #f3f1e9; }
[data-theme="dark"] .psingle__facts li { border-bottom-color: rgba(255,255,255,0.10); }
[data-theme="dark"] .pslider__btn { background: rgba(16,30,66,0.92); color: #fff; }
[data-theme="dark"] .pslider__btn:hover { background: var(--gold); }
[data-theme="dark"] .pslider__dot { background: rgba(255,255,255,0.25); }

/* prose / blog */
[data-theme="dark"] .prose blockquote { color: #f3f1e9; }
[data-theme="dark"] .prose a { color: var(--gold-soft); }
[data-theme="dark"] .pagination .page-numbers { color: #f3f1e9; border-color: rgba(255,255,255,0.14); }
[data-theme="dark"] .post-item__title a:hover { color: var(--gold-soft); }

/* scrolled header solid bar */
[data-theme="dark"] .site-header.is-scrolled { background: rgba(10,21,48,0.94); border-bottom-color: rgba(255,255,255,0.10); }
[data-theme="dark"] .site-header.is-scrolled .brand__logo--light { opacity: 1; }
[data-theme="dark"] .site-header.is-scrolled .brand__logo--dark { opacity: 0; }
[data-theme="dark"] .site-header.is-scrolled .nav__list a { color: #f3f1e9; }
[data-theme="dark"] .site-header.is-scrolled .nav__list a:hover { color: var(--gold-soft); }
[data-theme="dark"] .site-header.is-scrolled .theme-toggle { color: #f3f1e9; border-color: rgba(255,255,255,0.18); }
[data-theme="dark"] .site-header.is-scrolled .nav-toggle span { background: #f3f1e9; }
[data-theme="dark"] body.nav-open .site-header .nav-toggle span { background: #fff; }

/* modal in dark */
[data-theme="dark"] .modal__dialog { background: #101e42; }
[data-theme="dark"] .modal__close:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* cards keep subtle frame */
[data-theme="dark"] .why__card:hover { box-shadow: 0 22px 60px -24px rgba(0,0,0,0.6); }

/* =========================================================
   31. Hotline (header + mobile)
   ========================================================= */
.hotline {
	display: inline-flex; align-items: center; gap: 0.6rem;
	color: #fff; padding-inline-end: 0.4rem;
}
.hotline svg {
	flex-shrink: 0; width: 38px; height: 38px; padding: 9px;
	border-radius: 50%; color: var(--gold);
	border: 1px solid rgba(var(--gold-rgb), 0.45);
	transition: background var(--t-fast), color var(--t-fast);
}
.hotline:hover svg { background: var(--gold); color: #fff; }
.hotline__text { display: flex; flex-direction: column; line-height: 1.1; }
.hotline__label { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-soft); }
.hotline__num { font-size: 1.18rem; font-weight: 500; letter-spacing: 0.04em; }
.site-header.is-scrolled .hotline { color: var(--navy); }
.site-header.is-scrolled .hotline__label { color: var(--gold-deep); }
[data-theme="dark"] .site-header.is-scrolled .hotline { color: #f3f1e9; }

/* Mobile drawer hotline */
.mobile-nav__hotline {
	display: inline-flex; align-items: center; gap: 0.7rem;
	color: #fff; font-size: 1.15rem; margin-top: 0.4rem;
}
.mobile-nav__hotline svg { color: var(--gold); }
.mobile-nav__hotline strong { color: var(--gold-soft); letter-spacing: 0.04em; }

/* Hide the text hotline on narrow header; it lives in the drawer instead */
@media (max-width: 980px) {
	.hotline__text { display: none; }
}
@media (max-width: 860px) {
	.hotline { display: none; }
}

/* =========================================================
   32. Language switch
   ========================================================= */
.lang-switch { display: inline-flex; align-items: center; gap: 0.5rem; }
.lang-switch__btn {
	font-size: 0.92rem; font-weight: 500; letter-spacing: 0.04em;
	color: rgba(255,255,255,0.7); line-height: 1; padding: 0.2rem 0.1rem;
	transition: color var(--t-fast);
}
.lang-switch__btn.is-active { color: var(--gold-soft); }
.lang-switch__btn:hover { color: #fff; }
.lang-switch__sep { width: 1px; height: 14px; background: rgba(255,255,255,0.3); }
.lang-switch__btn[lang="ar"] { font-size: 1.15rem; }
.site-header.is-scrolled .lang-switch__btn { color: var(--muted); }
.site-header.is-scrolled .lang-switch__btn.is-active { color: var(--gold-deep); }
.site-header.is-scrolled .lang-switch__btn:hover { color: var(--navy); }
.site-header.is-scrolled .lang-switch__sep { background: var(--line); }
[data-theme="dark"] .site-header.is-scrolled .lang-switch__btn { color: rgba(255,255,255,0.7); }
[data-theme="dark"] .site-header.is-scrolled .lang-switch__btn.is-active { color: var(--gold-soft); }
.lang-switch--mobile { margin-top: 1rem; gap: 1rem; }
.lang-switch--mobile .lang-switch__btn { color: rgba(255,255,255,0.8); font-size: 1.1rem; }
.lang-switch--mobile .lang-switch__btn[lang="ar"] { font-size: 1.4rem; }
.lang-switch--mobile .lang-switch__sep { height: 18px; }

/* =========================================================
   33. Floating WhatsApp
   ========================================================= */
.wa-float {
	position: fixed; inset-block-end: 1.6rem; inset-inline-start: 1.6rem; z-index: 90;
	width: 58px; height: 58px; border-radius: 50%;
	background: #25D366; color: #fff;
	display: grid; place-items: center;
	box-shadow: 0 14px 34px -10px rgba(37,211,102,0.7);
	transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.wa-float:hover { transform: translateY(-3px) scale(1.05); color: #fff; }
.wa-float svg { position: relative; z-index: 2; }
.wa-float__pulse {
	position: absolute; inset: 0; border-radius: 50%;
	background: #25D366; z-index: 1;
	animation: waPulse 2.4s var(--ease) infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: 0.55; } 70% { transform: scale(1.7); opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wa-float__pulse { animation: none; display: none; } }
@media (max-width: 560px) {
	.wa-float { width: 52px; height: 52px; inset-block-end: 1.1rem; inset-inline-start: 1.1rem; }
	.to-top { inset-block-end: 1.1rem; inset-inline-end: 1.1rem; }
}

/* =========================================================
   34. Tablet polish (768–1024)
   ========================================================= */
@media (max-width: 1024px) and (min-width: 861px) {
	.site-header__inner { gap: 1.2rem; }
	.nav__list { gap: 1.4rem; }
	.hotline__text { display: none; }
}
@media (max-width: 900px) {
	.about__grid { gap: 2rem; }
	.intro__grid { gap: 2rem; }
}
@media (max-width: 768px) {
	:root { --space-section: clamp(3.5rem, 8vw, 5.5rem); }
	.cta-band__inner { flex-direction: column; align-items: flex-start; gap: 1.6rem; }
	.cta-band__actions { width: 100%; }
	.psingle-hero { min-height: 60vh; }
	.page-hero__mark { width: 46%; opacity: 0.06; }
}

/* =========================================================
   35. Language-aware content (single language per mode)
   ========================================================= */
.lang-ar .hero__en,
.lang-ar .h-en,
.lang-ar .section-head__en,
.lang-ar .vision__en,
.lang-ar .soon__en { display: none; }

.lang-en .hero__ar,
.lang-en .h-ar,
.lang-en .section-head__ar,
.lang-en .vision__ar,
.lang-en .soon__ar,
.lang-en .pcard__sub,
.lang-en .psingle-hero__sub { display: none; }

/* In English mode the Arabic headline slot collapses; keep rhythm tidy */
.lang-en .hero__en { margin-top: 0; }
