:root {
  --ink: #123038;
  --ink-deep: #09242c;
  --forest: #174b42;
  --moss: #5c8f64;
  --leaf: #b8d58b;
  --navy: #123038;
  --green: #5c8f64;
  --green-soft: #b8d58b;
  --clay: #d38458;
  --paper: #f6f5ed;
  --paper-deep: #ebe8dc;
  --white: #ffffff;
  --muted: #5a6c68;
  --line: rgba(18, 48, 56, 0.14);
  --container: min(1240px, calc(100vw - 3rem));
  --shadow: 0 24px 64px rgba(15, 44, 49, 0.13);
  --soft-shadow: 0 12px 32px rgba(15, 44, 49, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; line-height: 1.6; }
body::before { position: fixed; z-index: -1; inset: 0; content: ""; pointer-events: none; opacity: 0.35; background-image: linear-gradient(rgba(18, 48, 56, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 48, 56, 0.025) 1px, transparent 1px); background-size: 42px 42px; }
::selection { background: var(--leaf); color: var(--ink-deep); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }
.container { width: var(--container); margin: 0 auto; }
.skip-link { position: fixed; z-index: 100; top: -4rem; left: 1rem; padding: .65rem 1rem; border-radius: 0 0 6px 6px; background: var(--leaf); color: var(--ink-deep); font-weight: 700; }
.skip-link:focus { top: 0; }

.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid rgba(246,245,237,.13); background: rgba(9,36,44,.9); backdrop-filter: blur(18px); transition: background .25s ease, box-shadow .25s ease; }
.site-header.is-scrolled { background: rgba(9,36,44,.98); box-shadow: 0 12px 34px rgba(0,0,0,.16); }
.header-inner { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 2rem; }
.brand, .footer-brand { display: flex; align-items: center; gap: .8rem; }
.brand-logo { width: 51px; height: 51px; padding: 2px; object-fit: contain; border-radius: 50%; background: var(--paper); }
.brand-copy { display: grid; gap: .05rem; }
.brand-mark { color: var(--white); font-family: "DM Serif Display", serif; font-size: 1.3rem; letter-spacing: .02em; line-height: 1; }
.brand-sub { color: rgba(255,255,255,.6); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 1.28rem; }
.site-nav a { position: relative; color: rgba(255,255,255,.72); font-size: .83rem; font-weight: 600; letter-spacing: .03em; transition: color .2s ease; }
.site-nav > a:not(.cta-button)::after { position: absolute; right: 0; bottom: -.52rem; left: 0; height: 1px; content: ""; transform: scaleX(0); transform-origin: left; background: var(--leaf); transition: transform .22s ease; }
.site-nav > a:hover, .site-nav > a.active { color: var(--white); }
.site-nav > a:hover::after, .site-nav > a.active::after { transform: scaleX(1); }
.nav-toggle { display: none; border: 0; background: none; color: var(--white); font-size: 1.45rem; }
.language-picker { display: inline-flex; width: auto; margin: 0; color: rgba(255,255,255,.72); }
.language-picker select { width: auto; min-height: 34px; padding: .25rem .4rem; border: 1px solid rgba(255,255,255,.25); border-radius: 2px; color: var(--white); background: rgba(255,255,255,.08); font-family: inherit; font-size: .68rem; font-weight: 700; letter-spacing: .06em; }
.language-picker option { color: var(--ink); background: var(--paper); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
[dir="rtl"] body { font-family: "Noto Kufi Arabic", "DM Sans", sans-serif; }
[dir="rtl"] .eyebrow, [dir="rtl"] .section-tag { letter-spacing: .06em; }
[dir="rtl"] .eyebrow::before, [dir="rtl"] .section-tag::before { order: 2; }
[dir="rtl"] .section-copy, [dir="rtl"] .lead { text-align: right; }

h1, h2, h3, h4 { margin: 0; color: var(--ink-deep); font-family: "DM Serif Display", serif; font-weight: 400; letter-spacing: -.025em; line-height: .98; }
h1 { max-width: 12ch; font-size: clamp(3.8rem, 8vw, 7.75rem); }
h2 { max-width: 15ch; font-size: clamp(2.7rem, 4.8vw, 4.6rem); }
h3 { font-size: clamp(1.45rem, 2vw, 1.85rem); }
h4 { font-size: 1.15rem; }
.lead { max-width: 59ch; margin: 1.35rem 0 0; color: rgba(255,255,255,.78); font-size: 1.05rem; }
.eyebrow, .section-tag, .kicker { display: inline-flex; align-items: center; gap: .65rem; color: var(--moss); font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before, .section-tag::before { width: 2rem; height: 1px; content: ""; background: currentColor; }
.hero .eyebrow, .page-hero .eyebrow { color: var(--leaf); }
.button-row, .hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button, .cta-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .78rem 1.12rem; border: 1px solid transparent; border-radius: 2px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover, .cta-button:hover { transform: translateY(-3px); }
.button.primary, .cta-button { background: var(--leaf); color: var(--ink-deep); box-shadow: 0 8px 20px rgba(184,213,139,.17); }
.button.primary:hover, .cta-button:hover { background: #d1e7a8; }
.button.secondary { border-color: rgba(255,255,255,.45); color: var(--white); }
.button.secondary:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
.button.outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.button.outline:hover { background: var(--ink); color: var(--white); }

.hero, .page-hero { position: relative; isolation: isolate; overflow: hidden; color: var(--white); background-color: var(--ink-deep); background-position: center; background-size: cover; }
.hero-slider { position: relative; }.hero-slider .hero-slide { display: none; }.hero-slider .hero-slide.is-active { display: grid; }.hero-video { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }.hero-slider-controls { position: absolute; z-index: 3; right: 2rem; bottom: 2rem; display: flex; gap: .5rem; }.hero-slider-controls button { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.55); color: var(--white); background: rgba(9,36,44,.55); cursor: pointer; }
.hero h1, .page-hero h1 { color: var(--white); }
.hero::after, .page-hero::after { position: absolute; z-index: -1; right: -10vw; bottom: -30vw; width: 52vw; height: 52vw; content: ""; border: 1px solid rgba(184,213,139,.35); border-radius: 50%; box-shadow: 0 0 0 3.5vw rgba(184,213,139,.08), 0 0 0 7vw rgba(184,213,139,.05); }
.hero { display: grid; min-height: min(860px, 92vh); align-items: center; }
.page-hero { display: grid; min-height: 540px; align-items: end; }
.hero-content, .page-hero-content { position: relative; padding: 8.75rem 0 5.5rem; }
.page-hero-content { padding-bottom: 5rem; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(285px, .65fr); gap: clamp(2rem, 6vw, 7rem); align-items: end; }
.hero-panel { padding: 1.7rem; border: 1px solid rgba(255,255,255,.22); background: rgba(9,36,44,.5); backdrop-filter: blur(14px); }
.hero-panel h3 { color: var(--white); font-size: 2rem; }
.hero-panel p { color: rgba(255,255,255,.7); }
.hero-mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1rem; margin-top: 1.4rem; }
.hero-mini-stats div { padding-top: .8rem; border-top: 1px solid rgba(255,255,255,.22); }
.hero-mini-stats strong { display: block; color: var(--leaf); font-family: "DM Serif Display", serif; font-size: 1.75rem; }
.hero-mini-stats span { display: block; color: rgba(255,255,255,.67); font-size: .76rem; line-height: 1.35; }

.section { position: relative; padding: clamp(4.5rem, 8vw, 8rem) 0; }
.section.alt { background: var(--paper-deep); }
.section.dark { overflow: hidden; color: var(--white); background: var(--forest); }
.section.dark::after { position: absolute; right: 4vw; bottom: -18rem; width: 35rem; height: 35rem; content: ""; border: 1px solid rgba(184,213,139,.22); border-radius: 50%; box-shadow: 0 0 0 4rem rgba(184,213,139,.05), 0 0 0 8rem rgba(184,213,139,.04); }
.section.dark .container { position: relative; z-index: 1; }
.section.dark h2, .section.dark h3, .section.dark .section-copy { color: var(--white); }
.section.dark .section-tag { color: var(--leaf); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .52fr); align-items: end; gap: 3rem; margin-bottom: 2.4rem; }
.section-head h2 { margin-top: .7rem; }
.section-copy { max-width: 57ch; margin: 0; color: var(--muted); font-size: 1rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr); gap: clamp(2rem, 6vw, 6.5rem); align-items: center; }
.spaced > * + * { margin-top: 1rem; }
.spaced h2 + p { margin-top: 1.4rem; }

