@font-face {
  font-family: 'Thmanyah Serif Display';
  src: url('../assets/fonts/thmanyahserifdisplay-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Thmanyah Serif Display';
  src: url('../assets/fonts/thmanyahserifdisplay-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Thmanyah Serif Display';
  src: url('../assets/fonts/thmanyahserifdisplay-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Thmanyah Serif Display';
  src: url('../assets/fonts/thmanyahserifdisplay-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Serif Text';
  src: url('../assets/fonts/thmanyahseriftext-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Thmanyah Serif Text';
  src: url('../assets/fonts/thmanyahseriftext-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Thmanyah Serif Text';
  src: url('../assets/fonts/thmanyahseriftext-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Thmanyah Serif Text';
  src: url('../assets/fonts/thmanyahseriftext-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ════════════════════════════════════════════
   SAILOORS ADVERTISING — DESIGN SYSTEM 2026
   Inspired by askphill.com
════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Instrument+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Tajawal:wght@400;500;700;900&display=swap');

/* ── TOKENS ── */
:root {
  --bg:        #07070A;
  --bg2:       #0D0D12;
  --bg3:       #131318;
  --white:     #F0EDE8;
  --dim:       rgba(240,237,232,0.42);
  --dim2:      rgba(240,237,232,0.15);
  --red:       #F00514;
  --red-a:     rgba(240,5,20,0.12);
  --border:    rgba(240,237,232,0.07);
  --border2:   rgba(240,237,232,0.14);
  --ff-en:     'Bebas Neue', sans-serif;
  --ff-body:   'Instrument Sans', sans-serif;
  --ff-ar:     'Tajawal', sans-serif;
  --nav-h:     76px;
  --ease:      cubic-bezier(0.16,1,0.3,1);
  --ease2:     cubic-bezier(0.77,0,0.18,1);
  --g:         clamp(20px,5vw,80px);
}

/* ── BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--ff-body);
  overflow-x: hidden;
  cursor: none;
}
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { background: none; border: none; cursor: none; font-family: inherit; }

/* ── NOISE ── */
body::before {
  content: '';
  position: fixed; inset: 0;
  z-index: 8000; pointer-events: none;
  opacity: 0.028;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E") center / 256px;
}

/* ── CURSOR ── */
.cursor {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  mix-blend-mode: difference;
}
.cursor-dot {
  position: absolute;
  transform: translate(-50%,-50%);
  width: 9px; height: 9px;
  background: var(--white);
  border-radius: 50%;
}
.cursor-ring {
  position: absolute;
  transform: translate(-50%,-50%);
  width: 42px; height: 42px;
  border: 1.5px solid var(--white);
  border-radius: 50%;
  transition: width .45s var(--ease), height .45s var(--ease), border-color .3s;
}
.cursor.hover .cursor-ring { width: 90px; height: 90px; border-color: var(--red); }
.cursor.hover .cursor-dot  { transform: translate(-50%,-50%) scale(0); }
.cursor.click .cursor-dot  { transform: translate(-50%,-50%) scale(2.2); }

/* ── LOADER ── */
#loader {
  position: fixed; inset: 0;
  z-index: 9998; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 36px;
}
#loader .l-logo {
  font-family: var(--ff-en);
  font-size: clamp(52px, 9vw, 120px);
  letter-spacing: 0.06em;
  overflow: hidden;
}
#loader .l-logo span { display: block; transform: translateY(100%); }
#loader .l-bar-wrap {
  width: min(380px, 58vw); height: 1px;
  background: var(--border);
}
#loader .l-bar { height: 100%; background: var(--red); width: 0; }
#loader .l-pct {
  font-family: var(--ff-en);
  font-size: 13px; letter-spacing: 0.28em;
  color: var(--dim);
}

/* ── PROGRESS ── */
#scrollProgress {
  position: fixed; top: 0; left: 0;
  height: 2px; background: var(--red);
  z-index: 9000; width: 0;
  transition: width 0.08s linear;
}

/* ── PAGE TRANSITION ── */
#pageTransition {
  position: fixed; inset: 0;
  z-index: 9997; background: var(--bg);
  transform: scaleY(0);
  transform-origin: bottom;
}

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; height: var(--nav-h);
  padding: 0 var(--g);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7,7,10,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}
.nav-logo {
  display: flex; align-items: center;
  height: 28px;
}
.nav-logo svg { height: 100%; width: auto; }
.nav-logo .cls-2 { fill: var(--white); }
.nav-logo .cls-1 { fill: var(--red); }

.nav-links {
  display: flex; align-items: center; gap: 40px;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-link {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--dim);
  position: relative;
  transition: color .25s;
}
.nav-link::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--red);
  transition: width .3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-cta {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 10px 24px;
  background: var(--red); color: var(--white);
  border-radius: 2px;
  transition: all .25s var(--ease);
}
.nav-cta:hover { background: var(--white); color: var(--bg); transform: translateY(-2px); }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 28px;
}
.nav-hamburger span {
  display: block; height: 1.5px;
  background: var(--white);
  transition: all .3s var(--ease);
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  position: fixed; inset: 0; z-index: 999;
  background: var(--bg);
  display: flex; flex-direction: column;
  justify-content: center; padding: var(--g);
  transform: translateX(100%);
  transition: transform .65s var(--ease2);
}
.nav-mobile.open { transform: none; }
.nav-mobile-link {
  font-family: var(--ff-en);
  font-size: clamp(48px, 11vw, 88px);
  text-transform: uppercase; letter-spacing: 0.02em;
  color: rgba(240,237,232,0.35);
  display: block; padding: 8px 0;
  border-bottom: 1px solid var(--border);
  transition: color .2s, padding-left .3s var(--ease);
}
.nav-mobile-link:hover { color: var(--red); padding-left: 16px; }
.nav-mobile-foot {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between;
}

