/* ==========================================================================
   LEED PROJE — Site Styles
   ========================================================================== */
:root {
  --primary: #87dc5b;
  --primary-ink: #2f7a12;
  --ink: #0e1311;
  --ink-2: #161d1a;
  --paper: #f3f4ef;
  --paper-2: #e9ebe3;
  --white: #ffffff;
  --muted: #6c736e;
  --line: rgba(14, 19, 17, .12);
  --line-light: rgba(255, 255, 255, .12);
  --font-display: "Inter Tight", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --container: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
  --header-h: 92px;
  --ease: cubic-bezier(.77, 0, .175, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --radius: 4px;
}
[dir="rtl"] {
  --font-display: "Noto Kufi Arabic", "Inter Tight", sans-serif;
  --font-body: "Noto Kufi Arabic", "Manrope", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--primary); color: var(--ink); }
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 500; line-height: 1.05; letter-spacing: -.03em; margin: 0; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { letter-spacing: 0; line-height: 1.35; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Background grid lines ---------- */
.grid-lines { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.grid-lines .container { height: 100%; display: grid; grid-template-columns: repeat(4, 1fr); }
.grid-lines span { border-inline-start: 1px solid var(--line); height: 100%; }
.grid-lines span:last-child { border-inline-end: 1px solid var(--line); }
main, .site-footer { position: relative; z-index: 1; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow .idx { color: var(--primary-ink); }
.on-dark .eyebrow { color: rgba(255,255,255,.6); }
.on-dark .eyebrow .idx { color: var(--primary); }
.display { font-size: clamp(44px, 7.4vw, 128px); line-height: .95; letter-spacing: -.045em; font-weight: 500; }
.h1 { font-size: clamp(40px, 5.6vw, 92px); line-height: .98; letter-spacing: -.04em; }
.h2 { font-size: clamp(34px, 4.2vw, 68px); }
.h3 { font-size: clamp(24px, 2.2vw, 34px); letter-spacing: -.02em; }
.lead { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.6; color: var(--muted); max-width: 640px; }
.on-dark .lead { color: rgba(255,255,255,.65); }
.hl { color: var(--primary-ink); font-style: normal; }
.on-dark .hl, .hero .hl, .cta .hl, .site-footer .hl, .page-hero .hl, .p-hero .hl, .side-card .hl { color: var(--primary); }
.outline-text { -webkit-text-stroke: 1px currentColor; color: transparent; }

.section { padding-block: clamp(80px, 11vw, 180px); position: relative; }
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; margin-bottom: clamp(48px, 6vw, 96px); }
.section-head .eyebrow { margin-bottom: 24px; }
.on-dark { background: var(--ink); color: var(--white); }
.on-dark .grid-overlay span { border-color: var(--line-light); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white);
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  height: 58px; padding-inline: 30px; border-radius: 100px;
  background: var(--bg); color: var(--fg);
  font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  overflow: hidden; isolation: isolate; transition: color .5s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--primary);
  transform: translateY(101%); border-radius: 50% 50% 0 0; transition: transform .6s var(--ease-out), border-radius .6s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); border-radius: 0; }
.btn:hover { color: var(--ink); }
.btn svg { width: 18px; height: 18px; transition: transform .5s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
[dir="rtl"] .btn svg { transform: scaleX(-1); }
[dir="rtl"] .btn:hover svg { transform: scaleX(-1) translateX(4px); }
.btn--primary { --bg: var(--primary); --fg: var(--ink); }
.btn--primary::before { background: var(--ink); }
.btn--primary:hover { color: var(--white); }
.btn--ghost { --bg: transparent; --fg: currentColor; border: 1px solid currentColor; }
.on-dark .btn--ghost:hover, .hero .btn--ghost:hover { color: var(--ink); }
.btn--light { --bg: var(--white); --fg: var(--ink); }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.link-arrow span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease-out); }
.link-arrow:hover span { background-size: 100% 1px; }
.link-arrow svg { width: 16px; height: 16px; }
[dir="rtl"] .link-arrow svg { transform: scaleX(-1); }

