/* Self-hosted Google Fonts (SIL Open Font License): El Messiri + Tajawal, Arabic & Latin subsets */
@font-face {
  font-family: 'El Messiri';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/el-messiri-400-700-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'El Messiri';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/el-messiri-400-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/tajawal-400-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/tajawal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/tajawal-500-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/tajawal-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/tajawal-700-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/tajawal-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* English pages: Plus Jakarta Sans (SIL Open Font License), Latin subset */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans-400-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Majdalawi Woodworks & Decoration — مجدلاوي للصناعات الخشبية والديكور
   ========================================================================== */

:root {
  --ink: #0b0c16;
  --ink-2: #11131f;
  --ink-3: #1a1c2b;
  --line-dark: rgba(255, 255, 255, .09);
  --navy: #000080;
  --navy-soft: #1c2090;
  --orange: #ff5e00;
  --orange-2: #ff8a3d;
  --orange-ink: #b34000; /* orange for text on light backgrounds (WCAG AA) */
  --wood: #9a6a42;
  --paper: #f5f1ea;
  --paper-2: #ebe4d8;
  --line-light: rgba(20, 16, 10, .1);
  --text-dark: #1b1a22;
  --muted-dark: #57535f;
  --text-light: #eeedf3;
  --muted-light: #b0b0c2;

  --f-display: "El Messiri", "Tajawal", system-ui, sans-serif;
  --f-body: "Tajawal", system-ui, sans-serif;
  --f-ui: "Tajawal", system-ui, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(84px, 10vw, 136px);
  --section-tight: clamp(60px, 7vw, 96px);
  --head-gap: clamp(44px, 5.5vw, 72px);
  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --header-h: 84px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--text-light);
  background: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
main, .footer { overflow-x: clip; }

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
/* No letter-spacing on Arabic: it breaks the joins between connected letters. */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; line-height: 1.4; margin: 0; letter-spacing: 0; text-wrap: balance; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--orange); color: #fff; }

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

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: -60px; right: 16px; z-index: 1000; background: var(--orange); color: #fff; padding: 10px 18px; border-radius: 10px; transition: top .3s; }
.skip-link:focus { top: 16px; }

/* ---------- Sections & surfaces ---------- */
.section { position: relative; padding-block: var(--section); }
.section--paper { background: var(--paper); color: var(--text-dark); }
.section--paper-2 { background: var(--paper-2); color: var(--text-dark); }
.section--ink-2 { background: var(--ink-2); }
.section--tight { padding-block: var(--section-tight); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-ui); font-size: 16px; font-weight: 500;
  color: var(--orange); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--center { justify-content: center; }
.section--paper .eyebrow, .section--paper-2 .eyebrow,
.section--paper .link-arrow, .section--paper-2 .link-arrow { color: var(--orange-ink); }

.h-display { font-size: clamp(40px, 6.4vw, 92px); font-weight: 600; line-height: 1.3; }
.h-1 { font-size: clamp(30px, 4.2vw, 54px); font-weight: 500; line-height: 1.45; }
.h-2 { font-size: clamp(26px, 3.1vw, 40px); font-weight: 500; line-height: 1.5; }
.h-3 { font-size: clamp(20px, 1.8vw, 24px); font-weight: 500; line-height: 1.6; }
.lead { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.95; color: var(--muted-light); max-width: 60ch; }
.section--paper .lead, .section--paper-2 .lead { color: var(--muted-dark); }
.accent { color: var(--orange); }
.stroke-text { color: transparent; -webkit-text-stroke: 1.5px currentColor; }