/* ── MARQUEE ── */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  padding: 18px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  flex-wrap: nowrap;
  will-change: transform;
  animation: marqueeScroll 16s linear infinite;
}

.marquee.rev .marquee-track {
  animation-name: marqueeScrollRev;
}

.marquee-group {
  display: flex;
  flex: 0 0 auto;
  width: max-content;
}


.marquee-item {
  display: flex; align-items: center; gap: 28px;
  padding: 0 28px;
  font-family: var(--ff-en);
  font-size: clamp(22px, 2.8vw, 38px);
  text-transform: uppercase; letter-spacing: 0.06em;
  color: rgba(240,237,232,0.25);
  white-space: nowrap;
}
.marquee-star { color: var(--red); font-size: 0.7em; }
@keyframes marqueeScroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes marqueeScrollRev {
  from {
    transform: translate3d(-50%, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

/* ── LAYOUT ── */
.container {
  width: 100%; max-width: 1560px;
  margin: 0 auto; padding: 0 var(--g);
}
.section { padding: clamp(80px, 11vw, 160px) 0; }
.section-dark { background: var(--bg2); }
.section-alt  { background: var(--bg3); }
.rule { height: 1px; background: var(--border); margin: 0 var(--g); }

/* ── TYPOGRAPHY ── */
.display-xl {
  font-family: var(--ff-en);
  font-size: clamp(90px, 16vw, 240px);
  line-height: 0.84; letter-spacing: -0.02em;
  text-transform: uppercase;
}
.display {
  font-family: var(--ff-en);
  font-size: clamp(64px, 10vw, 160px);
  line-height: 0.88; letter-spacing: -0.01em;
  text-transform: uppercase;
}
.h2 {
  font-family: var(--ff-en);
  font-size: clamp(40px, 6vw, 96px);
  line-height: 0.92; letter-spacing: 0.01em;
  text-transform: uppercase;
}
.h3 {
  font-family: var(--ff-en);
  font-size: clamp(28px, 3.5vw, 56px);
  text-transform: uppercase; line-height: 1;
}
.body-xl { font-size: clamp(18px, 1.6vw, 26px); line-height: 1.65; color: var(--dim); }
.body-lg { font-size: clamp(15px, 1.3vw, 21px); line-height: 1.7;  color: var(--dim); }
.body    { font-size: clamp(13px, 1vw,  17px);  line-height: 1.75; color: var(--dim); }
.label {
  font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; font-weight: 600;
  color: var(--dim);
}
.label-line {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 20px;
}
.label-line::before {
  content: ''; width: 28px; height: 1.5px;
  background: var(--red); display: block; flex-shrink: 0;
}
.c-red    { color: var(--red); }
.c-white  { color: var(--white); }
.c-dim    { color: var(--dim); }
.outline  { -webkit-text-stroke: 1.5px rgba(240,237,232,.22); color: transparent; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: all .28s var(--ease);
  position: relative;
}
.btn-fill {
  background: var(--red); color: var(--white);
  padding: 15px 36px; border-radius: 2px;
}
.btn-fill:hover { background: var(--white); color: var(--bg); transform: translateY(-3px); box-shadow: 0 16px 48px rgba(240,5,20,.28); }
.btn-stroke {
  border: 1.5px solid var(--border2); color: var(--white);
  padding: 14px 36px; border-radius: 2px;
}
.btn-stroke:hover { border-color: var(--red); color: var(--red); transform: translateY(-3px); }
.btn-text { color: var(--white); gap: 14px; }
.btn-text:hover { color: var(--red); }
.btn-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid currentColor;
  transition: transform .3s var(--ease);
  flex-shrink: 0;
}
.btn:hover .btn-arrow { transform: rotate(-45deg); }

/* ── SECTION HEADER ── */
.sec-head {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(48px, 7vw, 88px);
  flex-wrap: wrap;
}

/* ── PROJECT CARDS ── */
.proj-card {
  position: relative; border-radius: 6px;
  overflow: hidden; background: var(--bg3);
  display: block; cursor: none;
}
.proj-card-img {
  width: 100%; height: 100%;
  transition: transform 1s var(--ease);
  will-change: transform;
}
.proj-card:hover .proj-card-img { transform: scale(1.07); }
.proj-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,7,10,.95) 0%, rgba(7,7,10,.15) 55%, transparent 100%);
  opacity: .6; transition: opacity .5s;
}
.proj-card:hover .proj-overlay { opacity: 1; }
.proj-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px;
  transform: translateY(6px);
  transition: transform .4s var(--ease);
}
.proj-card:hover .proj-info { transform: none; }
.proj-tags { display: flex; gap: 8px; margin-bottom: 10px; }
.proj-tag {
  font-size: 10px; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--red);
  background: rgba(240,5,20,.1);
  border: 1px solid rgba(240,5,20,.25);
  padding: 3px 10px; border-radius: 100px;
}
.proj-name {
  font-family: var(--ff-en);
  font-size: clamp(20px, 2.5vw, 36px);
  text-transform: uppercase; line-height: 1; margin-bottom: 8px;
}
.proj-meta { display: flex; align-items: center; justify-content: space-between; }
.proj-client { font-size: 12px; letter-spacing: .1em; color: var(--dim); }
.proj-arr {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid rgba(240,237,232,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; opacity: 0;
  transform: rotate(-45deg);
  transition: all .3s var(--ease);
}
.proj-card:hover .proj-arr { opacity: 1; border-color: var(--red); color: var(--red); transform: rotate(0); }

/* ── SERVICE ITEMS ── */
.svc-item {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 32px; align-items: start;
  cursor: none;
  transition: padding-left .3s var(--ease);
}
.svc-item:first-child { border-top: 1px solid var(--border); }
.svc-item:hover { padding-left: 20px; }
.svc-num { font-family: var(--ff-en); font-size: 13px; letter-spacing: .15em; color: var(--red); padding-top: 6px; }
.svc-title {
  font-family: var(--ff-en);
  font-size: clamp(30px, 4vw, 60px);
  text-transform: uppercase; line-height: 1; margin-bottom: 10px;
  transition: color .2s;
}
.svc-item:hover .svc-title { color: var(--red); }
.svc-desc { font-size: 14px; color: var(--dim); max-width: 480px; line-height: 1.7; }
.svc-icon { font-size: 32px; opacity: .25; padding-top: 4px; transition: opacity .2s, transform .3s var(--ease); }
.svc-item:hover .svc-icon { opacity: .6; transform: scale(1.2) rotate(-10deg); }
.svc-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.svc-tag-pill {
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--border2);
  padding: 4px 12px; border-radius: 100px; color: var(--dim);
}