.circle-btn {
  width: 140px; height: 140px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: var(--primary); color: var(--ink); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  transition: transform .4s var(--ease-out), background .3s;
}
.circle-btn:hover { background: var(--white); }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 9999; background: var(--ink); color: var(--white); display: grid; place-items: center; }
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.preloader svg { width: 120px; height: auto; }
.preloader svg path { fill: none; stroke: var(--primary); stroke-width: 1.4; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.6s var(--ease) forwards; }
.preloader svg path:nth-child(2) { animation-delay: .15s; }
.preloader svg path:nth-child(3) { animation-delay: .3s; }
.preloader svg path:nth-child(4) { animation-delay: .45s; }
.preloader__count { font-family: var(--font-display); font-size: 13px; letter-spacing: .3em; color: rgba(255,255,255,.5); }
.no-preload .preloader { display: none; }
.preloader.is-done { transform: translateY(-100%); transition: transform 1s var(--ease) .1s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Page transition ---------- */
.page-wipe { position: fixed; inset: 0; z-index: 9998; background: var(--primary); transform: translateY(100%); pointer-events: none; }
.page-wipe.is-in { transform: translateY(0); transition: transform .6s var(--ease); }

/* ---------- Cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 9997; pointer-events: none; mix-blend-mode: normal; }
.cursor__dot { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--primary); border-radius: 50%; }
.cursor__ring {
  position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 1px solid rgba(135,220,91,.7); border-radius: 50%;
  display: grid; place-items: center; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
  transition: width .4s var(--ease-out), height .4s var(--ease-out), margin .4s var(--ease-out), background .3s, border-color .3s;
}
.cursor__ring span { opacity: 0; transition: opacity .2s; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--primary); }
.cursor.is-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--primary); border-color: var(--primary); }
.cursor.is-label .cursor__ring span { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }
@media (hover: none), (max-width: 1024px) { .cursor { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); color: var(--white);
  transition: background .5s, color .5s, height .5s var(--ease-out), transform .6s var(--ease-out), box-shadow .5s;
}
.site-header.is-solid, .site-header--light { color: var(--ink); }
.site-header.is-scrolled { background: rgba(243,244,239,.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: var(--ink); height: 76px; box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 78px; width: auto; transition: height .4s var(--ease-out), filter .4s; }
.site-header.is-scrolled .brand img { height: 60px; }
@media (max-width: 760px) { .brand img { height: 60px; } .site-header.is-scrolled .brand img { height: 50px; } }
.brand .logo-light { display: none; }
.site-header:not(.is-scrolled):not(.site-header--light) .brand .logo-light { display: block; }
.site-header:not(.is-scrolled):not(.site-header--light) .brand .logo-dark.has-light { display: none; }
.site-header:not(.is-scrolled):not(.site-header--light) .brand .logo-dark.no-light, .menu-open .brand .logo-dark.no-light { filter: brightness(1.35) saturate(1.15) drop-shadow(0 0 1px rgba(255,255,255,.35)) drop-shadow(0 6px 20px rgba(0,0,0,.55)); }

.nav { margin-inline-start: auto; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.nav li { position: relative; }
.nav > ul > li > a {
  display: flex; align-items: center; gap: 6px; height: 44px; padding-inline: 14px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .02em; position: relative;
}
.nav > ul > li > a::after { content: ""; position: absolute; inset-inline: 14px; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.nav > ul > li:hover > a::after, .nav > ul > li > a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav .chev { width: 10px; height: 10px; opacity: .6; }
.nav .sub {
  list-style: none; margin: 0; padding: 14px; position: absolute; top: 100%; inset-inline-start: 0; min-width: 260px;
  background: var(--white); color: var(--ink); border-radius: 6px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.25);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .35s var(--ease-out);
}
.nav li:hover > .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav .sub a { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; font-size: 14px; font-weight: 500; border-radius: 4px; transition: background .25s, padding .25s; }
.nav .sub a:hover { background: var(--paper); padding-inline-start: 18px; }
.nav .sub a::after { content: "→"; opacity: 0; transition: opacity .25s; color: var(--primary-ink); }
[dir="rtl"] .nav .sub a::after { content: "←"; }
.nav .sub a:hover::after { opacity: 1; }

.header-tools { display: flex; align-items: center; gap: 14px; }
.lang { position: relative; }
.lang__btn { display: flex; align-items: center; gap: 6px; height: 40px; padding-inline: 12px; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 25%, transparent); border-radius: 100px; font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.lang__btn svg { width: 14px; height: 14px; }
.lang__menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 150px; background: var(--white); color: var(--ink); border-radius: 6px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.2); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .3s var(--ease-out); }
.lang:hover .lang__menu, .lang:focus-within .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 4px; font-size: 14px; }
.lang__menu a:hover, .lang__menu a.is-active { background: var(--paper); }
.lang__menu small { color: var(--muted); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 11px; }
.header-cta { height: 46px; padding-inline: 22px; font-size: 12px; }

.burger { width: 46px; height: 46px; border-radius: 50%; border: 1px solid color-mix(in srgb, currentColor 25%, transparent); display: none; place-items: center; }
.burger span { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .4s var(--ease-out); }
.burger span::before, .burger span::after { content: ""; position: absolute; inset-inline: 0; height: 1.5px; background: currentColor; transition: transform .4s var(--ease-out); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 99; background: var(--ink); color: var(--white); padding: calc(var(--header-h) + 30px) var(--gutter) 40px; overflow-y: auto; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .8s var(--ease), visibility 0s .8s; display: flex; flex-direction: column; }
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
.menu-open .site-header { color: var(--white) !important; background: transparent !important; box-shadow: none !important; backdrop-filter: none; }
.menu-open .site-header .brand .logo-light { display: block !important; }
.menu-open .site-header .brand .logo-dark.has-light { display: none !important; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu > ul > li { border-bottom: 1px solid var(--line-light); overflow: hidden; }
.mobile-menu > ul > li > a, .mobile-menu .mm-toggle { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 16px 0; font-family: var(--font-display); font-size: clamp(26px, 6vw, 40px); letter-spacing: -.02em; text-align: start; }
.mobile-menu .mm-sub { display: none; padding-bottom: 14px; }
.mobile-menu .mm-sub.is-open { display: block; }
.mobile-menu .mm-sub a { display: block; padding: 7px 0; color: rgba(255,255,255,.65); font-size: 17px; }
.mobile-menu .mm-foot { margin-top: auto; padding-top: 40px; display: grid; gap: 8px; color: rgba(255,255,255,.6); font-size: 15px; }
.mobile-menu .mm-langs { display: flex; gap: 10px; margin-top: 20px; }
.mobile-menu .mm-langs a { padding: 8px 14px; border: 1px solid var(--line-light); border-radius: 100px; font-size: 13px; font-weight: 700; }
.mobile-menu .mm-langs a.is-active { background: var(--primary); color: var(--ink); border-color: var(--primary); }
.mobile-menu > ul > li { transform: translateY(30px); opacity: 0; transition: transform .7s var(--ease-out), opacity .7s; }
.menu-open .mobile-menu > ul > li { transform: none; opacity: 1; }
.menu-open .mobile-menu > ul > li:nth-child(1) { transition-delay: .25s; }
.menu-open .mobile-menu > ul > li:nth-child(2) { transition-delay: .3s; }
.menu-open .mobile-menu > ul > li:nth-child(3) { transition-delay: .35s; }
.menu-open .mobile-menu > ul > li:nth-child(4) { transition-delay: .4s; }
.menu-open .mobile-menu > ul > li:nth-child(5) { transition-delay: .45s; }
.menu-open .mobile-menu > ul > li:nth-child(6) { transition-delay: .5s; }
.menu-open .mobile-menu > ul > li:nth-child(7) { transition-delay: .55s; }
.menu-open { overflow: hidden; }

@media (max-width: 1180px) {
  .nav, .header-cta, .lang { display: none; }
  .burger { display: grid; }
  .header-tools { margin-inline-start: auto; }
}

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; background: var(--ink); color: var(--white); overflow: hidden; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s var(--ease), visibility 1.2s; }
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 7s linear; }
.hero__slide.is-active .hero__media img { transform: scale(1.02); }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,19,17,.55) 0%, rgba(14,19,17,.25) 40%, rgba(14,19,17,.85) 100%), linear-gradient(90deg, rgba(14,19,17,.6), transparent 70%); }
[dir="rtl"] .hero__media::after { background: linear-gradient(180deg, rgba(14,19,17,.55) 0%, rgba(14,19,17,.25) 40%, rgba(14,19,17,.85) 100%), linear-gradient(-90deg, rgba(14,19,17,.6), transparent 70%); }
.hero__content { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(110px, 14vh, 170px); }
.hero__eyebrow { color: var(--primary); margin-bottom: 26px; }
.hero__eyebrow::before { background: var(--primary); }
.hero__title { max-width: 1150px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: block; transform: translateY(110%); transition: transform 1.2s var(--ease-out); }
.hero__slide.is-active .hero__title .line > span { transform: none; }
.hero__slide.is-active .hero__title .line:nth-child(2) > span { transition-delay: .1s; }
.hero__slide.is-active .hero__title .line:nth-child(3) > span { transition-delay: .2s; }
.hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-top: 40px; }
.hero__text { max-width: 520px; color: rgba(255,255,255,.75); font-size: 17px; opacity: 0; transform: translateY(20px); transition: all 1s var(--ease-out) .45s; }
.hero__slide.is-active .hero__text, .hero__slide.is-active .hero__actions { opacity: 1; transform: none; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; transform: translateY(20px); transition: all 1s var(--ease-out) .55s; }
.hero__blueprint { position: absolute; z-index: 2; inset-inline-end: var(--gutter); top: 18%; width: min(36vw, 520px); color: var(--primary); opacity: .55; pointer-events: none; }
.hero__blueprint path, .hero__blueprint line, .hero__blueprint rect, .hero__blueprint circle, .hero__blueprint polyline { fill: none; stroke: currentColor; stroke-width: .8; vector-effect: non-scaling-stroke; }
.hero__blueprint .dash { stroke-dasharray: 3 5; opacity: .6; }
.draw-svg [data-draw] { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); transition: stroke-dashoffset 2.6s var(--ease); }
.draw-svg.is-drawn [data-draw] { stroke-dashoffset: 0; }

.hero__ui { position: absolute; inset-inline: 0; bottom: 0; z-index: 3; border-top: 1px solid var(--line-light); }
.hero__ui .container { display: flex; align-items: center; height: 76px; gap: 30px; }
.hero__counter { font-family: var(--font-display); font-size: 14px; letter-spacing: .1em; display: flex; align-items: center; gap: 12px; }
.hero__counter b { font-weight: 600; color: var(--primary); font-size: 18px; }
.hero__progress { flex: 1; height: 1px; background: var(--line-light); position: relative; max-width: 360px; }
.hero__progress i { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; background: var(--primary); }
.hero__progress i.run { width: 100%; transition: width var(--dur, 7s) linear; }
.hero__arrows { display: flex; gap: 10px; margin-inline-start: auto; }
.hero__arrows button { width: 48px; height: 48px; border: 1px solid var(--line-light); border-radius: 50%; display: grid; place-items: center; transition: background .3s, border-color .3s, color .3s; }
.hero__arrows button:hover { background: var(--primary); border-color: var(--primary); color: var(--ink); }
.hero__arrows svg { width: 18px; height: 18px; }
.hero__prev svg, [dir="rtl"] .hero__next svg { transform: scaleX(-1); }
[dir="rtl"] .hero__prev svg { transform: none; }
.hero__scroll { display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.hero__scroll i { width: 1px; height: 34px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset-inline: 0; top: -50%; height: 50%; background: var(--primary); animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { to { top: 100%; } }
@media (max-width: 760px) {
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .hero__blueprint { width: 70vw; top: 14%; opacity: .3; }
  .hero__scroll { display: none; }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--primary); color: var(--ink); overflow: hidden; padding-block: 26px; position: relative; z-index: 2; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
[dir="rtl"] .marquee__track { animation-name: marquee-rtl; }
.marquee__item { display: flex; align-items: center; gap: 40px; padding-inline-end: 40px; font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 54px); font-weight: 500; letter-spacing: -.02em; white-space: nowrap; }
.marquee__item svg { width: 30px; height: 30px; flex-shrink: 0; }
.marquee--outline { background: transparent; color: var(--ink); border-block: 1px solid var(--line); }
.marquee--outline .marquee__item:nth-child(even) { -webkit-text-stroke: 1px var(--ink); color: transparent; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ---------- About ---------- */
.section--solid { background: var(--paper); }
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(50px, 7vw, 130px); align-items: center; }
.about__media { position: relative; padding: 0 16% 20% 0; }
[dir="rtl"] .about__media { padding: 0 0 20% 16%; }
.about__frame { position: absolute; top: -26px; inset-inline-start: -26px; width: 70%; height: 72%; border: 1px solid var(--primary); border-radius: 4px; z-index: 0; }
.about__frame::before, .about__frame::after { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--primary); }
.about__frame::before { top: -5px; inset-inline-start: -5px; }
.about__frame::after { bottom: -5px; inset-inline-end: -5px; }
.about__img { overflow: hidden; border-radius: 6px; background: var(--paper-2); }
.about__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about__img--main { position: relative; z-index: 1; aspect-ratio: 4/5; box-shadow: 0 40px 80px -40px rgba(14,19,17,.45); }
.about__img--main::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 55%, rgba(14,19,17,.45)); pointer-events: none; }
.about__img--sub { position: absolute !important; z-index: 2; width: 50%; aspect-ratio: 1; inset-inline-end: 0; bottom: 0; border: 10px solid var(--paper); border-radius: 8px; box-shadow: 0 30px 60px -30px rgba(14,19,17,.4); }
.about__exp { position: absolute; z-index: 3; inset-inline-start: 28px; bottom: calc(20% + 28px); background: var(--ink); color: var(--white); padding: 20px 24px; border-radius: 6px; display: flex; align-items: center; gap: 16px; max-width: 280px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); }
.about__exp strong { font-family: var(--font-display); font-weight: 400; font-size: 52px; line-height: 1; letter-spacing: -.04em; color: var(--primary); white-space: nowrap; }
.about__exp > span { font-size: 13px; line-height: 1.4; color: rgba(255,255,255,.75); border-inline-start: 1px solid rgba(255,255,255,.15); padding-inline-start: 16px; }
.about__coord { position: absolute; z-index: 1; inset-inline-start: -48px; bottom: calc(20% - 10px); transform: rotate(-90deg); transform-origin: left top; font-size: 11px; letter-spacing: .2em; color: var(--muted); white-space: nowrap; }
[dir="rtl"] .about__coord { display: none; }
.about__body .h2 { margin: 24px 0 30px; }
.about__body .lead { margin-bottom: 40px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-bottom: 44px; }
.stat { padding: 26px 20px 22px 0; border-bottom: 1px solid var(--line); }
.stat + .stat { padding-inline-start: 22px; border-inline-start: 1px solid var(--line); }
.stat__num { font-family: var(--font-display); font-size: clamp(30px, 2.5vw, 46px); font-weight: 400; letter-spacing: -.05em; line-height: 1; display: flex; align-items: flex-start; gap: 4px; white-space: nowrap; }
.stat__num sup { font-size: .38em; color: var(--primary-ink); top: 0; margin-top: .2em; letter-spacing: 0; }
.stat__label { color: var(--muted); font-size: 14px; margin-top: 10px; line-height: 1.4; }
.split .stats { grid-template-columns: repeat(2, 1fr); }
.split .stat__num { font-size: clamp(36px, 3.4vw, 58px); }
@media (max-width: 960px) { .about { grid-template-columns: 1fr; } .about__coord { display: none; } }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr 1fr; } .stat + .stat { border-inline-start: 0; padding-inline-start: 0; } .stat:nth-child(even) { padding-inline-start: 18px; border-inline-start: 1px solid var(--line); } .about__exp strong { font-size: 40px; } .about__exp { inset-inline-start: 14px; padding: 14px 16px; } }
.badge-rotate { position: absolute; top: 6%; inset-inline-end: calc(16% - 75px); width: 150px; height: 150px; z-index: 4; color: var(--ink); background: var(--paper); border-radius: 50%; }
.badge-rotate svg { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge-rotate text { font-family: var(--font-body); font-size: 11.5px; font-weight: 700; letter-spacing: 3.2px; text-transform: uppercase; fill: currentColor; }
.badge-rotate .core { position: absolute; inset: 32%; border-radius: 50%; background: var(--primary); display: grid; place-items: center; }
.badge-rotate .core svg { width: 40%; height: 40%; animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 960px) { .about { grid-template-columns: 1fr; } .badge-rotate { width: 110px; height: 110px; top: -30px; inset-inline-end: 0; } }

/* ---------- Services list ---------- */
.services-list { border-top: 1px solid var(--line-light); }
.service-row {
  display: grid; grid-template-columns: 90px 1.1fr 1fr 60px; align-items: center; gap: 30px;
  padding-block: 34px; border-bottom: 1px solid var(--line-light); position: relative; transition: padding .6s var(--ease-out);
}
.service-row::before { content: ""; position: absolute; inset: 0; background: var(--primary); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease-out); z-index: 0; }
.service-row > * { position: relative; z-index: 1; transition: color .5s; }
.service-row:hover::before { transform: scaleY(1); }
.service-row:hover > * { color: var(--ink); }
.service-row:hover { padding-inline: 24px; }
.service-row__idx { font-family: var(--font-display); font-size: 14px; color: var(--primary); letter-spacing: .1em; }
.service-row__title { display: flex; align-items: center; gap: 22px; font-size: clamp(24px, 2.6vw, 42px); }
.service-row__title svg { width: 46px; height: 46px; flex-shrink: 0; color: var(--primary); transition: color .5s; }
.service-row:hover .service-row__title svg { color: var(--ink); }
.service-row__text { color: rgba(255,255,255,.6); font-size: 15px; margin: 0; }
.service-row:hover .service-row__text { color: rgba(14,19,17,.75); }
.service-row__arrow { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; justify-self: end; transition: transform .5s var(--ease-out), background .4s, border-color .4s; }
.service-row__arrow svg { width: 20px; height: 20px; }
.service-row:hover .service-row__arrow { background: var(--ink); color: var(--primary); border-color: var(--ink); transform: rotate(-45deg); }
[dir="rtl"] .service-row__arrow svg { transform: scaleX(-1); }
[dir="rtl"] .service-row:hover .service-row__arrow { transform: rotate(45deg); }
.hover-reveal { position: fixed; top: 0; left: 0; width: 320px; height: 220px; pointer-events: none; z-index: 50; overflow: hidden; border-radius: var(--radius); opacity: 0; transform: scale(.8); transition: opacity .35s, transform .5s var(--ease-out); }
.hover-reveal.is-visible { opacity: 1; transform: scale(1); }
.hover-reveal img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .service-row { grid-template-columns: 1fr 50px; gap: 14px; }
  .service-row__idx { display: none; }
  .service-row__text { grid-column: 1 / -1; grid-row: 2; }
  .service-row__title { font-size: 24px; }
  .service-row__title svg { width: 36px; height: 36px; }
}