.section-head { display: grid; gap: 14px; margin-bottom: var(--head-gap); max-width: 760px; }
.section-head .eyebrow { margin-bottom: 0; }
.section-head .lead { margin-top: 4px; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--split { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 48px; }
.section-head--split > div { display: grid; gap: 14px; max-width: 760px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--orange); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 28px; border-radius: 100px;
  background: var(--bg); color: var(--fg);
  font-family: var(--f-ui); font-size: 17px; font-weight: 500;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .5s var(--ease), box-shadow .5s var(--ease), transform .3s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink); border-radius: inherit;
  transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease);
}
.btn:hover::before { transform: scaleY(1); }
.btn:hover { box-shadow: 0 14px 40px -12px rgba(255, 94, 0, .55); }
.btn svg { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(-5px); }
.btn--ghost { --bg: transparent; --fg: var(--text-light); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); }
.btn--ghost::before { background: #fff; }
.btn--ghost:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px #fff; }
.btn--dark { --bg: var(--ink); --fg: #fff; }
.btn--dark::before { background: var(--orange); }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--light::before { background: var(--ink); }
.btn--light:hover { color: #fff; }
.btn--sm { padding: 11px 20px; font-size: 14.5px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-ui); font-weight: 500; color: var(--orange);
  background: linear-gradient(currentColor, currentColor) no-repeat right bottom / 0 1.5px;
  padding-bottom: 4px; transition: background-size .5s var(--ease);
}
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(-6px); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 999; display: grid; place-items: center;
  background: var(--ink); transition: clip-path 1s var(--ease-in-out);
  clip-path: inset(0 0 0 0);
}
.preloader.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.preloader__inner { display: grid; justify-items: center; gap: 26px; }
.preloader__logo { width: 96px; height: auto; overflow: visible; }
.preloader__logo .lo { fill: transparent; stroke: var(--orange); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s var(--ease) forwards, fillO .6s ease 1.1s forwards; }
.preloader__logo .ln { fill: transparent; stroke: #5b63ff; stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.2s var(--ease) .2s forwards, fillN .6s ease 1.1s forwards; }
.preloader__count { font-family: var(--f-ui); font-size: 13px; letter-spacing: .3em; color: var(--muted-light); }
.preloader__bar { width: 160px; height: 2px; background: var(--line-dark); border-radius: 2px; overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: right; animation: bar 1.5s var(--ease) forwards; }
.preloader--quick .preloader__logo * { animation-duration: .01s !important; animation-delay: 0s !important; }
.preloader--quick .preloader__bar span { animation-duration: .35s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fillO { to { fill: var(--orange); stroke-width: 0; } }
@keyframes fillN { to { fill: #3b44ff; stroke-width: 0; } }
@keyframes bar { to { transform: scaleX(1); } }

/* Page transition curtain */
.curtain {
  position: fixed; inset: 0; z-index: 998; pointer-events: none;
  background: var(--orange); transform: scaleY(0); transform-origin: bottom;
  transition: transform .6s var(--ease-in-out);
}
.curtain::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease-in-out) .12s; }
.curtain.is-active { transform: scaleY(1); }
.curtain.is-active::after { transform: scaleY(1); }

/* ---------- Cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 997; pointer-events: none; display: none; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor__dot { width: 6px; height: 6px; background: var(--orange); }
.cursor__ring {
  width: 38px; height: 38px; border: 1.5px solid rgba(255, 94, 0, .6);
  display: grid; place-items: center;
  transition: width .4s var(--ease), height .4s var(--ease), background-color .4s, border-color .4s;
}
.cursor__ring span { font-family: var(--f-ui); font-size: 13px; font-weight: 500; color: #fff; opacity: 0; transition: opacity .3s; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; background: rgba(255, 94, 0, .12); }
.cursor.is-view .cursor__ring { width: 88px; height: 88px; background: var(--orange); border-color: var(--orange); }
.cursor.is-view .cursor__ring span { opacity: 1; }
.cursor.is-view .cursor__dot { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor { display: block; }
}

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--header-h);
  display: flex; align-items: center;
  transition: transform .6s var(--ease), background-color .4s, backdrop-filter .4s, height .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: rgba(11, 12, 22, .78); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-color: var(--line-dark); height: 72px; }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand .logo-lockup { height: 46px; width: auto; transition: height .4s var(--ease); }
.header.is-scrolled .brand .logo-lockup { height: 40px; }
.brand .lw { fill: #fff; }
.brand .lg { fill: rgba(255, 255, 255, .62); }
.brand .ln { fill: #3b44ff; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 14px; font-family: var(--f-ui); font-size: 16.5px; font-weight: 500;
  color: rgba(255, 255, 255, .78); transition: color .3s;
}
.nav a::after {
  content: ""; position: absolute; right: 14px; left: 14px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 12px; }

/* Language switch (Arabic ⇄ English) */
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex-shrink: 0;
  height: 44px; padding: 0 16px; border-radius: 100px;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22); color: #fff;
  font-family: var(--f-ui); font-size: 14.5px; font-weight: 500; line-height: 1; white-space: nowrap;
  transition: background-color .35s, color .35s, box-shadow .35s;
}
.lang-switch svg { width: 17px; height: 17px; flex-shrink: 0; transition: transform .6s var(--ease); }
.lang-switch:hover, .lang-switch:focus-visible { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px #fff; }
.lang-switch:hover svg { transform: rotate(-20deg); }
.lang-switch[lang="en"] span { letter-spacing: .06em; }
.lang-switch[lang="ar"] span { font-family: "Tajawal", system-ui, sans-serif; font-size: 15.5px; }
.nav a { white-space: nowrap; }
/* Just above the burger breakpoint the full nav, the switch and the CTA share a narrow row: tighten the spacing */
@media (min-width: 1101px) and (max-width: 1260px) {
  .header__inner { gap: 14px; }
  .nav a { padding-inline: 9px; }
  .nav a::after { right: 9px; left: 9px; }
  .lang-switch { padding: 0 12px; }
  .header__actions .btn--sm { padding-inline: 16px; }
}

.burger { display: none; width: 48px; height: 48px; border-radius: 50%; position: relative; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22); }
.burger span { position: absolute; right: 14px; height: 2px; border-radius: 2px; background: #fff; transition: transform .5s var(--ease), width .4s var(--ease), top .4s var(--ease); }
.burger span:nth-child(1) { top: 19px; width: 20px; }
.burger span:nth-child(2) { top: 27px; width: 13px; }
.menu-open .burger span:nth-child(1) { top: 23px; width: 20px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 23px; width: 20px; transform: rotate(-45deg); }

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 80; background: var(--ink-2);
  clip-path: circle(0% at 8% 4%); visibility: hidden;
  transition: clip-path .9s var(--ease-in-out), visibility 0s linear .9s;
  /* Content starts below the header; auto margins centre it only when there is room,
     so on short screens it never rides up under the logo and simply scrolls. */
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: calc(var(--header-h) + clamp(24px, 5vh, 48px)) var(--gutter) max(32px, env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain;
}
.menu__links { margin-top: auto; }
.menu__foot { margin-bottom: auto; }
.menu-open .header { background: var(--ink-2); border-color: var(--line-dark); transform: none; }
.menu-open .menu { clip-path: circle(150% at 8% 4%); visibility: visible; transition: clip-path .9s var(--ease-in-out), visibility 0s; }
.menu__links a {
  display: flex; align-items: baseline; gap: 14px; padding: clamp(4px, 1.1vh, 10px) 0;
  font-family: var(--f-display); font-size: clamp(26px, min(7.5vw, 5.2vh), 44px); font-weight: 500; line-height: 1.5;
  opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .7s var(--ease), color .3s;
}
.menu__links a small { font-size: 13px; color: var(--orange); font-weight: 500; }
.menu__links a:hover, .menu__links a.is-active { color: var(--orange); }
.menu-open .menu__links a { opacity: 1; transform: none; }
.menu-open .menu__links li:nth-child(1) a { transition-delay: .25s; }
.menu-open .menu__links li:nth-child(2) a { transition-delay: .3s; }
.menu-open .menu__links li:nth-child(3) a { transition-delay: .35s; }
.menu-open .menu__links li:nth-child(4) a { transition-delay: .4s; }
.menu-open .menu__links li:nth-child(5) a { transition-delay: .45s; }
.menu-open .menu__links li:nth-child(6) a { transition-delay: .5s; }
.menu__foot { margin-top: clamp(24px, 4vh, 40px); padding-top: clamp(20px, 3vh, 28px); border-top: 1px solid var(--line-dark); display: grid; gap: 8px; color: var(--muted-light); font-size: 15px; opacity: 0; transition: opacity .6s .55s; }
.menu-open .menu__foot { opacity: 1; }
.menu__foot a { color: #fff; direction: ltr; text-align: right; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); }
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.18) translate3d(0, 0, 0); } to { transform: scale(1.04) translate3d(-1.5%, -1%, 0); } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(11, 12, 22, .96) 0%, rgba(11, 12, 22, .55) 38%, rgba(11, 12, 22, .2) 70%, rgba(11, 12, 22, .6) 100%),
    linear-gradient(to left, rgba(11, 12, 22, .75), transparent 65%);
}
.hero__grain { position: absolute; inset: -50%; opacity: .06; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 8s steps(10) infinite; }
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-5%, 4%); } 40% { transform: translate(4%, -6%); } 60% { transform: translate(-3%, 7%); } 80% { transform: translate(6%, -2%); } }
.hero__year {
  position: absolute; top: 14vh; left: -1vw; font-family: var(--f-display); font-weight: 700;
  font-size: clamp(120px, 24vw, 380px); line-height: 1; color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .1); pointer-events: none; user-select: none;
}
.hero__content { position: relative; z-index: 2; padding-block: calc(var(--header-h) + 40px) clamp(48px, 8vh, 96px); }
.hero__grid { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.hero__title { font-size: clamp(38px, 5.6vw, 84px); font-weight: 500; line-height: 1.35; margin-bottom: 24px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(130%); transition: transform 1.2s var(--ease); }
.is-loaded .hero__title .line > span { transform: none; }
.is-loaded .hero__title .line:nth-child(2) > span { transition-delay: .12s; }
/* Roomy clipping box so diacritics (ٌ ُ ّ) above the letters and swashes at the line edges are never cut;
   the negative margins cancel the extra room so the layout does not move. */
.hero__title .line { padding: .3em .2em .2em; margin: -.3em -.2em -.14em; }

/* Soft highlight: light peach text with a thin hand-drawn orange underline */
.hl { position: relative; display: inline-block; color: #ffd9bd; }
.hl__line { position: absolute; right: -2%; bottom: -.02em; width: 104%; height: .3em; overflow: visible; pointer-events: none; }
.hl__line path { fill: none; stroke: var(--orange); stroke-linecap: round; stroke-width: 2.5px; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .75; }
.hl__line path + path { stroke-width: 1.5px; opacity: .4; }
.is-loaded .hl__line path { animation: draw 1.2s var(--ease) 1.1s forwards; }
.is-loaded .hl__line path + path { animation-delay: 1.35s; }

.hero .eyebrow { color: rgba(255, 255, 255, .82); }
.hero .eyebrow::before { background: var(--orange); opacity: .8; }

/* Faint warm glow behind the headline */
.hero__glow {
  position: absolute; z-index: 1; pointer-events: none;
  top: 18%; right: -8%; width: min(70vw, 900px); aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 94, 0, .14) 0%, rgba(255, 94, 0, .05) 38%, transparent 68%);
  filter: blur(10px); opacity: 0; transition: opacity 2s ease .6s;
}
.is-loaded .hero__glow { opacity: 1; }
.hero__text { max-width: 580px; color: rgba(255, 255, 255, .82); font-size: clamp(16.5px, 1.35vw, 19px); line-height: 1.95; margin-bottom: 38px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__fade { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.is-loaded .hero__fade { opacity: 1; transform: none; }
.is-loaded .hero__fade.d1 { transition-delay: .35s; }
.is-loaded .hero__fade.d2 { transition-delay: .5s; }
.is-loaded .hero__fade.d3 { transition-delay: .65s; }

.hero__meta { display: grid; gap: 18px; justify-items: end; min-width: 240px; }
.hero__caption { font-family: var(--f-ui); font-size: 14px; color: rgba(255, 255, 255, .7); text-align: left; min-height: 1.5em; }
.hero__caption b { color: #fff; font-weight: 500; }
.hero__dots { display: flex; gap: 8px; direction: ltr; }
.hero__dots button { width: 42px; height: 3px; background: rgba(255, 255, 255, .22); border-radius: 3px; overflow: hidden; position: relative; }
.hero__dots button::after { content: ""; position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.hero__dots button.is-active::after { animation: dotfill 6s linear forwards; }
.hero__dots button.is-done::after { transform: scaleX(1); }
@keyframes dotfill { to { transform: scaleX(1); } }
.hero__counter { font-family: var(--f-ui); font-size: 14px; letter-spacing: .15em; direction: ltr; color: rgba(255, 255, 255, .6); }
.hero__counter b { color: #fff; font-size: 28px; font-weight: 500; letter-spacing: 0; }

.scroll-cue { position: absolute; z-index: 3; bottom: 30px; left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-size: 12px; letter-spacing: .2em; color: rgba(255, 255, 255, .6); }
.scroll-cue i { width: 1px; height: 54px; background: rgba(255, 255, 255, .2); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--orange); animation: cue 2s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; min-height: 78svh; display: flex; align-items: flex-end; overflow: hidden; }
.page-hero__bg { position: absolute; inset: -10% 0 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); animation: heroZoom 2.4s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--ink) 2%, rgba(11, 12, 22, .6) 45%, rgba(11, 12, 22, .45) 100%); }
.page-hero__content { position: relative; z-index: 2; padding-block: calc(var(--header-h) + 60px) clamp(50px, 8vh, 90px); }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: rgba(255, 255, 255, .65); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb b { font-weight: 500; color: #fff; }
.page-hero h1 { font-size: clamp(40px, 6.6vw, 92px); font-weight: 500; line-height: 1.35; }
.page-hero p { max-width: 600px; margin-top: 18px; color: rgba(255, 255, 255, .82); font-size: clamp(16.5px, 1.35vw, 19px); line-height: 1.95; }

/* ---------- Word split reveal ---------- */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .28em .14em .14em; margin: -.28em -.14em -.14em; }
[data-split] .w > span { display: inline-block; transform: translateY(135%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms + var(--d, 0ms)); }
[data-split].is-in .w > span { transform: none; }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transition: opacity 1s var(--ease), transform 1.1s var(--ease), clip-path 1.3s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal="up"] { transform: translateY(46px); }
[data-reveal="right"] { transform: translateX(-46px); }
[data-reveal="left"] { transform: translateX(46px); }
[data-reveal="scale"] { transform: scale(.92); }
[data-reveal="clip"] { opacity: 1; clip-path: inset(100% 0 0 0); }
[data-reveal="clip-side"] { opacity: 1; clip-path: inset(0 0 0 100%); }
[data-reveal].is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }

.img-zoom { overflow: hidden; }
.img-zoom img { transition: transform 1.4s var(--ease); }
[data-reveal].is-in .img-zoom img, .img-zoom[data-reveal].is-in img { animation: settle 1.8s var(--ease) both; }
@keyframes settle { from { transform: scale(1.25); } to { transform: scale(1); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--orange); color: #fff; padding-block: 22px; transform: rotate(-1.4deg); margin-block: -30px; position: relative; z-index: 3; box-shadow: 0 20px 60px -20px rgba(255, 94, 0, .5); }
.marquee--dark { background: var(--ink-3); transform: rotate(1.4deg); z-index: 2; box-shadow: none; margin-top: 4px; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee--dark .marquee__track { animation-direction: reverse; }
.marquee__track span { display: inline-flex; align-items: center; gap: 36px; padding-inline: 18px; font-family: var(--f-display); font-size: clamp(19px, 2.2vw, 30px); font-weight: 500; white-space: nowrap; }
.marquee__track span::after { content: ""; width: 12px; height: 12px; background: currentColor; transform: rotate(45deg); opacity: .6; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(50%); } }
.marquee-wrap { position: relative; overflow: hidden; padding-block: 50px; background: var(--ink); }

/* ---------- Intro / about split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split--rev > :first-child { order: 2; }
.collage { position: relative; aspect-ratio: 1 / 1.08; }
.collage__a, .collage__b { position: absolute; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(20, 14, 6, .45); }
.collage__a { inset: 0 0 18% 22%; }
.collage__b { width: 50%; aspect-ratio: 3 / 4; left: 0; bottom: 0; border: 8px solid var(--paper); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage__badge {
  position: absolute; top: 8%; left: 4%; z-index: 2;
  width: 132px; height: 132px; border-radius: 50%; background: var(--orange); color: #fff;
  display: grid; place-items: center; text-align: center; font-family: var(--f-display);
  box-shadow: 0 20px 40px -12px rgba(255, 94, 0, .55);
}
.collage__badge b { display: block; font-size: 34px; font-weight: 500; line-height: 1.1; }
.collage__badge small { font-size: 12.5px; opacity: .9; }
.collage__badge svg { position: absolute; inset: -14px; width: calc(100% + 28px); height: calc(100% + 28px); animation: spin 18s linear infinite; }
.collage__badge text { font-size: 10.6px; letter-spacing: 2.2px; fill: var(--text-dark); font-family: var(--f-ui); font-weight: 600; }
@keyframes spin { to { transform: rotate(360deg); } }

.quote-mark { font-family: var(--f-display); font-size: clamp(18px, 1.5vw, 20px); font-weight: 400; line-height: 1.8; border-inline-start: 3px solid var(--orange); padding-inline-start: 20px; margin-block: 30px 34px; color: var(--text-dark); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); margin-top: clamp(56px, 7vw, 96px); }
.stat { padding: 36px 28px 4px; border-inline-start: 1px solid var(--line-light); }
.stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stat__num { font-family: var(--f-display); font-size: clamp(40px, 4.6vw, 64px); font-weight: 500; line-height: 1; color: var(--text-dark); display: flex; align-items: baseline; gap: 4px; direction: ltr; justify-content: flex-end; }
.stat__num i { font-style: normal; color: var(--orange); font-size: .6em; }
.stat__label { margin-top: 12px; color: var(--muted-dark); font-size: 17px; line-height: 1.7; }
.stats--dark { border-color: var(--line-dark); }
.stats--dark .stat { border-color: var(--line-dark); }
.stats--dark .stat__num { color: #fff; }
.stats--dark .stat__label { color: var(--muted-light); }

/* ---------- Services grid ---------- */
/* Divider lines come from each card's outline (filling the 1px gaps), so they fade in with the cards instead of showing an empty grey block */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid #21222b; border-radius: var(--radius-lg); overflow: hidden; }
.service {
  position: relative; min-height: 350px; padding: 38px 34px; background: var(--ink); outline: 1px solid #21222b; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-start; gap: 52px;
}
.service__bg { position: absolute; inset: 0; z-index: -2; opacity: 0; transform: scale(1.15); transition: opacity .8s var(--ease), transform 1.4s var(--ease); }
.service__bg img { width: 100%; height: 100%; object-fit: cover; }
.service::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(11, 12, 22, .95), rgba(11, 12, 22, .35)); opacity: 0; transition: opacity .8s var(--ease); }
.service:hover .service__bg, .service:focus-visible .service__bg { opacity: 1; transform: scale(1); }
.service:hover::after, .service:focus-visible::after { opacity: 1; }
.service__top { display: flex; justify-content: space-between; align-items: flex-start; }
.service__num { font-family: var(--f-ui); font-size: 14px; color: var(--muted-light); letter-spacing: .1em; }
.service__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 94, 0, .1); color: var(--orange); transition: background .5s, color .5s, transform .6s var(--ease); }
.service__icon svg { width: 28px; height: 28px; }
.service:hover .service__icon { background: var(--orange); color: #fff; transform: rotate(-8deg) scale(1.05); }
.service h3 { font-size: clamp(21px, 1.9vw, 25px); font-weight: 500; margin-bottom: 10px; }
.service p { color: var(--muted-light); font-size: 17px; line-height: 1.85; margin: 0; max-width: 36ch; transition: color .5s; }
.service:hover p { color: rgba(255, 255, 255, .85); }
.service__go { position: absolute; left: 30px; bottom: 34px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); transform: scale(0) rotate(-45deg); transition: transform .6s var(--ease); }
.service__go svg { width: 18px; }
.service:hover .service__go { transform: scale(1) rotate(0); }

