:root {
  --ink: #0f1318;
  --ink-2: #171c23;
  --ink-3: #20262f;
  --text: #2a2e35;
  --muted: #555a62;
  --paper: #f8f5ef;
  --sand: #ede4d4;
  --sand-2: #dfd0b6;
  --gold: #c99a55;
  --gold-ink: #7a5520;
  --gold-btn: #8a6127;
  --on-dark: rgba(255, 255, 255, .84);
  --on-dark-2: #e6d7bd;
  --line: rgba(15, 19, 24, .12);
  --line-dark: rgba(255, 255, 255, .14);
  --display: "Alexandria", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --sans: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --r: 18px;
  --r-sm: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--paper); line-height: 1.8; font-size: 17px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0 0 .5em; line-height: 1.3; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5vw, 4.1rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.15rem; line-height: 1.5; }
p { margin: 0 0 1em; }
[dir="ltr"] body { line-height: 1.65; }
[dir="ltr"] h1, [dir="ltr"] h2 { line-height: 1.12; letter-spacing: -.02em; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
[dir="ltr"] .btn .ic, [dir="ltr"] .card__cta .ic { transform: scaleX(-1); }

/* Eyebrow with index number */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .9rem; font-weight: 600; color: var(--gold-ink); margin-bottom: 14px; }
.eyebrow__n { font-family: var(--display); font-size: .78rem; line-height: 1.4; border: 1px solid currentColor; border-radius: 99px; padding: 4px 11px; }
.eyebrow--light { color: var(--on-dark-2); }
[dir="ltr"] .eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: .85em 1.5em; border-radius: 99px; text-decoration: none; font: inherit; font-weight: 600; font-size: .95rem; border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:hover .ic { transform: translateX(-4px); }
[dir="ltr"] .btn:hover .ic { transform: scaleX(-1) translateX(-4px); }
.btn .ic { transition: transform .25s var(--ease); }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .55); }
.btn--gold:hover { background: #d6a964; }
.btn--line { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--line:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 30; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.nav.is-solid { background: rgba(15, 19, 24, .82); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line-dark); }
.nav__inner { display: flex; align-items: center; gap: 18px; height: 76px; }
.nav__brand img { height: 42px; width: auto; }
.nav__links { display: flex; gap: 4px; margin-inline-start: auto; align-items: center; }
.nav__links a { color: rgba(255, 255, 255, .84); text-decoration: none; font-size: .9rem; white-space: nowrap; padding: 6px 11px; border-radius: 99px; transition: color .2s, background .2s; }
.nav__links a:hover, .nav__links a.is-active { color: #fff; background: rgba(255, 255, 255, .08); }
.nav__links .nav__cta { background: var(--gold); color: var(--ink); margin-inline-start: 6px; font-weight: 600; }
.nav__links .nav__cta:hover { background: #d6a964; color: var(--ink); }
.lang { font: 600 .82rem/1 var(--display); color: #fff; background: transparent; border: 1px solid rgba(255, 255, 255, .35); border-radius: 99px; padding: 8px 12px; cursor: pointer; transition: background .2s, border-color .2s; }
.lang:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.burger { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; padding: 10px 9px; }
.burger span { display: block; height: 2px; background: #fff; margin: 6px 0; border-radius: 2px; transition: transform .25s var(--ease); }
.nav.is-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero { position: relative; background-color: var(--ink); background-image: radial-gradient(120% 90% at 85% 10%, #26303b 0%, var(--ink) 55%); color: #fff; overflow: hidden; padding-top: 76px; }
.contours { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--gold); opacity: .16; animation: drift 40s linear infinite alternate; }
@keyframes drift { to { transform: translate3d(-40px, 24px, 0) scale(1.04); } }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 88px); align-items: center; padding-block: clamp(48px, 8vw, 104px) clamp(56px, 7vw, 96px); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--on-dark-2); border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .04); border-radius: 99px; padding: 6px 14px; margin-bottom: 24px; }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.12rem; color: var(--on-dark); max-width: 600px; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__visual { position: relative; padding: 24px 0 40px; }
.arch { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r) var(--r); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); border: 1px solid rgba(255, 255, 255, .1); }
.arch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.hero__visual.in .arch img { transform: scale(1); }
.arch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(15, 19, 24, .45)); }
.chip { position: absolute; display: flex; align-items: center; gap: 12px; background: rgba(23, 28, 35, .78); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; padding: 12px 16px; color: #fff; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8); max-width: 280px; }
.chip .ic { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: rgba(201, 154, 85, .16); color: var(--gold); }
.chip__k { display: block; font-size: .78rem; color: var(--on-dark-2); }
.chip strong { display: block; font-family: var(--display); font-weight: 600; font-size: .98rem; line-height: 1.4; }
.chip--a { inset-inline-start: -28px; top: 18%; animation: bob 6s ease-in-out infinite; }
.chip--b { inset-inline-end: -16px; bottom: 6%; animation: bob 7s ease-in-out -2s infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }

.ticker { position: relative; border-top: 1px solid var(--line-dark); overflow: hidden; padding-block: 18px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 30s linear infinite; font-family: var(--display); font-size: 1.05rem; color: rgba(255, 255, 255, .78); white-space: nowrap; }
.ticker__track i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
@keyframes marquee { to { transform: translateX(50%); } }
[dir="ltr"] .ticker__track { animation-name: marquee-ltr; }
@keyframes marquee-ltr { to { transform: translateX(-50%); } }

/* Sections */
.section { padding-block: clamp(80px, 11vw, 140px); }
.section--sand { background: var(--sand); }
.head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }

/* Company */
.company { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.company__lead { font-size: 1.1rem; color: var(--muted); margin: 0; }
.company__statement { margin: 0; font-family: var(--display); font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.7; color: var(--ink); font-weight: 500; }
[dir="ltr"] .company__statement { line-height: 1.45; }
.approach { margin-top: clamp(64px, 9vw, 104px); }
.approach__title { font-size: 1.3rem; margin-bottom: 28px; }
.approach__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.approach__list li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px 28px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.approach__list li:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(15, 19, 24, .4); border-color: rgba(201, 154, 85, .6); }
.step { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--gold); font-family: var(--display); font-weight: 600; margin-bottom: 18px; }
.approach__list p { margin: 0; color: var(--ink); font-weight: 500; line-height: 1.7; }

/* Resource */
.resource { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.resource::before { content: ""; position: absolute; inset: 0; background: url("assets/site.jpg") center 65% / cover no-repeat; opacity: .22; filter: grayscale(.3); }
.resource::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 15%, rgba(15, 19, 24, .55) 60%, rgba(15, 19, 24, .85)); }
[dir="ltr"] .resource::after { background: linear-gradient(270deg, var(--ink) 15%, rgba(15, 19, 24, .55) 60%, rgba(15, 19, 24, .85)); }
.resource__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding-block: clamp(88px, 12vw, 150px); }
.resource h2 { color: #fff; }
.resource__text > p:not(.eyebrow) { color: var(--on-dark); max-width: 540px; }
.resource__loc { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark-2) !important; font-weight: 500; margin: 8px 0 0; }
.resource__loc .ic { color: var(--gold); }
.resource__stat { position: relative; border: 1px solid var(--line-dark); border-radius: var(--r); padding: clamp(28px, 4vw, 44px); background: rgba(23, 28, 35, .6); backdrop-filter: blur(6px); overflow: hidden; }
.stat__k { display: block; color: var(--on-dark-2); font-size: .95rem; margin-bottom: 6px; }
.stat__v { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-family: var(--display); font-weight: 700; line-height: 1; }
.stat__v .num { font-size: clamp(2.8rem, 6.4vw, 5.2rem); color: #fff; letter-spacing: -.02em; }
.stat__u { font-size: 1.6rem; color: var(--gold); }
.stat__grid { position: absolute; inset-inline-end: -40px; bottom: -40px; width: 200px; height: 200px; background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px); background-size: 20px 20px; mask-image: radial-gradient(circle at 70% 70%, #000, transparent 70%); }

/* Products */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid rgba(15, 19, 24, .08); border-radius: var(--r); padding: 28px; transition: transform .35s var(--ease), box-shadow .35s; overflow: hidden; }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(15, 19, 24, .45); }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { color: var(--muted); flex: 1; margin-bottom: 24px; }
.card__cta { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-weight: 600; text-decoration: none; color: var(--ink); background: var(--sand); border-radius: 99px; padding: .6em 1.1em; transition: background .25s, color .25s; }
.card__cta:hover { background: var(--ink); color: #fff; }
.note { margin: 36px 0 0; font-family: var(--display); font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink); font-weight: 500; }
.note--plain { font-family: var(--sans); font-size: 1rem; font-weight: 400; color: var(--muted); }