/* ---------- Projects grid ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 2.4vw, 40px); }
.pcard { grid-column: span 4; position: relative; display: block; }
.projects-grid--feature .pcard:nth-child(6n+1) { grid-column: span 7; }
.projects-grid--feature .pcard:nth-child(6n+2) { grid-column: span 5; margin-top: 12%; }
.projects-grid--feature .pcard:nth-child(6n+3) { grid-column: span 5; }
.projects-grid--feature .pcard:nth-child(6n+4) { grid-column: span 7; }
.projects-grid--feature .pcard:nth-child(6n+1) .pcard__media { aspect-ratio: 16/11; }
.projects-grid--feature .pcard:nth-child(6n+4) .pcard__media { aspect-ratio: 16/11; }
.projects-grid--feature .pcard:nth-child(6n+5), .projects-grid--feature .pcard:nth-child(6n+6) { grid-column: span 6; }
.pcard__media { position: relative; overflow: hidden; aspect-ratio: 4/3.2; background: var(--paper-2); border-radius: var(--radius); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .8s; }
.pcard:hover .pcard__media img { transform: scale(1.07); }
.pcard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(14,19,17,.55)); opacity: 0; transition: opacity .6s; }
.pcard:hover .pcard__media::after { opacity: 1; }
.pcard__tag { position: absolute; top: 18px; inset-inline-start: 18px; z-index: 2; background: var(--white); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 7px 12px; border-radius: 100px; }
.pcard__tag--ongoing { background: var(--primary); }
.pcard__body { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; }
.pcard__title { font-size: clamp(20px, 1.6vw, 26px); letter-spacing: -.02em; line-height: 1.2; }
.pcard__meta { color: var(--muted); font-size: 14px; margin-top: 6px; display: flex; gap: 8px; align-items: center; }
.pcard__meta svg { width: 14px; height: 14px; }
.pcard__num { font-family: var(--font-display); font-size: 13px; color: var(--muted); letter-spacing: .1em; padding-top: 6px; }
.pcard.is-hidden { display: none; }
@media (max-width: 960px) {
  .pcard, .projects-grid--feature .pcard:nth-child(n) { grid-column: span 6; margin-top: 0 !important; }
}
@media (max-width: 620px) {
  .pcard, .projects-grid--feature .pcard:nth-child(n) { grid-column: 1 / -1; }
}

/* ---------- Sectors (categories) ---------- */
.sectors { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.sectors__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: sec; }
.sectors__list a { display: grid; grid-template-columns: 50px 1fr auto; align-items: baseline; gap: 16px; padding-block: 22px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 38px); letter-spacing: -.02em; transition: color .3s, padding .5s var(--ease-out); }
.sectors__list a::before { counter-increment: sec; content: counter(sec, decimal-leading-zero); font-size: 13px; color: var(--muted); letter-spacing: .1em; font-family: var(--font-body); }
.sectors__list a small { font-size: 13px; color: var(--muted); font-family: var(--font-body); letter-spacing: .05em; }
.sectors__list a:hover, .sectors__list a.is-active { color: var(--primary-ink); padding-inline-start: 14px; }
.sectors__visual { position: sticky; top: 120px; aspect-ratio: 4/5; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.sectors__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .7s, transform 1.2s var(--ease-out); }
.sectors__visual img.is-active { opacity: 1; transform: scale(1); }
.sectors__visual .frame { position: absolute; inset: 20px; border: 1px solid rgba(255,255,255,.4); z-index: 2; pointer-events: none; }
@media (max-width: 860px) { .sectors { grid-template-columns: 1fr; } .sectors__visual { display: none; } }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.process__line { position: absolute; top: 34px; inset-inline: 0; height: 2px; color: var(--primary); }
.process__line svg { width: 100%; height: 2px; overflow: visible; }
.process__line line { stroke: currentColor; stroke-width: 2; }
.process__step { position: relative; padding-inline-end: 30px; }
.process__dot { width: 70px; height: 70px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); display: grid; place-items: center; font-family: var(--font-display); font-size: 18px; margin-bottom: 30px; position: relative; z-index: 1; transition: background .4s, border-color .4s; }
.process__step:hover .process__dot { background: var(--primary); border-color: var(--primary); }
.process__step h3 { font-size: 24px; margin-bottom: 14px; }
.process__step p { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .process { grid-template-columns: 1fr 1fr; gap: 40px 20px; } .process__line { display: none; } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* ---------- Clients ---------- */
.logos { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos__track { display: flex; width: max-content; gap: 20px; animation: marquee 50s linear infinite; padding-block: 10px; }
.logos:hover .logos__track { animation-play-state: paused; }
[dir="rtl"] .logos__track { animation-name: marquee-rtl; }
.logo-tile { width: 220px; height: 130px; flex-shrink: 0; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .3s, transform .4s var(--ease-out); }
.logo-tile img { max-height: 76px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .4s, opacity .4s; }
.logo-tile:hover { border-color: var(--primary); transform: translateY(-4px); }
.logo-tile:hover img { filter: none; opacity: 1; }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.logo-grid .logo-tile { width: auto; border-radius: 0; border: 0; border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); height: 170px; background: transparent; }
.logo-grid .logo-tile:hover { background: var(--white); transform: none; }

/* ---------- Certificates ---------- */
.certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.cert { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; transition: transform .5s var(--ease-out), box-shadow .5s; }
.cert:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(0,0,0,.35); }
.cert__img { aspect-ratio: 3/4; overflow: hidden; background: var(--paper); }
.cert__img img { width: 100%; height: 100%; object-fit: cover; }
.cert__title { font-size: 15px; font-weight: 600; margin-top: 14px; line-height: 1.4; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.cta__bg { position: absolute; inset: -10% 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.cta .container { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 60px; }
.cta__title { font-size: clamp(40px, 6vw, 104px); letter-spacing: -.045em; line-height: .98; }
.cta__text { color: rgba(255,255,255,.7); max-width: 520px; margin-top: 26px; font-size: 18px; }
@media (max-width: 860px) { .cta .container { grid-template-columns: 1fr; } }

/* ---------- News cards ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 40px); }
.ncard__media { aspect-ratio: 16/11; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); position: relative; }
.ncard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.ncard__media .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); }
.ncard__media .ph svg { width: 60px; height: 60px; opacity: .5; }
.ncard:hover .ncard__media img { transform: scale(1.06); }
.ncard__date { font-size: 13px; color: var(--muted); margin: 20px 0 10px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.ncard__title { font-size: 24px; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 12px; }
.ncard p { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .news-grid { grid-template-columns: 1fr; } }

/* ---------- Page header ---------- */
.page-hero { position: relative; background: var(--ink); color: var(--white); padding: calc(var(--header-h) + clamp(70px, 10vw, 150px)) 0 clamp(60px, 7vw, 110px); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 115%; object-fit: cover; opacity: .32; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,19,17,.4), var(--ink)); }
.page-hero .blueprint-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(135,220,91,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(135,220,91,.08) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); }
.page-hero .container { position: relative; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 30px; letter-spacing: .04em; }
.crumbs a:hover { color: var(--primary); }
.crumbs span[aria-hidden] { opacity: .4; }
.page-hero__title { max-width: 1100px; }
.page-hero__sub { color: rgba(255,255,255,.65); max-width: 620px; margin-top: 28px; font-size: 18px; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 100px; border: 1px solid var(--line-light); font-size: 13px; font-weight: 600; }
.chip svg { width: 14px; height: 14px; color: var(--primary); }