/* ---------- Features (why us) ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  position: relative; padding: 36px 30px 34px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line-light); overflow: hidden;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s;
}
.feature::before { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease); }
.feature:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(30, 20, 10, .35); border-color: transparent; }
.feature:hover::before { transform: scaleX(1); }
.feature__icon { width: 46px; height: 46px; color: var(--orange); margin-bottom: 28px; }
.feature__icon svg { width: 100%; height: 100%; }
.feature h3 { font-size: 20px; font-weight: 500; color: var(--text-dark); margin-bottom: 10px; }
.feature p { font-size: 16.5px; color: var(--muted-dark); margin: 0; line-height: 1.85; }
.feature__n { position: absolute; top: 22px; left: 24px; font-family: var(--f-display); font-size: 44px; font-weight: 700; color: rgba(0, 0, 0, .05); line-height: 1; }

/* ---------- Video block ---------- */
.reel { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 8; background: #000; }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 12, 22, .85), transparent 55%); pointer-events: none; }
.reel__body { position: absolute; inset: auto 0 0 0; padding: clamp(24px, 4vw, 52px); display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.reel__body h3 { font-size: clamp(22px, 2.6vw, 36px); line-height: 1.45; max-width: 18ch; }
.reel__toggle { width: 74px; height: 74px; border-radius: 50%; background: rgba(255, 255, 255, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: grid; place-items: center; flex-shrink: 0; transition: background .4s, transform .4s var(--ease); }
.reel__toggle:hover { background: var(--orange); transform: scale(1.08); }
.reel__toggle svg { width: 22px; height: 22px; }
.reel__toggle .i-play { display: none; }
.reel.is-paused .reel__toggle .i-play { display: block; }
.reel.is-paused .reel__toggle .i-pause { display: none; }

.shorts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.short { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 9 / 16; background: #000; }
.short video { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.short:hover video { transform: scale(1.04); }
.short figcaption { position: absolute; inset: auto 0 0 0; padding: 60px 20px 18px; background: linear-gradient(to top, rgba(0, 0, 0, .8), transparent); font-family: var(--f-ui); font-weight: 500; line-height: 1.6; }
.short figcaption small { display: block; font-family: var(--f-body); font-weight: 400; color: rgba(255, 255, 255, .7); font-size: 13.5px; }

/* ---------- Process ---------- */
.steps-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; border-top: 1px solid var(--line-dark); }
.step-mini { padding: 36px 28px 38px 24px; border-inline-start: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); position: relative; transition: background .5s; }
.step-mini:nth-child(4n+1) { border-inline-start: 0; }
.step-mini:hover { background: rgba(255, 255, 255, .025); }
.step-mini__n { font-family: var(--f-ui); font-size: 15px; color: var(--orange); font-weight: 500; }
.step-mini h3 { font-size: 20px; font-weight: 500; margin: 14px 0 10px; }
.step-mini p { font-size: 16.5px; color: var(--muted-light); margin: 0; line-height: 1.85; }

.hscroll { position: relative; }
.hscroll__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hscroll__head { margin-bottom: clamp(32px, 5vh, 52px); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; }
.hscroll__intro { display: grid; gap: 14px; max-width: 620px; }
.hscroll__intro .eyebrow { margin-bottom: 0; }
.hscroll__intro .lead { margin-top: 4px; }
.hscroll__count { display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 8px; direction: ltr; font-family: var(--f-display); color: var(--muted-light); flex-shrink: 0; }
.hscroll__count b { font-size: clamp(44px, 4.4vw, 64px); font-weight: 500; line-height: 1; color: #fff; }
.hscroll__count span { font-size: 20px; }
.hscroll__count small { grid-column: 1 / -1; justify-self: end; font-family: var(--f-ui); font-size: 15px; margin-top: 6px; }
/* The track starts on the same edge as the page container, so cards line up with the heading */
.hscroll__track { display: flex; gap: 22px; padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2)); will-change: transform; width: max-content; }
.hscroll__progress { height: 2px; background: var(--line-dark); margin-top: 44px; position: relative; overflow: hidden; border-radius: 2px; }
.hscroll__progress span { position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: right; }
.step-card {
  position: relative; width: clamp(300px, 30vw, 420px); min-height: 440px; border-radius: var(--radius-lg);
  background: var(--ink-3); border: 1px solid var(--line-dark); padding: 36px 34px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-start; gap: clamp(40px, 8vh, 88px); flex-shrink: 0;
  transition: border-color .5s, transform .6s var(--ease);
}
.step-card:hover { border-color: rgba(255, 94, 0, .5); transform: translateY(-6px); }
.step-card__n { font-family: var(--f-display); font-size: 110px; font-weight: 500; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 94, 0, .75); direction: ltr; text-align: right; }
.step-card__icon { width: 54px; height: 54px; color: var(--orange); }
.step-card h3 { font-size: 24px; margin-bottom: 12px; }
.step-card p { color: var(--muted-light); margin: 0; font-size: 16px; line-height: 1.9; }
.step-card__img { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .7s; }
.step-card--img { isolation: isolate; }
.step-card--img .step-card__img { opacity: .18; }
.step-card--img .step-card__img img { width: 100%; height: 100%; object-fit: cover; }
.step-card--end { background: var(--orange); border-color: var(--orange); justify-content: center; gap: 24px; }
.step-card--end h3 { font-size: 30px; color: #fff; }
.step-card--end p { color: #fff; font-size: 18px; font-weight: 500; }

/* ---------- Projects carousel ---------- */
.carousel { overflow: hidden; cursor: grab; padding-inline: var(--gutter); touch-action: pan-y; }
.carousel.is-dragging { cursor: grabbing; }
.carousel__track { display: flex; gap: 22px; width: max-content; will-change: transform; }
.pcard { position: relative; width: clamp(270px, 30vw, 430px); flex-shrink: 0; user-select: none; }
.pcard__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-3); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); pointer-events: none; }
.pcard:hover .pcard__img img { transform: scale(1.07); }
.pcard__meta { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; }
.pcard__meta h3 { font-size: 18.5px; font-weight: 500; }
.pcard__meta span { font-size: 15px; color: var(--muted-light); }
.pcard:nth-child(even) { margin-top: 60px; }
.carousel__bar { width: min(420px, 60%); height: 2px; background: var(--line-dark); margin: 50px auto 0; position: relative; border-radius: 2px; overflow: hidden; }
.carousel__bar span { position: absolute; top: 0; bottom: 0; right: 0; width: 30%; background: var(--orange); border-radius: 2px; }