.stats-band { position: relative; overflow: hidden; padding: 2.3rem 0; color: var(--white); background: var(--clay); }
.stats-band::before { position: absolute; inset: 0; content: ""; opacity: .22; background-image: repeating-linear-gradient(120deg, transparent 0 24px, rgba(255,255,255,.5) 25px 26px); }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat-card { padding: .5rem 1rem; text-align: center; border-left: 1px solid rgba(255,255,255,.45); }
.stat-card:first-child { border-left: 0; }
.stat-card strong { display: block; font-family: "DM Serif Display", serif; font-size: clamp(2.3rem, 4vw, 3.7rem); line-height: 1; }
.stat-card span { font-size: .72rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }

.client-strip { overflow: hidden; padding: clamp(3.5rem, 6vw, 5.5rem) 0; border-bottom: 1px solid var(--line); background: var(--white); }
.client-strip-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.client-strip-heading p { margin: 0; color: var(--muted); font-size: .86rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.client-logo-window { width: max-content; min-width: 100%; overflow: hidden; }
.client-logo-track { display: flex; width: max-content; align-items: center; gap: 1rem; padding: .3rem 0; animation: client-logo-scroll 30s linear infinite; }
.client-logo { display: grid; width: 200px; height: 104px; flex: 0 0 200px; place-items: center; padding: 1.25rem; border: 1px solid var(--line); background: var(--paper); }
.client-logo img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s ease, opacity .2s ease; }
.client-logo:hover img { filter: grayscale(0); opacity: 1; }
@keyframes client-logo-scroll { to { transform: translateX(-50%); } }