/* ---------- Filter ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 60px; }
.filter a, .filter button { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border: 1px solid var(--line); border-radius: 100px; font-size: 14px; font-weight: 600; transition: all .3s; background: transparent; }
.filter a sup, .filter button sup { font-size: 11px; color: var(--muted); top: -.3em; }
.filter a:hover, .filter button:hover { border-color: var(--ink); }
.filter .is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.filter .is-active sup { color: var(--primary); }
.empty { padding: 80px 0; text-align: center; color: var(--muted); }

/* ---------- Project detail ---------- */
.p-hero { position: relative; height: 92vh; min-height: 560px; overflow: hidden; background: var(--ink); color: var(--white); }
.p-hero__img { position: absolute; inset: 0; }
.p-hero__img img { width: 100%; height: 115%; object-fit: cover; }
.p-hero__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,19,17,.5), rgba(14,19,17,.15) 40%, rgba(14,19,17,.9)); }
.p-hero .container { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 70px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.fact { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--line); }
[dir="rtl"] .fact { padding: 26px 0 26px 26px; }
.fact:not(:nth-child(3n)) { border-inline-end: 1px solid var(--line); }
.fact:not(:nth-child(3n+1)) { padding-inline-start: 26px; }
.fact dt { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; display: flex; gap: 8px; align-items: center; }
.fact dt svg { width: 15px; height: 15px; color: var(--primary-ink); }
.fact dd { margin: 0; font-size: 18px; font-weight: 500; line-height: 1.45; }
.fact--wide { grid-column: 1 / -1; border-inline-end: 0 !important; padding-inline-start: 0 !important; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { padding: 7px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 100px; font-size: 14px; font-weight: 500; }
@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(n) { border-inline-end: 0; padding-inline: 0; }
  .fact:nth-child(odd):not(.fact--wide) { border-inline-end: 1px solid var(--line); padding-inline-end: 16px; }
  .fact:nth-child(even) { padding-inline-start: 16px; }
}
.p-layout { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(40px, 6vw, 100px); }
.p-layout aside { position: sticky; top: 110px; align-self: start; }
@media (max-width: 960px) { .p-layout { grid-template-columns: 1fr; } .p-layout aside { position: static; } }