/* ── STATS ── */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border-radius: 6px; overflow: hidden;
}
.stat-box { background: var(--bg2); padding: 44px 36px; text-align: center; }
.stat-num {
  font-family: var(--ff-en);
  font-size: clamp(56px, 7vw, 100px);
  line-height: 1; color: var(--red); margin-bottom: 6px;
}
.stat-lbl { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); font-weight: 600; }

/* ── CLIENTS ── */
.clients-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 1px; background: var(--border);
  border-radius: 6px; overflow: hidden;
}
.client-box {
  background: var(--bg2);
  padding: 32px 20px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.client-box:hover { background: var(--bg3); }
.client-name {
  font-family: var(--ff-en); font-size: clamp(13px, 1.2vw, 16px);
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(240,237,232,.28); text-align: center;
  transition: color .2s;
}
.client-box:hover .client-name { color: rgba(240,237,232,.75); }

/* ── PROCESS ── */
.process-list { display: flex; flex-direction: column; gap: 2px; }
.process-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px; align-items: center;
  padding: 28px 32px;
  background: var(--bg2);
  border-radius: 3px;
  cursor: none;
  transition: background .2s, padding-right .3s var(--ease);
}
.process-item:hover { background: var(--bg3); padding-right: 48px; }
.process-n { font-family: var(--ff-en); font-size: 52px; color: var(--red); line-height: 1; }
.process-title { font-family: var(--ff-en); font-size: clamp(22px, 2.5vw, 40px); text-transform: uppercase; line-height: 1; margin-bottom: 4px; }
.process-desc { font-size: 13px; color: var(--dim); }