.card-grid, .sector-grid, .office-grid, .faq-grid { display: grid; gap: 1.35rem; }
.card-grid { grid-template-columns: repeat(3, 1fr); }
.sector-grid { grid-template-columns: repeat(4, 1fr); }
.office-grid, .faq-grid { grid-template-columns: repeat(3, 1fr); }
.card, .service-card, .office-card, .faq-card { display: flex; min-width: 0; min-height: 100%; flex-direction: column; overflow: hidden; border: 1px solid var(--line); background: rgba(255,255,255,.74); box-shadow: 0 1px 0 rgba(255,255,255,.8) inset; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.card:hover, .service-card:hover, .office-card:hover, .faq-card:hover { z-index: 1; border-color: rgba(23,75,66,.38); box-shadow: var(--shadow); transform: translateY(-7px); }
.media { position: relative; min-height: 235px; background-position: center; background-size: cover; }
.media::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 35%, rgba(9,36,44,.2)); }
.service-body, .card-body, .office-body, .faq-body, .info-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1.55rem; }
.service-body .button { margin-top: auto; }
.service-body h3, .card-body h3 { margin-bottom: .7rem; }
.service-body p, .card-body p { margin-top: 0; }
.pill { display: inline-flex; align-items: center; padding: .28rem .5rem; border-radius: 0; font-size: .62rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.pill.blue { color: var(--white); background: var(--ink); }
.pill.green { color: var(--ink-deep); background: var(--leaf); }
.pill.soft { color: var(--forest); background: #dbe8c4; }
.muted { color: var(--muted); }
.kicker { margin-top: auto; color: var(--moss); font-size: .66rem; }

body[data-page="services.html"] .card-grid { grid-template-columns: repeat(3, 1fr); }
body[data-page="services.html"] .service-card:nth-child(3n + 2) { transform: translateY(2.2rem); }
body[data-page="services.html"] .service-card:hover { transform: translateY(calc(2.2rem - 7px)); }
body[data-page="services.html"] .section.alt .service-card:nth-child(3n + 2) { transform: translateY(0); }
body[data-page="services.html"] .section.alt .service-card:hover { transform: translateY(-7px); }
body[data-page="sectors.html"] .sector-grid .service-card { position: relative; min-height: 405px; justify-content: flex-end; background: var(--ink-deep); }
body[data-page="sectors.html"] .sector-grid .media { position: absolute; inset: 0; height: 100%; min-height: 0; opacity: .88; }
body[data-page="sectors.html"] .sector-grid .media::after { background: linear-gradient(180deg, rgba(9,36,44,.03), rgba(9,36,44,.92)); }
body[data-page="sectors.html"] .sector-grid .service-body { position: relative; z-index: 1; padding: 1.4rem; }
body[data-page="sectors.html"] .sector-grid h3 { color: var(--white); }
body[data-page="sectors.html"] .sector-grid .muted { color: rgba(255,255,255,.76); }
body[data-page="projects.html"] .card:first-child { grid-column: span 2; }
body[data-page="projects.html"] .card:first-child .media { min-height: 320px; }
body[data-page="insights.html"] .card-grid { align-items: start; }
body[data-page="insights.html"] .card:nth-child(2) { margin-top: 3rem; }
body[data-page="insights.html"] .card:nth-child(3) { margin-top: 1.4rem; }
body.cms-managed-sector main > section:nth-of-type(2),
body.cms-managed-project main > section:nth-of-type(2),
body.cms-managed-insight main > section:nth-of-type(2),
body.cms-managed-service main > section:nth-of-type(3),
body.cms-managed-service main > section:nth-of-type(4),
body.cms-managed-service main > section:nth-of-type(5) { display: none; }

.list { margin: 1.25rem 0 0; padding: 0; list-style: none; }
.list li { position: relative; padding: .65rem 0 .65rem 1.35rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.list li::before { position: absolute; top: 1.18rem; left: 0; width: .5rem; height: .5rem; content: ""; border: 1px solid var(--moss); border-radius: 50%; }
.image-frame { position: relative; min-height: 560px; overflow: hidden; background-position: center; background-size: cover; box-shadow: var(--shadow); }
.image-frame::after { position: absolute; inset: 0; content: ""; background: linear-gradient(145deg, rgba(184,213,139,.08), transparent 48%, rgba(9,36,44,.48)); }
.trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 2rem; border: 1px solid var(--line); background: var(--line); }
.trust-item { min-height: 130px; padding: 1.15rem; background: var(--paper); }
.trust-item strong { display: block; margin-bottom: .5rem; font-family: "DM Serif Display", serif; font-size: 1.35rem; font-weight: 400; }
.trust-item span { color: var(--muted); font-size: .9rem; line-height: 1.42; }
.feature-card, .sidebar-box { padding: 1.5rem; background: var(--ink-deep); color: var(--white); }
.feature-card h3, .sidebar-box h3 { color: var(--leaf); }
.feature-card p { color: rgba(255,255,255,.72); }
.timeline { display: grid; max-width: 900px; margin-left: auto; }
.timeline-item { display: grid; grid-template-columns: 140px 1fr; gap: 1.5rem; padding: 1.2rem 0; border-top: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.78); }
.timeline-item strong { color: var(--leaf); font-family: "DM Serif Display", serif; font-size: 2rem; font-weight: 400; }
.service-layout { display: grid; grid-template-columns: minmax(260px,.65fr) minmax(0,1.35fr); gap: 4rem; }
.service-layout .sidebar-box { align-self: start; position: sticky; top: 100px; }
.service-layout .sidebar-box .list li { color: rgba(255,255,255,.78); border-color: rgba(255,255,255,.14); }
.service-layout .sidebar-box .list li::before { border-color: var(--leaf); }
.service-layout .spaced { display: grid; align-content: start; gap: 1rem; }
.service-layout .spaced > * + * { margin-top: 0; }
.service-layout .card { min-height: 0; }

.contact-layout { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(280px,.75fr); gap: 1.5rem; align-items: start; }
.form-card { padding: clamp(1.4rem, 4vw, 3rem); background: var(--white); box-shadow: var(--shadow); }
.contact-sidebar { display: grid; gap: 1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; margin-bottom: .45rem; color: var(--forest); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
input, select, textarea { width: 100%; padding: .9rem 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink); background: transparent; }
input:focus, select:focus, textarea:focus { border-color: var(--moss); outline: 0; box-shadow: 0 2px 0 var(--leaf); }
textarea { min-height: 148px; resize: vertical; }
.notice { display: none; margin-bottom: 1rem; padding: .85rem 1rem; color: var(--forest); border-left: 3px solid var(--moss); background: #e2efd2; }
.form-note { margin: -.35rem 0 0; color: var(--muted); font-size: .8rem; }
.office-card { min-height: 230px; background: transparent; box-shadow: none; }
.office-card:hover { background: var(--white); }
.office-body p { margin: .25rem 0; }
.office-body a { color: var(--forest); font-weight: 700; }

.footer { overflow: hidden; padding: 5rem 0 1.8rem; color: rgba(255,255,255,.68); background: var(--ink-deep); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .65fr .7fr; gap: 4rem; }
.footer-logo { width: 62px; height: 62px; padding: 2px; border-radius: 50%; background: var(--paper); object-fit: contain; }
.footer h4 { margin-bottom: .8rem; color: var(--white); font-family: "DM Serif Display", serif; font-size: 1.4rem; }
.footer p { max-width: 48ch; }
.footer a { display: block; width: fit-content; margin: .45rem 0; transition: color .2s ease; }
.footer a:hover { color: var(--leaf); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3.3rem; padding-top: 1.25rem; color: rgba(255,255,255,.42); border-top: 1px solid rgba(255,255,255,.12); font-size: .74rem; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .section-head, .split, .contact-layout, .service-layout, .footer-grid { grid-template-columns: 1fr; }
  .card-grid, body[data-page="services.html"] .card-grid, .office-grid, .faq-grid { grid-template-columns: 1fr 1fr; }
  .sector-grid { grid-template-columns: 1fr 1fr; }
  .section-head { gap: 1rem; }
  .section-head h2 { max-width: 12ch; }
  .service-layout .sidebar-box { position: static; }
  .footer-grid { gap: 2rem; }
  .client-strip-heading { align-items: start; flex-direction: column; }
}

@media (max-width: 760px) {
  :root { --container: min(100vw - 2rem, 1240px); }
  .header-inner { min-height: 68px; gap: 1rem; }
  .brand-logo { width: 42px; height: 42px; }
  .brand-mark { font-size: 1.1rem; }
  .brand-sub { font-size: .54rem; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: calc(100% + .5rem); right: 1rem; left: 1rem; display: none; padding: .8rem; border: 1px solid rgba(255,255,255,.15); background: var(--ink-deep); box-shadow: var(--shadow); }
  .site-nav.open { display: grid; gap: .1rem; }
  .site-nav a { width: 100%; padding: .75rem; }
  .site-nav > a:not(.cta-button)::after { display: none; }
  .site-nav .cta-button { margin-top: .35rem; }
  .language-picker { margin-top: .35rem; }
  .language-picker select { width: 100%; }
  h1 { font-size: clamp(3.25rem, 16vw, 5rem); }
  h2 { font-size: clamp(2.55rem, 12vw, 3.8rem); }
  .hero { min-height: auto; }
  .hero-content, .page-hero-content { padding: 7.5rem 0 3.75rem; }
  .page-hero { min-height: 430px; }
  .hero-layout, .card-grid, body[data-page="services.html"] .card-grid, .sector-grid, .office-grid, .faq-grid, .stats-grid, .trust-list, .form-grid { grid-template-columns: 1fr; }
  .hero-panel { margin-top: .75rem; }
  .stat-card { border-top: 1px solid rgba(255,255,255,.42); border-left: 0; }
  .stat-card:first-child { border-top: 0; }
  .stats-grid { gap: 0; }
  .section-head { margin-bottom: 1.7rem; }
  .media { min-height: 220px; }
  body[data-page="services.html"] .service-card:nth-child(3n + 2), body[data-page="services.html"] .service-card:hover { transform: none; }
  body[data-page="projects.html"] .card:first-child { grid-column: auto; }
  body[data-page="projects.html"] .card:first-child .media { min-height: 230px; }
  body[data-page="insights.html"] .card:nth-child(2), body[data-page="insights.html"] .card:nth-child(3) { margin-top: 0; }
  .image-frame { min-height: 360px; }
  .timeline-item { grid-template-columns: 1fr; gap: .2rem; }
  .footer-bottom { flex-direction: column; }
  .client-logo { width: 154px; height: 88px; flex-basis: 154px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