.gallery { columns: 3 300px; column-gap: 20px; }
.gallery a { display: block; margin-bottom: 20px; overflow: hidden; border-radius: var(--radius); break-inside: avoid; position: relative; }
.gallery img { width: 100%; transition: transform 1s var(--ease-out); }
.gallery a:hover img { transform: scale(1.05); }
.gallery a::after { content: ""; position: absolute; inset: 0; background: rgba(135,220,91,.18); opacity: 0; transition: opacity .4s; }
.gallery a:hover::after { opacity: 1; }

.pn { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pn a { padding: 50px 0; display: flex; flex-direction: column; gap: 10px; transition: background .4s; }
.pn a:last-child { text-align: end; border-inline-start: 1px solid var(--line); align-items: flex-end; }
.pn small { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; }
.pn strong { font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 2.4vw, 36px); letter-spacing: -.02em; line-height: 1.1; transition: color .3s; }
.pn a:hover strong { color: var(--primary-ink); }
.pn a:first-child { padding-inline-end: 30px; } .pn a:last-child { padding-inline-start: 30px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 9990; background: rgba(10,13,12,.96); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 84vh; object-fit: contain; border-radius: 2px; }
.lightbox button { position: absolute; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-light); color: var(--white); display: grid; place-items: center; transition: background .3s, color .3s; }
.lightbox button:hover { background: var(--primary); color: var(--ink); border-color: var(--primary); }
.lightbox button svg { width: 20px; height: 20px; }
.lightbox .lb-close { top: 24px; inset-inline-end: 24px; }
.lightbox .lb-prev { left: 24px; top: 50%; translate: 0 -50%; }
.lightbox .lb-next { right: 24px; top: 50%; translate: 0 -50%; }
.lightbox .lb-prev svg { transform: scaleX(-1); }
.lightbox .lb-count { position: absolute; bottom: 28px; left: 50%; translate: -50% 0; color: rgba(255,255,255,.6); font-size: 13px; letter-spacing: .2em; }