/* Sectors */
.sectors { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.sectors li { display: flex; align-items: center; gap: 20px; padding: 24px 4px; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 500; color: var(--ink); transition: color .3s; }
.sectors li > span { transition: transform .3s var(--ease); }
.sectors li:hover { color: var(--gold-ink); }
.sectors li:hover > span { transform: translateX(-10px); }
[dir="ltr"] .sectors li:hover > span { transform: translateX(10px); }
.sectors__n { font-size: .85rem; color: var(--gold-ink); min-width: 28px; }
.sectors__more { color: var(--muted) !important; font-size: 1.05rem !important; }

/* Quality */
.quality { background: var(--ink-2); color: #fff; padding-block: clamp(80px, 11vw, 140px); }
.quality__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.quality blockquote { margin: 0 0 28px; font-family: var(--display); font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.65; font-weight: 500; color: #fff; }
[dir="ltr"] .quality blockquote { line-height: 1.35; }
.quality__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.quality__tags li { border: 1px solid var(--line-dark); border-radius: 99px; padding: 6px 14px; color: var(--on-dark-2); font-size: .9rem; }
.curve { width: 100%; color: #fff; }
.curve__fill { fill: rgba(201, 154, 85, .14); }
.curve__line { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 2s var(--ease) .2s; }
.curve.in .curve__line { stroke-dashoffset: 0; }

/* Partnerships */
.sub { font-size: 1.1rem; margin-bottom: 18px; }
.markets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: clamp(48px, 7vw, 72px); }
.market { display: grid; gap: 6px; padding: 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.market__n { font-family: var(--display); font-size: 2.2rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold-ink); margin-bottom: 14px; direction: ltr; text-align: start; }
.market strong { font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 1.1rem; }
.market > span:last-child { color: var(--muted); font-size: .95rem; }
.collab { display: grid; grid-template-columns: auto 1fr auto; gap: 16px 32px; align-items: center; padding: 28px; border-radius: var(--r); background: var(--sand); }
.collab .sub { margin: 0; }
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { background: var(--paper); border: 1px solid rgba(15, 19, 24, .1); border-radius: 99px; padding: 8px 16px; font-weight: 600; color: var(--ink); font-size: .95rem; }

/* Contact */
.contact { background-color: var(--ink); background-image: radial-gradient(90% 80% at 10% 0%, #232b35 0%, var(--ink) 60%); color: var(--on-dark); padding-block: clamp(80px, 11vw, 140px); }
.contact__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact h2 { color: #fff; }
.contact__side > p { color: var(--on-dark); }
.contact__list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; }
.contact__list li { display: grid; gap: 2px; padding: 16px 18px; border: 1px solid var(--line-dark); border-radius: var(--r-sm); background: rgba(255, 255, 255, .03); }
.contact__list span { font-size: .82rem; color: var(--on-dark-2); }
.contact__list a, .contact__list b { color: #fff; text-decoration: none; font-weight: 500; justify-self: start; }
.contact__list a:hover { color: var(--gold); }

.form { background: #fff; color: var(--text); border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.form__group { border: 0; padding: 0; margin: 0 0 26px; }
.form__group legend, .field label { display: block; font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-block; padding: 9px 16px; border-radius: 99px; border: 1px solid rgba(15, 19, 24, .18); background: var(--paper); font-size: .92rem; font-weight: 500; color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.choice:hover span { border-color: var(--ink); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.form__group.is-invalid .choice span { border-color: #c2412b; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 16px; }
.field { display: grid; gap: 0; }
.field--full { grid-column: 1 / -1; }
.field label { margin-bottom: 6px; font-size: .85rem; }
.field input, .field textarea { font: inherit; font-size: .98rem; color: var(--ink); background: var(--paper); border: 1px solid rgba(15, 19, 24, .14); border-radius: 12px; padding: .75em .9em; width: 100%; transition: border-color .2s, background .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:hover, .field textarea:hover { border-color: rgba(15, 19, 24, .3); }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--gold-btn); box-shadow: 0 0 0 4px rgba(201, 154, 85, .2); }
.field.is-invalid input { border-color: #c2412b; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--line); }
.form__status { margin: 0; font-size: .95rem; font-weight: 500; }
.form__status.ok { color: #1f7a45; }
.form__status.err { color: #b0331f; }
.form.is-sending .btn { opacity: .6; pointer-events: none; }

/* Footer */
.footer { background: #0a0d11; color: rgba(255, 255, 255, .72); font-size: .88rem; padding-block: 40px; }
.footer__inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: #fff; }
.footer p { margin: 0; }
.footer__copy { margin-inline-start: auto; }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1120px) {
  .burger { display: block; }
  .nav__links { position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 2px; background: rgba(15, 19, 24, .97); backdrop-filter: blur(14px); padding: 10px 16px 24px; transform: translateY(-120%); transition: transform .35s var(--ease); z-index: -1; max-height: calc(100svh - 76px); overflow: auto; margin: 0; }
  .nav__links a { padding: 13px 14px; font-size: 1rem; border-radius: 12px; }
  .nav__links .nav__cta { margin: 12px 0 0; text-align: center; }
  .nav.is-open .nav__links { transform: none; }
  .nav.is-open { background: rgba(15, 19, 24, .97); }
  .lang { margin-inline-start: auto; }
  .approach__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero__grid, .company, .resource__grid, .quality__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 440px; width: 100%; margin-inline: auto; }
  .cards, .markets { grid-template-columns: 1fr; }
  .collab { grid-template-columns: 1fr; }
  .collab .btn { justify-self: start; }
  .curve { max-width: 420px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .chip { max-width: 230px; padding: 10px 12px; }
  .chip--a { inset-inline-start: -6px; }
  .chip--b { inset-inline-end: -6px; }
  .approach__list, .sectors, .form__row { grid-template-columns: 1fr; }
  .footer__copy { margin-inline-start: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .curve__line { stroke-dashoffset: 0; }
}