/* ── PAGE HERO ── */
.page-hero {
  min-height: 60vh;
  display: flex; align-items: flex-end;
  padding-top: var(--nav-h);
  padding-bottom: clamp(60px, 8vw, 100px);
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(240,5,20,.06) 0%, transparent 55%);
  pointer-events: none;
}

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.contact-info { }
.contact-detail { padding: 24px 0; border-bottom: 1px solid var(--border); }
.contact-detail:first-child { border-top: 1px solid var(--border); }
.contact-detail-label { font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; font-weight: 600; }
.contact-detail-val { font-size: 17px; font-weight: 600; }
.contact-detail-val a:hover { color: var(--red); }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-label { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--dim); }
.form-field {
  background: var(--bg3);
  border: 1.5px solid var(--border);
  border-radius: 3px;
  padding: 14px 18px;
  color: var(--white);
  font-family: var(--ff-body); font-size: 15px;
  outline: none; width: 100%;
  transition: border-color .25s, box-shadow .25s;
  -webkit-appearance: none;
}
.form-field:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(240,5,20,.08); }
.form-field::placeholder { color: rgba(240,237,232,.2); }
textarea.form-field { resize: vertical; min-height: 130px; }
select.form-field {
  cursor: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23F00514' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 16px center;
  padding-left: 40px;
}
select.form-field option { background: var(--bg3); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── FOOTER ── */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: clamp(60px, 8vw, 120px) var(--g) 40px;
}
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 60px; padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}
.footer-logo { height: 22px; margin-bottom: 20px; }
.footer-logo svg { height: 100%; }
.footer-logo .cls-2 { fill: var(--white); }
.footer-logo .cls-1 { fill: var(--red); }
.footer-tag { font-size: 14px; color: var(--dim); line-height: 1.65; max-width: 280px; }
.footer-col-title { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); margin-bottom: 20px; font-weight: 700; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-lnk { font-size: 14px; color: var(--dim); transition: color .2s; }
.footer-lnk:hover { color: var(--white); }
.footer-socials { display: flex; flex-direction: column; gap: 12px; }
.footer-soc { font-size: 14px; color: var(--dim); display: flex; align-items: center; gap: 8px; transition: color .2s; }
.footer-soc:hover { color: var(--red); }
.footer-bottom {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: 12px; color: var(--dim); }
.back-top {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--dim);
  transition: all .25s var(--ease);
}
.back-top:hover { border-color: var(--red); color: var(--red); transform: translateY(-4px); }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(240,5,20,.35); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* ── GSAP INITIAL STATES — handled below with transitions ── */