/* ---------- Prose ---------- */
.prose { font-size: 17px; line-height: 1.8; color: #2b322e; }
.prose h2, .prose h3 { margin: 1.6em 0 .6em; font-size: clamp(24px, 2.2vw, 34px); color: var(--ink); }
.prose h4 { margin: 1.4em 0 .5em; font-size: 21px; }
.prose ul { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 0; }
.prose ul li { padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); position: relative; }
[dir="rtl"] .prose ul li { padding: 12px 30px 12px 0; }
.prose ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: 23px; width: 14px; height: 1px; background: var(--primary-ink); }
.prose ol { padding-inline-start: 1.2em; }
.prose a { color: var(--primary-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius); margin: 1.4em 0; }
.prose blockquote { margin: 1.6em 0; padding-inline-start: 24px; border-inline-start: 3px solid var(--primary); font-size: 1.15em; color: var(--ink); }
.prose > *:first-child { margin-top: 0; }

/* Two column layout for services / pages */
.split { display: grid; grid-template-columns: 340px 1fr; gap: clamp(40px, 6vw, 110px); }
.side-nav { position: sticky; top: 110px; align-self: start; display: grid; gap: 20px; }
.side-box { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 10px; box-shadow: 0 30px 60px -45px rgba(14,19,17,.35); }
.side-box__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 18px; margin-bottom: 6px; border-bottom: 1px dashed var(--line); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.side-box__head svg { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: rgba(135,220,91,.18); color: var(--primary-ink); }
.side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side-list a { position: relative; display: grid; grid-template-columns: 30px 1fr 30px; align-items: center; gap: 10px; padding: 13px 14px; border-radius: 8px; font-weight: 600; font-size: 15px; color: var(--ink); transition: background .35s, color .35s; overflow: hidden; }
.side-list a::before { content: ""; position: absolute; inset-block: 10px; inset-inline-start: 0; width: 3px; border-radius: 3px; background: var(--primary); transform: scaleY(0); transition: transform .4s var(--ease-out); }
.side-list__idx { font-family: var(--font-display); font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: .06em; transition: color .3s; }
.side-list__label { line-height: 1.35; }
.side-list__arrow { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--muted); transition: all .4s var(--ease-out); }
.side-list__arrow svg { width: 14px; height: 14px; }
[dir="rtl"] .side-list__arrow svg { transform: scaleX(-1); }
.side-list a:hover { background: var(--paper); }
.side-list a:hover .side-list__arrow { border-color: var(--ink); color: var(--ink); transform: translateX(3px); }
[dir="rtl"] .side-list a:hover .side-list__arrow { transform: translateX(-3px); }
.side-list a.is-active { background: var(--ink); color: var(--white); }
.side-list a.is-active::before { transform: scaleY(1); }
.side-list a.is-active .side-list__idx { color: var(--primary); }
.side-list a.is-active .side-list__arrow { background: var(--primary); border-color: var(--primary); color: var(--ink); }
.side-card { background: var(--ink); color: var(--white); padding: 34px 30px 30px; border-radius: 10px; position: relative; overflow: hidden; isolation: isolate; }
.side-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(135,220,91,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(135,220,91,.07) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(200deg, #000 10%, transparent 60%); -webkit-mask-image: linear-gradient(200deg, #000 10%, transparent 60%); }
.side-card .corner { position: absolute; inset-inline-end: 22px; top: 22px; width: 54px; height: 54px; color: var(--primary); opacity: .9; z-index: 0; }
.side-card h4 { font-size: 26px; margin: 46px 0 12px; position: relative; }
.side-card p { color: rgba(255,255,255,.62); font-size: 15px; position: relative; margin-bottom: 24px; }
.side-card__btn { width: 100%; justify-content: space-between; }
.feature-img { overflow: hidden; border-radius: var(--radius); margin-bottom: 50px; }
.feature-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } .side-nav { position: static; order: 2; } }