/* ---------- Sectors ---------- */
.sectors { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.sector-list li { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; border-bottom: 1px solid var(--line-light); font-family: var(--f-display); font-size: clamp(19px, 1.9vw, 26px); font-weight: 500; color: var(--text-dark); transition: padding .5s var(--ease), color .4s; }
.sector-list li:first-child { border-top: 1px solid var(--line-light); }
.sector-list li small { font-family: var(--f-body); font-size: 16px; font-weight: 400; color: var(--muted-dark); }
.sector-list li:hover { padding-inline-start: 22px; color: var(--orange); }
.reach { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); color: #fff; padding: clamp(30px, 4vw, 50px); min-height: 440px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.reach__map { position: absolute; inset: 0; z-index: -1; opacity: .9; }
.reach__map svg { width: 100%; height: 100%; }
.reach h3 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 10px; }
.reach p { color: var(--muted-light); margin: 0; }
.pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
.pulse--2 { animation-delay: 1.2s; }
@keyframes pulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2.8); opacity: 0; } }
.route { stroke-dasharray: 6 8; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--orange); color: #fff; border-radius: var(--radius-lg); padding: clamp(44px, 7vw, 100px) clamp(28px, 6vw, 90px); isolation: isolate; }
.cta__logo { position: absolute; left: -40px; top: 50%; width: clamp(240px, 32vw, 460px); transform: translateY(-50%) rotate(-12deg); opacity: .14; z-index: -1; }
.cta__logo .lo, .cta__logo .ln { fill: #fff; }
.cta h2 { font-size: clamp(30px, 4.2vw, 56px); font-weight: 500; line-height: 1.4; max-width: 16ch; }
.cta p { font-size: clamp(17px, 1.3vw, 19px); font-weight: 500; line-height: 1.9; max-width: 54ch; margin: 20px 0 36px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta .btn--ghost { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); color: #fff; }
.cta .btn--ghost:hover { color: var(--orange); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); padding-top: clamp(80px, 10vw, 130px); position: relative; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1.3fr; gap: 40px 56px; }
.footer__brand .logo-lockup { height: 62px; width: auto; margin-bottom: 22px; }
.footer__brand .lw { fill: #fff; }
.footer__brand .lg { fill: rgba(255, 255, 255, .6); }
.footer__brand .ln { fill: #3b44ff; }
.footer__brand p { color: var(--muted-light); font-size: 17px; line-height: 1.9; max-width: 38ch; }
.footer__title { font-family: var(--f-display); font-size: 18px; color: #fff; margin-bottom: 20px; font-weight: 500; }
.footer__links a, .footer__contact li { display: block; color: var(--muted-light); padding: 6px 0; font-size: 17px; line-height: 1.7; transition: color .3s, transform .4s var(--ease); }
.footer__links a:hover { color: var(--orange); transform: translateX(-6px); }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; color: var(--orange); flex-shrink: 0; margin-top: 5px; }
.footer__contact a:hover { color: #fff; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .16); color: #fff; transition: background .4s, box-shadow .4s, transform .4s var(--ease); }
.socials a:hover { background: var(--orange); box-shadow: inset 0 0 0 1.5px var(--orange); transform: translateY(-4px); }
.socials svg { width: 19px; height: 19px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px 32px; flex-wrap: wrap; padding-block: 28px; margin-top: 60px; border-top: 1px solid var(--line-dark); color: var(--muted-light); font-size: 15px; }
.footer__legal { display: grid; gap: 4px; }
/* Leave room so the floating WhatsApp / back-to-top buttons never cover the last footer line */
@media (max-width: 1300px) { .footer__bottom { padding-bottom: 120px; } }

/* Developer credit */
.credit {
  display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0;
  padding-block: 6px; padding-inline: 18px 6px; border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .03);
  transition: border-color .4s, background .4s;
}
.credit__label { font-family: var(--f-ui); font-size: 14px; font-weight: 500; color: var(--muted-light); white-space: nowrap; }
.credit__brand {
  display: inline-flex; align-items: center; gap: 8px; direction: ltr;
  padding: 8px 14px 8px 16px; border-radius: 100px; background: #fff; color: var(--ink);
  font-family: var(--f-ui); font-size: 15px; font-weight: 700; letter-spacing: .03em; line-height: 1; white-space: nowrap;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.credit__brand svg { width: 14px; height: 14px; transition: transform .45s var(--ease); }
.credit:hover, .credit:focus-visible { border-color: var(--orange); background: rgba(255, 94, 0, .08); }
.credit:hover .credit__brand, .credit:focus-visible .credit__brand { background: var(--orange); color: #fff; }
.credit:hover .credit__brand svg, .credit:focus-visible .credit__brand svg { transform: translate(2px, -2px); }

/* Floating actions */
.fab { position: fixed; z-index: 70; left: 22px; bottom: 22px; display: grid; gap: 12px; }
.fab a, .fab button { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); transition: transform .4s var(--ease), opacity .4s; }
.fab__wa { background: #25d366; position: relative; }
.fab__wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; animation: ring 2.4s ease-out infinite; z-index: -1; }
@keyframes ring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
.fab__wa svg { width: 28px; height: 28px; }
.fab a:hover, .fab button:hover { transform: scale(1.1); }
.fab__top { background: var(--ink-3); position: relative; opacity: 0; pointer-events: none; transform: translateY(20px); }
.fab__top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.fab__top svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.fab__top svg.ring circle { fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-dasharray: 164; stroke-dashoffset: 164; }
.fab__top svg.arrow { width: 20px; height: 20px; }

/* ---------- About page ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.story__media { position: sticky; top: 110px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story__text p { font-size: 17.5px; line-height: 1.95; color: var(--muted-dark); }
.story__text p.big { font-family: var(--f-display); font-size: clamp(20px, 1.9vw, 25px); line-height: 1.75; color: var(--text-dark); font-weight: 400; margin-bottom: 1.2em; }

.timeline { position: relative; max-width: 980px; margin-inline: auto; }
.timeline__line { position: absolute; top: 0; bottom: 0; right: 50%; width: 2px; background: var(--line-dark); transform: translateX(50%); }
.timeline__line span { position: absolute; inset: 0; background: linear-gradient(var(--orange), #ffb07a); transform-origin: top; transform: scaleY(0); }
.tl-item { position: relative; width: 50%; padding: 0 0 70px 60px; }
.tl-item:nth-child(odd) { margin-inline-start: 0; }
.tl-item:nth-child(even) { margin-inline-start: 50%; padding: 0 60px 70px 0; }
.tl-item::before { content: ""; position: absolute; top: 10px; left: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); border: 2px solid var(--orange); transition: background .5s, box-shadow .5s; }
.tl-item:nth-child(even)::before { left: auto; right: -9px; }
.tl-item.is-in::before { background: var(--orange); box-shadow: 0 0 0 8px rgba(255, 94, 0, .15); }
.tl-item__tag { font-family: var(--f-display); font-size: clamp(32px, 3.6vw, 50px); font-weight: 500; color: var(--orange); line-height: 1.2; }
.tl-item h3 { font-size: 21px; margin: 10px 0 10px; }
.tl-item p { color: var(--muted-light); margin: 0; line-height: 1.9; }

.vision { position: relative; text-align: center; max-width: 1000px; margin-inline: auto; }
.vision blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(23px, 2.9vw, 38px); font-weight: 400; line-height: 1.7; color: var(--text-dark); }
.vision blockquote em { font-style: normal; color: var(--orange); }

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.member { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); aspect-ratio: 4 / 5.3; isolation: isolate; }
.member img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.member:hover img { transform: scale(1.05); }
.member__mono { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, #26294a, var(--ink-3) 70%); }
.member__mono svg { width: 42%; opacity: .9; }
.member__body { position: absolute; inset: auto 0 0 0; padding: 70px 22px 22px; background: linear-gradient(to top, rgba(11, 12, 22, .97) 30%, transparent); }
.member__role { font-size: 15px; color: var(--orange); font-family: var(--f-ui); font-weight: 400; }
.member h3 { font-size: 19px; font-weight: 500; line-height: 1.5; margin: 4px 0 0; }
.member__bio { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.member__bio > p { overflow: hidden; margin: 0; font-size: 15px; color: rgba(255, 255, 255, .8); line-height: 1.85; }
.member:hover .member__bio, .member:focus-within .member__bio { grid-template-rows: 1fr; }
.member:hover .member__bio > p { padding-top: 10px; }

.brand-statement { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.brand-statement__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1; }
.brand-statement__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Services page ---------- */
.svc-rows { display: grid; gap: clamp(72px, 9vw, 120px); }
.svc-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.svc-row:nth-child(even) .svc-row__media { order: 2; }
.svc-row__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4; }
.svc-row__media img { width: 100%; height: 100%; object-fit: cover; }
.svc-row__media .tag { position: absolute; top: 20px; right: 20px; background: rgba(11, 12, 22, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 8px 16px; border-radius: 100px; font-size: 13.5px; font-family: var(--f-ui); }
.svc-row__n { font-family: var(--f-ui); font-size: 15px; color: var(--orange); font-weight: 500; direction: ltr; unicode-bidi: isolate; display: inline-block; }
.svc-row h2 { font-size: clamp(28px, 3.2vw, 42px); margin: 10px 0 18px; }
.svc-row p { color: var(--muted-light); font-size: 17.5px; line-height: 1.95; max-width: 52ch; }
.checks { display: grid; gap: 14px; margin: 28px 0 34px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 5px; border-radius: 50%; background: rgba(255, 94, 0, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5e00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }

.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { padding: 11px 22px; border-radius: 100px; background: #fff; border: 1px solid var(--line-light); font-family: var(--f-ui); font-weight: 400; color: var(--text-dark); transition: background .4s, color .4s, transform .4s var(--ease); }
.chip:hover { background: var(--orange); color: #fff; transform: translateY(-3px); }

/* ---------- Projects page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 50px; }
.filter { position: relative; padding: 11px 22px; border-radius: 100px; font-family: var(--f-ui); font-weight: 400; font-size: 15.5px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .16); color: var(--muted-light); transition: color .4s, box-shadow .4s, background .4s; }
.filter sup { font-size: 11px; color: var(--orange); margin-inline-start: 4px; }
.filter:hover { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.filter.is-active { background: var(--orange); color: #fff; box-shadow: none; }
.filter.is-active sup { color: #fff; }
.masonry { columns: 3; column-gap: 20px; }
.m-item { break-inside: avoid; margin-bottom: 20px; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); cursor: zoom-in; display: block; width: 100%; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.m-item img { width: 100%; height: auto; transition: transform 1.2s var(--ease), filter .6s; }
.m-item:hover img { transform: scale(1.06); }
.m-item::after { content: ""; position: absolute; inset: 0; background: rgba(11, 12, 22, .35); opacity: 0; transition: opacity .5s; }
.m-item:hover::after, .m-item:focus-visible::after { opacity: 1; }
.m-item__cap { position: absolute; z-index: 2; inset: 0; display: flex; justify-content: center; align-items: center; transform: scale(.7); opacity: 0; transition: transform .6s var(--ease), opacity .5s; }
.m-item:hover .m-item__cap, .m-item:focus-visible .m-item__cap { transform: none; opacity: 1; }
.has-cursor .m-item__cap { display: none; } /* the custom cursor already shows "عرض" */
.m-item__cap i { width: 52px; height: 52px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(255, 94, 0, .6); }
.m-item__cap svg { width: 18px; height: 18px; }
.m-item.is-hidden { display: none; }
.m-item.is-entering { opacity: 0; transform: translateY(30px) scale(.97); }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6, 7, 12, .96); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .5s var(--ease), visibility 0s linear .5s; }
.lightbox.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .5s var(--ease), visibility 0s; }
.lightbox__count { direction: ltr; unicode-bidi: isolate; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gutter); color: var(--muted-light); font-family: var(--f-ui); }
.lightbox__stage { position: relative; display: grid; place-items: center; padding: 0 clamp(16px, 7vw, 110px); min-height: 0; }
.lightbox__stage img { max-width: 100%; max-height: calc(100svh - 170px); object-fit: contain; border-radius: 12px; transform: scale(.94); opacity: 0; transition: transform .6s var(--ease), opacity .5s; }
.lightbox__stage img.is-ready { transform: none; opacity: 1; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: grid; place-items: center; transition: background .3s; }
.lightbox__nav:hover { background: var(--orange); }
.lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__prev { right: 20px; }
.lightbox__next { left: 20px; }
.lightbox__close { width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: grid; place-items: center; transition: background .3s, transform .4s var(--ease); }
.lightbox__close:hover { background: var(--orange); transform: rotate(90deg); }
.lightbox__close svg { width: 20px; height: 20px; }
.lightbox__cap:empty { min-height: 26px; padding: 0; }
.lightbox__cap { text-align: center; padding: 18px var(--gutter) 26px; font-family: var(--f-ui); }

/* ---------- Guarantees ---------- */
.guarantees { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.guarantee { position: relative; padding: clamp(30px, 3.5vw, 46px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line-light); display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.guarantee:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(30, 20, 10, .3); }
.guarantee__icon { width: 64px; height: 64px; border-radius: 18px; background: var(--ink); color: var(--orange); display: grid; place-items: center; }
.guarantee__icon svg { width: 30px; height: 30px; }
.guarantee h3 { font-size: 21px; color: var(--text-dark); margin-bottom: 10px; }
.guarantee p { color: var(--muted-dark); margin: 0; line-height: 1.9; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ccard { position: relative; padding: 30px 26px; border-radius: var(--radius); background: var(--ink-3); border: 1px solid var(--line-dark); display: grid; gap: 14px; overflow: hidden; isolation: isolate; transition: transform .6s var(--ease), border-color .5s; }
.ccard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--orange); transform: translateY(101%); transition: transform .7s var(--ease); }
.ccard:hover { transform: translateY(-6px); border-color: var(--orange); }
.ccard:hover::before { transform: none; }
.ccard__icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(255, 94, 0, .12); color: var(--orange); display: grid; place-items: center; transition: background .5s, color .5s; }
.ccard:hover .ccard__icon { background: #fff; }
.ccard__icon svg { width: 24px; height: 24px; }
.ccard small { color: var(--muted-light); font-size: 15px; transition: color .5s; }
.ccard:hover small { color: rgba(255, 255, 255, .85); }
.ccard b { font-family: var(--f-ui); font-size: 17.5px; font-weight: 500; line-height: 1.6; word-break: break-word; }

.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 16px; font-weight: 500; color: var(--text-dark); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text-dark); background: #fff;
  border: 1.5px solid var(--line-light); border-radius: 14px; padding: 14px 18px; outline: none;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 94, 0, .12); }