/* ── RESPONSIVE ── */
@media(max-width:1100px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .clients-grid { grid-template-columns: repeat(3,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media(max-width:768px) {
  :root { --nav-h: 64px; }
  body { cursor: auto; }
  .cursor { display: none; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; }
  .svc-item { grid-template-columns: 60px 1fr; }
  .svc-icon { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .clients-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .process-item { grid-template-columns: 64px 1fr; padding: 20px; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
}
@media(max-width:480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: 1fr 1fr; }
}
</style>

/* ══ LANGUAGE TOGGLE ══ */
/* ══ LANGUAGE TOGGLE ══ */
.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  height: 42px;
  padding: 0 16px;

  border-radius: 999px;
  border: 1px solid rgba(240, 5, 20, .65);
  background: rgba(240, 5, 20, .10);

  color: var(--white);
  font-family: var(--ff-en);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1;

  cursor: pointer;
  white-space: nowrap;
  transition: all .25s var(--ease);
}

.lang-btn:hover {
  border-color: var(--red);
  background: rgba(240, 5, 20, .18);
  box-shadow: 0 0 0 4px rgba(240, 5, 20, .10);
}

.lang-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 24px;
  padding: 0 8px;

  border-radius: 999px;
  color: rgba(255, 255, 255, .72);
  line-height: 1;
}

.lang-option.active {
  background: var(--red);
  color: var(--white);
}

.lang-ar {
  font-family: 'Tajawal', sans-serif;
  letter-spacing: 0;
  font-weight: 800;
}

.lang-divider {
  color: rgba(255, 255, 255, .35);
  font-weight: 700;
}
.lang-btn:hover{border-color:var(--red);background:rgba(240,5,20,.08);}
[dir="rtl"] .h-stat{padding-right:32px;padding-left:0;border-right:1px solid var(--border);border-left:none;}
[dir="rtl"] .h-stat:first-child{border-right:none;padding-right:0;}
[dir="rtl"] .label-line{flex-direction:row-reverse;}
[dir="rtl"] .label-line::before{margin-left:0;}
[dir="rtl"] .svc-item{direction:rtl;}
[dir="rtl"] .footer-top{direction:rtl;}
[dir="rtl"] .nav-mobile-link:hover{padding-right:16px;padding-left:0;}
[dir="rtl"] .scroll-cue{right:auto;left:var(--g);}
[dir="rtl"] .statement-title{font-family:'Tajawal',sans-serif;font-weight:900;}
[dir="rtl"] .cta-title{font-family:'Tajawal',sans-serif;font-weight:900;}
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;900&display=swap');
[dir="rtl"] .body-xl,[dir="rtl"] .body-lg,[dir="rtl"] .body,[dir="rtl"] .svc-desc,[dir="rtl"] .process-desc,[dir="rtl"] .footer-tag{font-family:'Tajawal',sans-serif;}

/* ══ LOGO TRUST ══ */
.logo-trust{padding:clamp(60px,8vw,100px) var(--g);border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:var(--bg2);text-align:center;}
.logo-trust-inner{display:flex;flex-direction:column;align-items:center;gap:32px;}
.logo-trust-mark{width:min(520px,72vw);filter:drop-shadow(0 0 60px rgba(240,5,20,.18));animation:logoFloat 4s ease-in-out infinite;}
@keyframes logoFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
.logo-trust-tagline{font-family:var(--ff-en);font-size:clamp(11px,1.2vw,14px);letter-spacing:.3em;text-transform:uppercase;color:var(--dim);}
.logo-trust-tagline span{color:var(--red);}
.logo-trust-dividers{display:flex;align-items:center;gap:16px;width:min(400px,60vw);}
.logo-trust-line{flex:1;height:1px;background:var(--border);}
.logo-trust-star{color:var(--red);font-size:14px;}

/* ══ SCROLL REVEAL — IntersectionObserver classes ══ */
.gsap-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.gsap-fade {
  opacity: 0;
  transition: opacity 0.9s ease;
}
.gsap-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.gsap-fade.visible {
  opacity: 1;
}
[data-stagger-item] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
[data-stagger-item].visible {
  opacity: 1;
  transform: translateY(0);
}
/* إخفاء نسبة التحميل 0% */
.loader-percent,
.preloader-percent,
.loading-percent,
.progress-percent,
.percentage,
.percent,
#percent,
#percentage,
#progress-percent {
  display: none !important;
}
.l-pct {
  display: none !important;
}

/* ===== Home Projects Editorial Grid ===== */
#homeProjects .home-projects-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

#homeProjects .proj-card {
  width: 100%;
  min-width: 0;
}