/* Service cards (index) */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.svc-card { position: relative; padding: clamp(30px, 3vw, 50px); border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); min-height: 400px; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; transition: color .5s; }
.svc-card::before { content: ""; position: absolute; inset: 0; background: var(--ink); z-index: -1; clip-path: circle(0% at 100% 0%); transition: clip-path .8s var(--ease); }
.svc-card:hover::before { clip-path: circle(150% at 100% 0%); }
.svc-card:hover { color: var(--white); }
.svc-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; }
.svc-card__icon { width: 64px; height: 64px; color: var(--primary-ink); transition: color .5s; }
.svc-card:hover .svc-card__icon { color: var(--primary); }
.svc-card__idx { font-family: var(--font-display); font-size: 14px; color: var(--muted); letter-spacing: .1em; }
.svc-card h3 { font-size: clamp(24px, 2vw, 32px); margin: 60px 0 14px; }
.svc-card p { color: var(--muted); font-size: 15px; transition: color .5s; margin-bottom: 24px; }
.svc-card:hover p { color: rgba(255,255,255,.65); }
@media (max-width: 960px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } .svc-card { min-height: 320px; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 6vw, 110px); }
.contact-info { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-info__item { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.contact-info__icon { width: 54px; height: 54px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; color: var(--primary-ink); }
.contact-info__icon svg { width: 22px; height: 22px; }
.contact-info small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contact-info a, .contact-info p { font-size: 18px; font-weight: 500; margin: 0; }
.contact-info a:hover { color: var(--primary-ink); }
.form { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: clamp(28px, 4vw, 60px); }
.form h3 { font-size: 34px; margin-bottom: 34px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.field { position: relative; margin-bottom: 26px; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea, .field select {
  width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 26px 0 12px; font-size: 16px; outline: none; border-radius: 0; transition: border-color .3s; appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 130px; resize: vertical; }
.field label { position: absolute; top: 26px; inset-inline-start: 0; color: var(--muted); font-size: 16px; pointer-events: none; transition: all .3s var(--ease-out); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 0; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.field::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--primary-ink); transform: scaleX(0); transition: transform .5s var(--ease-out); }
.field:focus-within::after { transform: scaleX(1); }
.field textarea + label { top: 26px; }
.field .error { color: #c2410c; font-size: 13px; margin-top: 6px; display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 6px 0 30px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--primary-ink); margin-top: 2px; flex-shrink: 0; }
.alert { padding: 16px 20px; border-radius: 4px; margin-bottom: 26px; font-weight: 600; font-size: 15px; display: flex; gap: 12px; align-items: center; }
.alert--ok { background: rgba(135,220,91,.2); color: var(--primary-ink); }
.alert--err { background: #fff1ec; color: #c2410c; }
.hp { position: absolute; left: -9999px; }
.map { margin-top: clamp(60px, 8vw, 120px); height: 520px; border-radius: 6px; overflow: hidden; filter: grayscale(1) contrast(1.05); transition: filter .6s; border: 1px solid var(--line); }
.map:hover { filter: none; }
.map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } .form-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--white); padding-top: clamp(80px, 9vw, 140px); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; padding-bottom: 80px; border-bottom: 1px solid var(--line-light); }
.footer-top h3 { font-size: clamp(32px, 3.6vw, 58px); letter-spacing: -.04em; }
.newsletter { align-self: end; }
.newsletter p { color: rgba(255,255,255,.6); margin-bottom: 22px; }
.newsletter form { display: flex; border-bottom: 1px solid rgba(255,255,255,.3); transition: border-color .3s; }
.newsletter form:focus-within { border-color: var(--primary); }
.newsletter input { flex: 1; background: none; border: 0; padding: 18px 0; color: var(--white); outline: none; font-size: 17px; }
.newsletter input::placeholder { color: rgba(255,255,255,.4); }
.newsletter button { display: flex; align-items: center; gap: 10px; color: var(--primary); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.newsletter button svg { width: 18px; height: 18px; }
[dir="rtl"] .newsletter button svg { transform: scaleX(-1); }
.newsletter .msg { color: var(--primary); font-size: 14px; margin-top: 12px; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 70px; }
.footer-cols h4 { font-family: var(--font-body); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.45); font-weight: 700; margin-bottom: 24px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-cols a { color: rgba(255,255,255,.8); transition: color .3s; font-size: 15px; }
.footer-cols a:hover { color: var(--primary); }
.footer-about img { height: 92px; width: auto; margin-bottom: 26px; filter: brightness(1.35) saturate(1.15); }
.footer-about p { color: rgba(255,255,255,.6); font-size: 15px; max-width: 360px; }
.footer-contact li { color: rgba(255,255,255,.8); font-size: 15px; display: flex; gap: 12px; }
.footer-contact svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; transition: all .3s; }
.socials a:hover { background: var(--primary); color: var(--ink); border-color: var(--primary); }
.socials svg { width: 17px; height: 17px; }
.footer-giant { font-family: var(--font-display); font-size: clamp(64px, 17vw, 300px); line-height: .8; letter-spacing: -.06em; font-weight: 600; white-space: nowrap; -webkit-text-stroke: 1px rgba(255,255,255,.14); color: transparent; text-align: center; user-select: none; margin-bottom: 0; padding-bottom: .1em; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 26px; border-top: 1px solid var(--line-light); font-size: 13px; color: rgba(255,255,255,.5); position: relative; }
.to-top { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.75); font-weight: 600; }
.to-top span { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; transition: all .3s; }
.to-top:hover span { background: var(--primary); color: var(--ink); border-color: var(--primary); }
.to-top svg { width: 16px; height: 16px; transform: rotate(-90deg); }
@media (max-width: 960px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-cols { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .section-head { grid-template-columns: 1fr; }
}

/* WhatsApp float */
.wa-float { position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37,211,102,.6); transition: transform .3s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 70px; }
.pagination a, .pagination span { min-width: 46px; height: 46px; padding-inline: 14px; border-radius: 100px; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 600; font-size: 14px; }
.pagination .is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pagination a:hover { border-color: var(--ink); }

/* 404 */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; background: var(--ink); color: var(--white); padding: 40px 20px; }
.notfound .big { font-family: var(--font-display); font-size: clamp(120px, 26vw, 360px); line-height: .8; letter-spacing: -.06em; -webkit-text-stroke: 1px var(--primary); color: transparent; }