.field.has-error input, .field.has-error select { border-color: #d93636; }
.field__err { font-size: 13px; color: #d93636; display: none; }
.field.has-error .field__err { display: block; }
.form__note { grid-column: 1 / -1; font-size: 15px; color: var(--muted-dark); margin: 0; }

.hours { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 3.5vw, 44px); }
.hours h3 { font-size: 22px; margin-bottom: 6px; }
.status { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 100px; background: rgba(255, 255, 255, .06); font-size: 14px; margin: 12px 0 22px; }
.status i { width: 9px; height: 9px; border-radius: 50%; background: #888; position: relative; }
.status.is-open i { background: #2ecc71; box-shadow: 0 0 0 0 rgba(46, 204, 113, .6); animation: live 2s infinite; }
.status.is-closed i { background: #e74c3c; }
@keyframes live { 70% { box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); } }
.hours li { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line-dark); color: var(--muted-light); }
.hours li b { color: #fff; font-weight: 500; }
.hours li.is-today { color: #fff; }
.hours li.is-today b { color: var(--orange); }
.map { margin-top: 20px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink-3); position: relative; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }

/* ---------- Magnetic / tilt helpers ---------- */
[data-magnetic] { transition: transform .5s var(--ease); will-change: transform; }
[data-tilt] { transform-style: preserve-3d; transition: transform .6s var(--ease); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav, .header__actions .btn { display: none; }
  .burger { display: block; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .hero__meta { padding-left: 64px; } /* keep slide info clear of the floating WhatsApp button */
  .features { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .steps-mini { grid-template-columns: repeat(2, 1fr); }
  .step-mini:nth-child(4n+1) { border-inline-start: 1px solid var(--line-dark); }
  .step-mini:nth-child(2n+1) { border-inline-start: 0; }
  .shorts { grid-template-columns: repeat(2, 1fr); }
}
/* Laptop widths: without this the slide caption runs under the floating WhatsApp button */
@media (min-width: 1101px) and (max-width: 1400px) {
  .hero__meta { padding-left: 64px; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .split, .story, .sectors, .brand-statement, .svc-row, .contact-grid { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .svc-row:nth-child(even) .svc-row__media { order: 0; }
  .story__media { position: relative; top: 0; aspect-ratio: 16 / 11; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__meta { justify-items: start; }
  .hero__caption { text-align: right; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .stat { padding-inline: 20px; }
  .section-head--split { gap: 22px; }
  .masonry { columns: 2; column-gap: 14px; }
  .m-item { margin-bottom: 14px; }
  .reel { aspect-ratio: 4 / 5; }
  .timeline__line { right: 12px; transform: none; }
  .tl-item, .tl-item:nth-child(even) { width: 100%; margin: 0; padding: 0 44px 54px 0; }
  .tl-item::before, .tl-item:nth-child(even)::before { right: 4px; left: auto; }
  .guarantees { grid-template-columns: 1fr; }
  .section-head--split { grid-template-columns: 1fr; }
  .hscroll__sticky { position: relative; height: auto; padding-block: var(--section); }
  .hscroll__head { margin-bottom: var(--head-gap); }
  .hscroll__count { display: none; }
  .hscroll__track { flex-direction: column; width: auto; transform: none !important; }
  .step-card { width: 100%; min-height: 0; gap: 26px; padding: 30px 26px; }
  .step-card__n { font-size: 80px; }
  .hscroll__progress { display: none; }
  .hscroll { height: auto !important; }
  .pcard:nth-child(even) { margin-top: 0; }
  .scroll-cue { display: none; }
}
@media (max-width: 600px) {
  :root { --section: 76px; --section-tight: 56px; --head-gap: 36px; }
  body { font-size: 17px; }
  .service { padding: 30px 24px; }
  .feature { padding: 30px 24px; }
  .stat { padding: 28px 16px 4px; }
  .stat__label { font-size: 15px; }
  .hero__title { line-height: 1.35; }
  .cta { padding: 44px 24px; }
  .footer__grid { gap: 36px; }
  .brand .logo-lockup { height: 38px; }
  .header.is-scrolled .brand .logo-lockup { height: 34px; }
  .services-grid, .features, .contact-cards, .footer__grid, .steps-mini { grid-template-columns: 1fr; }
  .step-mini { border-inline-start: 0 !important; padding-inline: 0; }
  .form { grid-template-columns: 1fr; }
  .masonry { columns: 2; column-gap: 10px; }
  .m-item { margin-bottom: 10px; border-radius: 12px; }
  .filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; scrollbar-width: none; margin-bottom: 30px; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex-shrink: 0; }
  .reel__body { padding: 20px; }
  .reel__body h3 { font-size: 19px; max-width: 70%; }
  .reel__toggle { width: 56px; height: 56px; }
  .collage__badge { width: 104px; height: 104px; }
  .collage__badge b { font-size: 26px; }
  .shorts { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .fab { left: 14px; bottom: 14px; }
  .fab a, .fab button { width: 50px; height: 50px; }
  .lightbox__nav { width: 44px; height: 44px; top: auto; bottom: -64px; transform: none; }
  .lightbox__stage { margin-bottom: 60px; }
  .guarantee { grid-template-columns: 1fr; }
  .service { min-height: 0; gap: 22px; }
  .service__go { display: none; }
  .ccard { grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 0; padding: 20px; align-items: center; }
  .ccard__icon { grid-row: span 2; }
  .ccard b { font-size: 16.5px; }
}

/* Team on phones and touch screens (no hover): cards like the desktop, two per row, each with a
   "Read more" button that opens the photo and the full bio in a dialog (built by main.js) */
.member__more { display: none; }
@media (max-width: 600px), (hover: none) and (max-width: 1100px) {
  .member { cursor: pointer; }
  .member:hover img { transform: none; }
  .member__bio { display: none; }
  .member__more {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 7px 14px 7px 12px;
    border-radius: 100px; background: rgba(255, 255, 255, .14); color: #fff;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    font-family: var(--f-ui); font-size: 13px; font-weight: 500; line-height: 1.2; white-space: nowrap;
    transition: background-color .3s;
  }
  .member__more svg { width: 14px; height: 14px; flex-shrink: 0; }
  .member__more:hover, .member__more:focus-visible { background: var(--orange); }
}
@media (max-width: 600px) {
  .team { grid-template-columns: 1fr 1fr; gap: 12px; }
  .member { aspect-ratio: 3 / 4.3; }
  .member__body { padding: 30px 11px 11px; background: linear-gradient(to top, rgba(11, 12, 22, .97) 55%, transparent); }
  .member__role { font-size: 11.5px; line-height: 1.45; }
  .member h3 { font-size: 14.5px; line-height: 1.35; margin-top: 2px; }
  .member__more { margin-top: 7px; padding: 5px 11px 5px 9px; font-size: 11.5px; }
  .member__more svg { width: 12px; height: 12px; }
}
@media (max-width: 359px) {
  .member__role { font-size: 10.5px; }
  .member h3 { font-size: 13px; }
}

.member-dialog {
  width: min(100% - 32px, 820px); max-height: min(88svh, 720px); padding: 0; border: 0; overflow: auto;
  border-radius: var(--radius-lg); background: var(--ink-3); color: var(--text-light);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .7);
}
.member-dialog[open] { animation: dialogIn .5s var(--ease); }
.member-dialog::backdrop { background: rgba(6, 7, 12, .82); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@keyframes dialogIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.member-dialog__inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: stretch; }
.member-dialog__media { position: relative; min-height: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-2); }
.member-dialog__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.member-dialog__body { align-self: center; padding: clamp(26px, 4vw, 44px); }
.member-dialog__role { font-family: var(--f-ui); font-size: 15px; color: var(--orange); }
.member-dialog h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 500; line-height: 1.4; margin: 6px 0 16px; }
.member-dialog p { margin: 0; font-size: 16.5px; line-height: 1.9; color: rgba(255, 255, 255, .82); }
.member-dialog__close {
  position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(11, 12, 22, .65); color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .3s, transform .4s var(--ease);
}
.member-dialog__close:hover { background: var(--orange); transform: rotate(90deg); }
.member-dialog__close svg { width: 20px; height: 20px; }
@media (max-width: 600px) {
  .member-dialog { max-height: 90svh; }
  .member-dialog__inner { grid-template-columns: 1fr; }
  .member-dialog__media { aspect-ratio: 1 / 1; min-height: 0; }
  .member-dialog__body { padding: 22px 22px 28px; }
  .member-dialog p { font-size: 15.5px; line-height: 1.85; }
}
html[lang="en"] .member-dialog h3 { line-height: 1.25; }
html[lang="en"] .member-dialog p { line-height: 1.75; }
html[lang="en"] .member__more { font-weight: 600; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal], [data-split] .w > span, .hero__title .line > span, .hero__fade { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .marquee__track { animation: none; }
}

/* ==========================================================================
   English pages (en/*.html — <html lang="en" dir="ltr">)
   The rules above are written for Arabic (RTL). This block swaps the typeface,
   tunes the typography for Latin text, and mirrors the direction-dependent layout.
   ========================================================================== */

/* ---------- Typography ---------- */
html[lang="en"] {
  --f-display: "Plus Jakarta Sans", "Tajawal", system-ui, sans-serif;
  --f-body: "Plus Jakarta Sans", "Tajawal", system-ui, sans-serif;
  --f-ui: "Plus Jakarta Sans", "Tajawal", system-ui, sans-serif;
}
html[lang="en"] body { font-size: 17px; line-height: 1.7; word-spacing: .03em; }
html[lang="en"] :is(h1, h2, h3, h4) { line-height: 1.2; letter-spacing: -.02em; word-spacing: .06em; }
html[lang="en"] h3 { font-weight: 600; }
html[lang="en"] p { hyphens: manual; }

html[lang="en"] .eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
html[lang="en"] .h-display { line-height: 1.08; letter-spacing: -.03em; }
html[lang="en"] .h-1 { font-size: clamp(30px, 3.8vw, 50px); line-height: 1.14; letter-spacing: -.025em; }
html[lang="en"] .h-2 { font-size: clamp(26px, 2.9vw, 38px); line-height: 1.2; }
html[lang="en"] .h-3 { line-height: 1.45; letter-spacing: -.01em; }
html[lang="en"] .lead { line-height: 1.75; }

html[lang="en"] .btn { font-size: 16px; font-weight: 600; }
html[lang="en"] .btn--sm { font-size: 14px; }
html[lang="en"] .link-arrow { font-weight: 600; }
html[lang="en"] .nav a { font-size: 15.5px; word-spacing: .04em; }
html[lang="en"] .menu__links a { line-height: 1.3; letter-spacing: -.02em; }
html[lang="en"] .marquee__track span { letter-spacing: -.01em; }

html[lang="en"] .hero__title { font-size: clamp(36px, 4.7vw, 70px); line-height: 1.1; letter-spacing: -.03em; }
html[lang="en"] .hl__line { bottom: -.1em; } /* keep the hand-drawn underline below the Latin baseline */
/* The stretched SVG makes the on-screen stroke longer than its pathLength; a longer dash draws it end to end */
html[lang="en"] .hl__line path { stroke-dasharray: 2; stroke-dashoffset: 2; }
html[lang="en"] .hero__text, html[lang="en"] .page-hero p { line-height: 1.75; }
html[lang="en"] .page-hero h1 { font-size: clamp(40px, 6vw, 84px); line-height: 1.08; letter-spacing: -.03em; }
html[lang="en"] .hero__year { letter-spacing: -.04em; }

html[lang="en"] .collage__badge b { letter-spacing: -.02em; }
html[lang="en"] .collage__badge small { display: block; max-width: 11ch; margin-inline: auto; font-size: 11.5px; line-height: 1.3; }
html[lang="en"] .quote-mark { line-height: 1.65; }
html[lang="en"] .stat__num { letter-spacing: -.03em; }
html[lang="en"] .stat__label { line-height: 1.55; }
html[lang="en"] .service p, html[lang="en"] .feature p, html[lang="en"] .step-mini p { line-height: 1.7; }
html[lang="en"] .reel__body h3 { max-width: 22ch; line-height: 1.25; }
html[lang="en"] .step-card p, html[lang="en"] .svc-row p, html[lang="en"] .guarantee p, html[lang="en"] .tl-item p { line-height: 1.75; }
html[lang="en"] .step-card__n, html[lang="en"] .tl-item__tag { letter-spacing: -.03em; }
html[lang="en"] .sector-list li { letter-spacing: -.015em; }
html[lang="en"] .story__text p { line-height: 1.8; }
html[lang="en"] .story__text p.big { line-height: 1.5; letter-spacing: -.01em; }
html[lang="en"] .vision blockquote { line-height: 1.5; letter-spacing: -.015em; }
html[lang="en"] .member__bio > p { line-height: 1.7; }
html[lang="en"] .cta h2 { font-size: clamp(30px, 3.9vw, 52px); line-height: 1.12; letter-spacing: -.025em; max-width: 20ch; }
html[lang="en"] .cta p { line-height: 1.75; }
html[lang="en"] .footer__brand p { line-height: 1.75; }
html[lang="en"] .footer__title { font-weight: 600; }
html[lang="en"] .footer__links a, html[lang="en"] .footer__contact li { font-size: 16px; }
html[lang="en"] .footer__contact svg { margin-top: 4px; }
html[lang="en"] .credit__label { font-size: 13.5px; }

/* ---------- Direction: mirror the RTL layout ---------- */
html[dir="ltr"] .skip-link { right: auto; left: 16px; }
html[dir="ltr"] .btn:hover svg { transform: translateX(5px); }
html[dir="ltr"] .link-arrow { background-position: left bottom; }
html[dir="ltr"] .link-arrow:hover svg { transform: translateX(6px); }
html[dir="ltr"] .preloader__bar span { transform-origin: left; }
html[dir="ltr"] .nav a::after { transform-origin: left; }
html[dir="ltr"] .burger span { right: auto; left: 14px; }
html[dir="ltr"] .lang-switch:hover svg { transform: rotate(20deg); }

/* Mobile menu opens from the burger, which sits on the right in English */
html[dir="ltr"] .menu { clip-path: circle(0% at 92% 4%); }
html[dir="ltr"] .menu-open .menu { clip-path: circle(150% at 92% 4%); }
html[dir="ltr"] .menu__foot a { text-align: left; }

html[dir="ltr"] .hero__shade {
  background:
    linear-gradient(to top, rgba(11, 12, 22, .96) 0%, rgba(11, 12, 22, .55) 38%, rgba(11, 12, 22, .2) 70%, rgba(11, 12, 22, .6) 100%),
    linear-gradient(to right, rgba(11, 12, 22, .75), transparent 65%);
}
html[dir="ltr"] .hero__year { left: auto; right: -1vw; }
html[dir="ltr"] .hero__glow { right: auto; left: -8%; }
html[dir="ltr"] .hl__line { right: auto; left: -2%; }
html[dir="ltr"] .hero__caption { text-align: right; }

html[dir="ltr"] [data-reveal="right"] { transform: translateX(46px); }
html[dir="ltr"] [data-reveal="left"] { transform: translateX(-46px); }
html[dir="ltr"] [data-reveal].is-in { transform: none; }

/* The marquee runs toward the reading start (left in English) */
html[dir="ltr"] .marquee__track { animation-name: marquee-ltr; }
@keyframes marquee-ltr { to { transform: translateX(-50%); } }

html[dir="ltr"] .collage__a { inset: 0 22% 18% 0; }
html[dir="ltr"] .collage__b { left: auto; right: 0; }
html[dir="ltr"] .collage__badge { left: auto; right: 4%; }

html[dir="ltr"] .stat__num { justify-content: flex-start; }

html[dir="ltr"] .service:hover .service__icon { transform: rotate(8deg) scale(1.05); }
html[dir="ltr"] .service__go { left: auto; right: 30px; transform: scale(0) rotate(45deg); }
html[dir="ltr"] .service:hover .service__go { transform: scale(1) rotate(0); }
html[dir="ltr"] .feature::before { transform-origin: left; }
html[dir="ltr"] .feature__n { left: auto; right: 24px; }

html[dir="ltr"] .hscroll__progress span { transform-origin: left; }
html[dir="ltr"] .carousel__bar span { right: auto; left: 0; }

html[dir="ltr"] .cta__logo { left: auto; right: -40px; transform: translateY(-50%) rotate(12deg); }
html[dir="ltr"] .footer__links a:hover { transform: translateX(6px); }
html[dir="ltr"] .fab { left: auto; right: 22px; }

html[dir="ltr"] .tl-item { padding: 0 60px 70px 0; }
html[dir="ltr"] .tl-item:nth-child(even) { padding: 0 0 70px 60px; }
html[dir="ltr"] .tl-item::before { left: auto; right: -9px; }
html[dir="ltr"] .tl-item:nth-child(even)::before { right: auto; left: -9px; }

html[dir="ltr"] .svc-row__media .tag { right: auto; left: 20px; }
html[dir="ltr"] .lightbox__prev { right: auto; left: 20px; }
html[dir="ltr"] .lightbox__next { left: auto; right: 20px; }

/* ---------- English: responsive ---------- */
@media (min-width: 1101px) and (max-width: 1260px) {
  html[lang="en"] .nav a { font-size: 15px; }
}
@media (max-width: 1400px) {
  html[dir="ltr"] .hero__meta { padding-left: 0; padding-right: 64px; } /* clear of the floating WhatsApp button */
}
@media (max-width: 900px) {
  html[dir="ltr"] .hero__caption { text-align: left; }
  html[dir="ltr"] .timeline__line { right: auto; left: 12px; }
  html[dir="ltr"] .tl-item, html[dir="ltr"] .tl-item:nth-child(even) { padding: 0 0 54px 44px; }
  html[dir="ltr"] .tl-item::before, html[dir="ltr"] .tl-item:nth-child(even)::before { left: 4px; right: auto; }
}
@media (max-width: 600px) {
  html[lang="en"] body { font-size: 16px; }
  html[dir="ltr"] .fab { left: auto; right: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html[dir="ltr"] .marquee__track { animation: none; }
}