#homeProjects .home-featured {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 520px;
  aspect-ratio: auto;
}

#homeProjects .home-wide {
  grid-column: span 2;
  aspect-ratio: 16 / 8;
}

#homeProjects .home-normal {
  grid-column: span 1;
  aspect-ratio: 1 / 1.05;
}

#homeProjects .proj-card.gsap-up {
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 1000px) {
  #homeProjects .home-projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #homeProjects .home-featured,
  #homeProjects .home-wide {
    grid-column: span 2;
  }

  #homeProjects .home-featured {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  #homeProjects .home-projects-grid {
    grid-template-columns: 1fr;
  }

  #homeProjects .home-featured,
  #homeProjects .home-wide,
  #homeProjects .home-normal {
    grid-column: span 1;
    grid-row: auto;
    min-height: 320px;
    aspect-ratio: 16 / 11;
  }
}
.clients-grid a.client-box {
  text-decoration: none;
  color: inherit;
}

.clients-grid a.client-box:hover {
  cursor: pointer !important;
}
/* ===== Language switch: text-only active state ===== */
.lang-option.active {
  background: transparent !important;
  color: var(--red) !important;
}

.lang-option {
  background: transparent !important;
}

.lang-btn {
  background: transparent !important;
  box-shadow: none !important;
}

.lang-btn:hover {
  background: transparent !important;
  box-shadow: none !important;
}

.lang-divider {
  color: rgba(255, 255, 255, .35) !important;
}
#ftPhone,
#ctPhone {
  direction: ltr !important;
  unicode-bidi: isolate !important;
}

/* ===== Home Projects Editorial Grid ===== */
#homeProjects {
  width: 100%;
}

#homeProjects .home-projects-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

#homeProjects .proj-card {
  width: 100%;
  min-width: 0;
  display: block;
}

#homeProjects .home-featured {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 520px;
  aspect-ratio: auto;
}

#homeProjects .home-wide {
  grid-column: span 2;
  min-height: 260px;
  aspect-ratio: 16 / 8;
}

#homeProjects .home-normal {
  grid-column: span 1;
  min-height: 260px;
  aspect-ratio: 1 / 1.05;
}

#homeProjects .proj-card.gsap-up {
  opacity: 1 !important;
  transform: none !important;
}

#homeProjects .proj-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1000px) {
  #homeProjects .home-projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #homeProjects .home-featured,
  #homeProjects .home-wide {
    grid-column: span 2;
  }

  #homeProjects .home-featured {
    min-height: 420px;
  }

  #homeProjects .home-normal,
  #homeProjects .home-wide {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  #homeProjects .home-projects-grid {
    grid-template-columns: 1fr;
  }

  #homeProjects .home-featured,
  #homeProjects .home-wide,
  #homeProjects .home-normal {
    grid-column: span 1;
    grid-row: auto;
    min-height: 320px;
    aspect-ratio: 16 / 11;
  }
}
/* ===== Home Projects Editorial Grid ===== */
#homeProjects {
  width: 100%;
  display: block;
}