/* ---------- Reveal animations ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="scale"] { transform: scale(.94); }
[data-img-reveal] { position: relative; overflow: hidden; }
.js [data-img-reveal]::after { content: ""; position: absolute; inset: -1px; z-index: 2; background: var(--reveal-bg, var(--paper)); transform-origin: 50% 0; transition: transform 1.4s var(--ease); transition-delay: var(--d, 0s); pointer-events: none; }
.js [data-img-reveal] img { transform: scale(1.3); transition: transform 1.8s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-img-reveal].is-in::after { transform: scaleY(0); }
.js [data-img-reveal].is-in img { transform: scale(1); }
.on-dark { --reveal-bg: var(--ink); }
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * .035s + var(--d, 0s)); }
.js [data-split].is-in .w > span { transform: none; }
.js .process__line line { stroke-dasharray: 2000; stroke-dashoffset: 2000; transition: stroke-dashoffset 2.4s var(--ease); }
.js .process.is-in .process__line line { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-img-reveal], .js [data-split] .w > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* Keep the decorative background grid out of grid-like components */
.svc-card, .facts, .logo-grid, .contact-info, .stats, .pn, .sectors__list, .filter, .prose { background: var(--paper); }
.logo-grid .logo-tile { background: var(--paper); }

/* Inner pages with a sidebar start closer to the page header */
.section--tight { padding-top: clamp(40px, 4.5vw, 72px); }
.split .stat:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
.prose ol { counter-reset: step; list-style: none; padding: 0; margin: 0 0 1.6em; }
.prose ol li { counter-increment: step; position: relative; padding: 14px 0 14px 54px; border-bottom: 1px solid var(--line); }
[dir="rtl"] .prose ol li { padding: 14px 54px 14px 0; }
.prose ol li::before { content: counter(step, decimal-leading-zero); position: absolute; inset-inline-start: 0; top: 12px; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--primary); display: grid; place-items: center; font-family: var(--font-display); font-size: 13px; }
.prose h4 { margin: 1.4em 0 .4em; font-size: 19px; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; color: var(--ink); }
.prose h4 + p { color: var(--muted); }
.prose strong { color: var(--ink); font-weight: 700; }

/* Designer credit */
.footer-credit { display: inline-flex; align-items: center; gap: 6px; }
.footer-credit a { color: rgba(255,255,255,.8); font-weight: 600; background: linear-gradient(var(--primary), var(--primary)) 0 100% / 0 1px no-repeat; transition: color .3s, background-size .4s var(--ease-out); }
.footer-credit a:hover { color: var(--primary); background-size: 100% 1px; }
.footer-bottom__mid { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }

/* Counters: equal-width digits so numbers don't jiggle while counting */
[data-count], .stat__num, .about__exp strong { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