#homeProjects .home-projects-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

#homeProjects .proj-card {
  width: 100%;
  min-width: 0;
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: var(--bg3);
}

#homeProjects .home-featured {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 520px;
  aspect-ratio: auto;
}

#homeProjects .home-wide {
  grid-column: span 2;
  min-height: 260px;
  aspect-ratio: 16 / 8;
}

#homeProjects .home-normal {
  grid-column: span 1;
  min-height: 260px;
  aspect-ratio: 1 / 1.05;
}

#homeProjects .proj-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#homeProjects .proj-card.visible,
#homeProjects .proj-card.gsap-up {
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 1000px) {
  #homeProjects .home-projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #homeProjects .home-featured,
  #homeProjects .home-wide {
    grid-column: span 2;
  }

  #homeProjects .home-featured {
    min-height: 420px;
  }

  #homeProjects .home-normal,
  #homeProjects .home-wide {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  #homeProjects .home-projects-grid {
    grid-template-columns: 1fr;
  }

  #homeProjects .home-featured,
  #homeProjects .home-wide,
  #homeProjects .home-normal {
    grid-column: span 1;
    grid-row: auto;
    min-height: 320px;
    aspect-ratio: 16 / 11;
  }
}
/* Keep numbers and website links readable */
[dir="rtl"] [data-count],
[dir="rtl"] .svc-num,
[dir="rtl"] .process-n,
[dir="rtl"] #ftPhone,
[dir="rtl"] #ctPhone,
[dir="rtl"] .footer-email,
[dir="rtl"] #ftEmail {
  font-family: 'Instrument Sans', sans-serif !important;
  direction: ltr !important;
  unicode-bidi: isolate !important;
}
/* ===== FINAL RTL TYPOGRAPHY CLEAN SYSTEM ===== */

/* Arabic base text */
html[dir="rtl"] body,
html[dir="rtl"] p,
html[dir="rtl"] a,
html[dir="rtl"] li,
html[dir="rtl"] button,
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select,
html[dir="rtl"] .nav-link,
html[dir="rtl"] .footer-lnk,
html[dir="rtl"] .footer-soc,
html[dir="rtl"] .label,
html[dir="rtl"] .body,
html[dir="rtl"] .body-lg,
html[dir="rtl"] .svc-desc,
html[dir="rtl"] .process-desc,
html[dir="rtl"] .footer-desc,
html[dir="rtl"] .proj-client,
html[dir="rtl"] .proj-tag,
html[dir="rtl"] .svc-tag-pill {
  font-family: 'Thmanyah Serif Text', 'Tajawal', 'Tahoma', sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-feature-settings: normal !important;
}

/* Arabic main display titles */
html[dir="rtl"] .hero-headline,
html[dir="rtl"] .hero-headline .line:not(.outline),
html[dir="rtl"] .display,
html[dir="rtl"] .h1,
html[dir="rtl"] .h2,
html[dir="rtl"] .statement-title,
html[dir="rtl"] .cta-title,
html[dir="rtl"] .svc-title,
html[dir="rtl"] .proj-name,
html[dir="rtl"] .client-name {
  font-family: 'Thmanyah Serif Display', 'Thmanyah Serif Text', 'Tajawal', sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  line-height: 1.18 !important;
  overflow: visible !important;
}

/* Arabic gray hero middle word: Thmanyah font without opacity blur */
html[dir="rtl"] #homeHeroLine2,
html[dir="rtl"] .hero-headline .outline {
  font-family: 'Thmanyah Serif Display', 'Thmanyah Serif Text', 'Tajawal', sans-serif !important;
  font-weight: 900 !important;
  color: #808080 !important;
  opacity: 1 !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  -webkit-text-stroke: 0 !important;
  text-stroke: 0 !important;
  text-shadow: none !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  transform: none !important;
  font-feature-settings: normal !important;
  -webkit-font-smoothing: antialiased !important;
}

/* Arabic marquee container */
html[dir="rtl"] .marquee {
  overflow: hidden !important;
  padding-top: 28px !important;
  padding-bottom: 28px !important;
}

html[dir="rtl"] .marquee-track {
  align-items: center !important;
}

/* Hide inherited font size on item and control text only through .marquee-word */
html[dir="rtl"] .marquee-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 34px !important;
  padding: 0 34px !important;
  font-size: 0 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  direction: rtl !important;
  color: inherit !important;
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

/* Arabic marquee word: Thmanyah font, solid gray, no opacity */
html[dir="rtl"] .marquee-word {
  display: inline-block !important;
  font-family: 'Thmanyah Serif Display', 'Thmanyah Serif Text', 'Tajawal', sans-serif !important;
  font-size: clamp(30px, 3vw, 46px) !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #808080 !important;
  opacity: 1 !important;
  white-space: nowrap !important;
  -webkit-text-stroke: 0 !important;
  text-stroke: 0 !important;
  text-shadow: none !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  transform: none !important;
  font-feature-settings: normal !important;
  -webkit-font-smoothing: antialiased !important;
}

html[dir="rtl"] .marquee-star {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: 'Instrument Sans', Arial, sans-serif !important;
  font-size: 22px !important;
  line-height: 1 !important;
  color: var(--red) !important;
  opacity: 1 !important;
  flex-shrink: 0 !important;
}

/* Arabic navigation */
html[dir="rtl"] .nav-link {
  font-family: 'Thmanyah Serif Display', 'Thmanyah Serif Text', 'Tajawal', sans-serif !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* Arabic paragraphs and gray descriptions */
html[dir="rtl"] .body,
html[dir="rtl"] .body-lg,
html[dir="rtl"] .svc-desc,
html[dir="rtl"] .process-desc,
html[dir="rtl"] .footer-desc {
  font-family: 'Thmanyah Serif Text', 'Tajawal', sans-serif !important;
  font-weight: 400 !important;
  line-height: 1.9 !important;
}

/* Keep numbers, emails, and phone readable */
html[dir="rtl"] [data-count],
html[dir="rtl"] .svc-num,
html[dir="rtl"] .process-n,
html[dir="rtl"] #ftPhone,
html[dir="rtl"] #ctPhone,
html[dir="rtl"] #ftEmail,
html[dir="rtl"] .footer-email {
  font-family: 'Instrument Sans', sans-serif !important;
  direction: ltr !important;
  unicode-bidi: isolate !important;
}

/* Home stats Arabic suffix fix */
html[dir="rtl"] .h-stat-n {
  direction: rtl !important;
  unicode-bidi: plaintext !important;
  display: inline-block !important;
}
/* ===== True item-by-item news ticker ===== */
.marquee {
  overflow: hidden !important;
}

.marquee-track {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  overflow: visible !important;
  animation: none !important;
  transition: none !important;
  transform: none !important;
  will-change: auto !important;
}

.marquee.rev .marquee-track {
  animation: none !important;
  transform: none !important;
}

.marquee-track.ticker-ready .marquee-item {
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  flex: none !important;
  will-change: transform !important;
}

.marquee-group {
  display: contents !important;
}

html[dir="rtl"] .marquee-track {
  animation: none !important;
  transition: none !important;
  transform: none !important;
}

html[dir="rtl"] .marquee-track.ticker-ready .marquee-item {
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
}
/* ===== Ticker anti-jitter rendering fix ===== */
.marquee {
  contain: paint !important;
}

.marquee-track.ticker-ready .marquee-item {
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
  transform-style: preserve-3d !important;
  text-rendering: geometricPrecision !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

html[dir="rtl"] .marquee-word,
html[dir="rtl"] .marquee-item {
  text-rendering: geometricPrecision !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}
/* ===== Project Video Section ===== */
.project-video-wrap {
  width: 100%;
  margin: 0 0 clamp(40px, 5vw, 72px);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg2);
  border: 1px solid var(--border);
}

.project-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}