/* =====================================================================
   PROPER Developments — site styles
   Charcoal · graphite · white · brushed-metal accents
   ===================================================================== */
:root {
  --ink: #0d0e10;          /* charcoal */
  --ink-2: #131518;
  --graphite: #191b1f;
  --graphite-2: #22252a;
  --steel: #2e3238;
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .18);
  --white: #f3f2ef;
  --mute: #9399a2;
  --mute-2: #6c727b;
  --stone: #ebe9e4;        /* light sections */
  --stone-2: #dedbd4;
  --ink-text: #15171a;
  --ink-mute: #5d636b;
  --metal: #c3bcad;
  --metal-grad: linear-gradient(115deg, #8e8879 0%, #d9d3c5 28%, #a9a293 48%, #ece8de 66%, #9b9586 100%);
  --accent: #c3bcad;
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 84px;
  --ease: cubic-bezier(.22, .7, .15, 1);
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; background: var(--ink); color: var(--white); font-family: var(--sans); font-size: 17px; line-height: 1.6; font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
:focus-visible { outline: 2px solid var(--metal); outline-offset: 4px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: -100px; inset-inline-start: 16px; z-index: 200; background: var(--white); color: var(--ink); padding: 10px 16px; }
.skip:focus { top: 16px; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }

/* ---------- Type ---------- */
.display-1 { font-size: clamp(44px, 7.2vw, 112px); font-weight: 300; line-height: .98; letter-spacing: -.035em; }
.display-2 { font-size: clamp(34px, 4.6vw, 68px); font-weight: 300; line-height: 1.04; letter-spacing: -.03em; }
.display-3 { font-size: clamp(26px, 2.8vw, 40px); font-weight: 400; line-height: 1.15; letter-spacing: -.02em; }
.display-1 em, .display-2 em, .display-3 em { font-size: 1.06em; }
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--accent); }
.eyebrow--light { color: #c9ccd1; }
.lead { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; font-weight: 300; }
.prose p + p { margin-top: 1.1em; }
.prose p:not(.lead) { color: var(--mute); }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 26px; border-radius: 0; font-size: 15px; font-weight: 500; letter-spacing: .01em; border: 1px solid transparent; transition: background .35s var(--ease), color .35s, border-color .35s, transform .35s var(--ease); white-space: nowrap; }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn--metal { background: var(--metal-grad); background-size: 200% 100%; background-position: 0 0; color: var(--ink); }
.btn--metal:hover { background-position: 100% 0; }
.btn--line { border-color: var(--line-2); color: var(--white); }
.btn--line:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }
.i-arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .35s var(--ease); flex: none; }
.btn:hover .i-arrow, .link:hover .i-arrow { transform: translateX(5px); }
.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; padding-bottom: 6px; border-bottom: 1px solid currentColor; border-color: rgba(127, 127, 127, .4); transition: border-color .3s; }
.link:hover { border-color: currentColor; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); transition: background .45s var(--ease), border-color .45s, height .35s; border-bottom: 1px solid transparent; }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 40px; }
.brand img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__item > a { font-size: 14.5px; font-weight: 400; color: #d6d8dc; padding: 10px 12px; position: relative; transition: color .3s; }
.nav__item > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: var(--white); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav__item > a:hover, .nav__item > a[aria-current] { color: #fff; }
.nav__item > a:hover::after, .nav__item > a[aria-current]::after { transform: scaleX(1); }
.nav__toggle { display: none; }
.mega { position: absolute; top: 100%; left: -12px; padding-top: 14px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease), visibility .3s; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner { width: 380px; background: rgba(19, 21, 24, .97); border: 1px solid var(--line); padding: 10px; backdrop-filter: blur(16px); }
.mega__inner a { display: flex; gap: 14px; padding: 12px 14px; font-size: 14.5px; color: #d6d8dc; transition: background .25s, color .25s; }
.mega__inner a span { color: var(--mute-2); font-size: 12px; padding-top: 2px; }
.mega__inner a:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.header-cta { margin-inline-start: 8px; }
@media (min-width: 1181px) { .nav__item--contact { display: none; } }
.menu-btn { display: none; width: 44px; height: 44px; background: none; border: 0; position: relative; }
.menu-btn i { position: absolute; left: 10px; right: 10px; height: 1.5px; background: #fff; transition: transform .35s var(--ease), top .35s; }
.menu-btn i:first-of-type { top: 17px; }
.menu-btn i:last-of-type { top: 26px; }
.menu-btn[aria-expanded="true"] i:first-of-type { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-of-type { top: 21px; transform: rotate(-45deg); }
body:not(.has-hero) .site-header, .site-header.is-solid { background: rgba(13, 14, 16, .86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-color: var(--line); }
.site-header.is-solid { --header-h: 72px; height: 72px; }

/* ---------- Home hero: cinematic Headquarters sequence ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: #050506; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; }
.hero__stage, .hero__shot { position: absolute; inset: 0; }
.hero__stage { z-index: -1; }
.hero__shot { overflow: hidden; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform-origin: 50% 40%; transform: scale(1.06); animation: drift 28s ease-in-out infinite alternate; will-change: transform; }
@keyframes drift { from { transform: scale(1.06) translate3d(0, 0, 0); } to { transform: scale(1.13) translate3d(-1.5%, -1%, 0); } }
.hero__grade { position: absolute; inset: 0; background:
  radial-gradient(110% 75% at 82% 0%, rgba(255, 178, 96, .38), transparent 60%),
  linear-gradient(180deg, rgba(255, 170, 90, .10), rgba(255, 170, 90, 0) 45%),
  linear-gradient(180deg, rgba(8, 9, 10, .55) 0%, rgba(8, 9, 10, 0) 26%, rgba(8, 9, 10, .25) 55%, rgba(8, 9, 10, .94) 100%),
  linear-gradient(90deg, rgba(8, 9, 10, .72) 0%, rgba(8, 9, 10, .2) 55%, rgba(8, 9, 10, 0) 80%); }
.hero__grain { position: absolute; inset: -50%; opacity: .07; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1s steps(4) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-1%, -2%); } 100% { transform: translate(0, 0); } }
.hero__content { position: relative; z-index: 3; padding-bottom: clamp(100px, 14vh, 150px); }
.hero__logo { width: clamp(150px, 14vw, 210px); height: auto; margin-bottom: clamp(24px, 4vh, 40px); }
.hero__title { font-size: clamp(40px, 6.2vw, 100px); font-weight: 300; line-height: 1; letter-spacing: -.035em; max-width: 16ch; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > * { display: inline-block; }
.hero__title em { font-size: 1.08em; background: var(--metal-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .18em; margin-right: -.12em; }
.hero__lead { max-width: 560px; color: #c9ccd1; font-size: clamp(16px, 1.3vw, 19px); font-weight: 300; margin: 26px 0 36px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__foot { position: absolute; z-index: 3; left: 0; right: 0; bottom: 30px; display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: #aeb3ba; }
.hero__loc { display: inline-flex; align-items: center; gap: 10px; }
.hero__loc i { width: 7px; height: 7px; border-radius: 50%; background: var(--metal); box-shadow: 0 0 0 4px rgba(195, 188, 173, .2); }
.hero__scroll { width: 22px; height: 36px; border: 1px solid var(--line-2); border-radius: 12px; position: relative; }
.hero__scroll span { position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; background: #fff; border-radius: 2px; animation: wheel 2s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Page-load reveal for the home hero (short, no intro gate) */
@keyframes logoIn { from { opacity: 0; filter: blur(8px); transform: translateY(10px); } to { opacity: 1; filter: none; transform: none; } }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.hero__logo { animation: logoIn 1.2s var(--ease) .1s both; }
.hero__title .line > * { animation: rise 1.1s var(--ease) both; }
.hero__title .line:nth-child(1) > * { animation-delay: .25s; }
.hero__title .line:nth-child(2) > * { animation-delay: .4s; }
.hero__lead { animation: fadeUp 1s var(--ease) .65s both; }
.hero__actions { animation: fadeUp 1s var(--ease) .8s both; }
.hero__foot { animation: fadeIn 1.2s ease 1s both; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Page hero (inner pages) ---------- */
.phero { position: relative; min-height: min(78vh, 760px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 60px) 0 clamp(60px, 9vh, 100px); }
.phero__media { position: absolute; inset: -9% 0; z-index: -1; will-change: transform; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; animation: pheroIn 2.2s var(--ease) both; }
@keyframes pheroIn { from { transform: scale(1.08); filter: brightness(.6); } }
.phero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 14, 16, .6) 0%, rgba(13, 14, 16, .15) 35%, rgba(13, 14, 16, .9) 100%), linear-gradient(90deg, rgba(13, 14, 16, .65), transparent 70%); }
.phero__content { animation: fadeUp 1.2s var(--ease) .2s both; }
.phero .display-1 { max-width: 15ch; }
.phero__sub { max-width: 600px; margin-top: 26px; color: #c9ccd1; font-size: clamp(17px, 1.4vw, 20px); font-weight: 300; }
.phero__cap { position: absolute; left: 0; right: 0; bottom: 22px; text-align: end; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #9aa0a8; }
.phero::before { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--accent), transparent 60%); z-index: 1; opacity: .9; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 160px) 0; }
.section--tight { padding-top: 0; }
.section--stone, .intro, .partners-strip { background: var(--stone); color: var(--ink-text); color-scheme: light; }
.section--stone .eyebrow, .intro .eyebrow, .partners-strip .eyebrow { color: var(--ink-mute); }
.section--stone .eyebrow::before, .intro .eyebrow::before, .partners-strip .eyebrow::before { background: var(--ink-text); }
.section--graphite, .dark { background: var(--graphite); }
.sec-head { max-width: 820px; margin-bottom: clamp(44px, 6vw, 80px); }
.sec-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }

/* ---------- Home: intro + facts ---------- */
.intro { padding: clamp(90px, 12vw, 170px) 0 clamp(60px, 8vw, 110px); }
.intro__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 100px); align-items: end; }
.intro__text p { color: var(--ink-mute); font-size: 18px; margin-bottom: 28px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(70px, 9vw, 120px); border-top: 1px solid rgba(0, 0, 0, .14); }
.fact { padding: 28px 24px 0 0; display: grid; gap: 6px; }
.fact + .fact { padding-inline-start: 24px; border-inline-start: 1px solid rgba(0, 0, 0, .1); }
.fact__v { font-size: clamp(28px, 3vw, 44px); font-weight: 300; letter-spacing: -.03em; line-height: 1; }
.fact__l { font-size: 13.5px; color: var(--ink-mute); }

/* ---------- Home: interactive capabilities ---------- */
.capx { padding: clamp(90px, 11vw, 160px) 0; }
.capx__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.capx__list { border-top: 1px solid var(--line); }
.capx__item { border-bottom: 1px solid var(--line); position: relative; }
.capx__item::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.capx__item.is-active::before { transform: scaleX(1); }
.capx__head { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; }
.capx__toggle { display: grid; grid-template-columns: 56px 1fr 22px; align-items: center; gap: 10px; padding: 26px 0; width: 100%; background: none; border: 0; color: inherit; font: inherit; text-align: start; cursor: pointer; }
.capx__toggle:focus-visible { outline: 2px solid var(--metal); outline-offset: 4px; }
.capx__chev { width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); color: var(--mute-2); transition: transform .5s var(--ease), color .4s; justify-self: center; }
.capx__item.is-active .capx__chev { transform: rotate(-135deg) translateY(-2px); color: var(--accent); }
.capx__n { font-size: 13px; color: var(--mute-2); transition: color .4s; }
.capx__name { font-size: clamp(20px, 2vw, 28px); font-weight: 300; letter-spacing: -.02em; line-height: 1.2; color: #b9bdc3; transition: color .4s, transform .5s var(--ease); }
.capx__go { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; color: var(--mute-2); transition: color .4s, border-color .4s, background .4s, transform .4s var(--ease); }
.capx__go:hover, .capx__go:focus-visible { color: #0d0e10; background: var(--accent); border-color: var(--accent); transform: translateX(3px); }
[dir="rtl"] .capx__go:hover, [dir="rtl"] .capx__go:focus-visible { transform: translateX(-3px); }
.capx__item.is-active .capx__name, .capx__toggle:hover .capx__name { color: #fff; transform: translateX(6px); }
.capx__item.is-active .capx__n, .capx__item.is-active .capx__go { color: var(--accent); }
.capx__detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); padding-inline-start: 66px; }
.capx__detail > * { overflow: hidden; }
.capx__item.is-active .capx__detail { grid-template-rows: 1fr; }
.capx__detail p { color: var(--mute); }
.capx__detail ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0 28px; }
.capx__detail li { font-size: 13px; padding: 6px 12px; border: 1px solid var(--line); color: #c9ccd1; }
.capx__item.is-active .capx__detail p { padding-top: 0; }
.capx__media { position: sticky; top: 110px; aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--ink); }
.capx__fig { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.capx__fig img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 2.4s var(--ease); }
.capx__fig.is-active { opacity: 1; }
.capx__fig[data-cap-fig="0"] img { object-position: 50% 78%; }
.capx__fig.is-active img { transform: scale(1); }
.capx__fig figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 18px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #c9ccd1; background: linear-gradient(0deg, rgba(0, 0, 0, .6), transparent); }

/* ---------- Home: headquarters ---------- */
.hq { position: relative; min-height: 92vh; display: flex; align-items: flex-end; padding: 0 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.hq__media { position: absolute; inset: 0; }
.hq__media img { width: 100%; height: 100%; object-fit: cover; }
.hq__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13, 14, 16, .7), transparent 50%); }
.hq__grid { position: relative; display: flex; justify-content: flex-end; }
.hq__card { width: min(480px, 100%); background: rgba(19, 21, 24, .86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); padding: clamp(28px, 3.5vw, 48px); border: 1px solid var(--line); }
.hq__card p { color: var(--mute); margin: 18px 0 26px; }

/* ---------- Project cards ---------- */
.featured { padding: clamp(90px, 11vw, 160px) 0; }
.featured__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 28px); }
.featured__grid--3 { grid-template-columns: repeat(3, 1fr); }
.pcard { position: relative; display: block; text-align: start; background: none; border: 0; padding: 0; color: #fff; overflow: hidden; }
.pcard--xl { grid-column: 1 / -1; }
.pcard__img { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--graphite); }
.pcard--xl .pcard__img { aspect-ratio: 21 / 9; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .6s; filter: saturate(.92); }
.pcard__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 11, 13, .85) 0%, rgba(10, 11, 13, 0) 55%); transition: opacity .5s; }
.pcard:hover .pcard__img img { transform: scale(1.045); filter: saturate(1.05); }
.pcard__body { position: absolute; left: 0; right: 60px; bottom: 0; padding: clamp(18px, 2.4vw, 32px); display: grid; gap: 6px; }
.pcard__meta { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: #c9ccd1; }
.pcard__title { font-size: clamp(20px, 2vw, 30px); font-weight: 300; letter-spacing: -.02em; line-height: 1.15; }
.pcard--xl .pcard__title { font-size: clamp(28px, 3.2vw, 48px); }
.pcard__loc { font-size: 13.5px; color: var(--mute); }
.pcard__go { position: absolute; right: clamp(18px, 2.4vw, 32px); bottom: clamp(18px, 2.4vw, 32px); width: 46px; height: 46px; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .4s, color .4s, border-color .4s; }
.pcard:hover .pcard__go { background: var(--white); color: var(--ink); border-color: var(--white); }
.pcard.is-hidden { display: none; }

/* ---------- Partners ---------- */
.partners-strip { padding: clamp(80px, 10vw, 140px) 0; }
.partners { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid rgba(0, 0, 0, .12); border-inline-start: 1px solid rgba(0, 0, 0, .12); }
.partner { border-inline-end: 1px solid rgba(0, 0, 0, .12); border-bottom: 1px solid rgba(0, 0, 0, .12); display: grid; place-items: center; aspect-ratio: 1.35; padding: 22px; position: relative; transition: background .4s; }
.partner:hover { background: #f6f5f2; }
.partner__logo { display: grid; place-items: center; width: 100%; height: 100%; }
.partner__logo img { max-width: min(150px, 80%); max-height: 64px; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.1); opacity: .78; transition: filter .5s, opacity .5s; }
.partner:hover .partner__logo img { filter: none; opacity: 1; }
.logo-type { font-size: 30px; font-weight: 600; letter-spacing: .14em; color: #2a2d31; opacity: .8; }
.partners--big { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.partner--big { aspect-ratio: 1.25; grid-template-rows: 1fr auto; padding: 34px; }
.partner--big .partner__logo img { max-width: min(200px, 70%); max-height: 90px; }
.partner--big .logo-type { font-size: 42px; }
.partner__role { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); text-align: center; }

/* ---------- CTA band + footer ---------- */
.cta-band { background: var(--ink); padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--line); }
.cta-band__inner { display: flex; justify-content: space-between; align-items: baseline; gap: 24px 40px; flex-wrap: wrap; }
.cta-band p { color: var(--mute); margin-top: 18px; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.site-footer { background: var(--ink); padding: clamp(70px, 8vw, 110px) 0 30px; border-top: 1px solid var(--line); }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding-bottom: 60px; border-bottom: 1px solid var(--line); }
.footer__statement { font-size: clamp(26px, 3vw, 44px); font-weight: 300; letter-spacing: -.025em; line-height: 1.1; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1.4fr 1fr 1.2fr; gap: 40px; padding: 56px 0; }
.footer__grid img { height: 34px; width: auto; }
.footer__parent { margin-top: 18px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.footer__h { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--mute-2); margin-bottom: 18px; }
.footer__grid li + li { margin-top: 10px; }
.footer__grid a, .footer__grid address { font-size: 14.5px; color: #c9ccd1; font-style: normal; transition: color .3s; }
.footer__grid a:hover { color: #fff; }
.footer__grid p { margin-top: 14px; line-height: 1.9; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute-2); }

/* ---------- About ---------- */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.pillar { border-top: 1px solid var(--line-2); padding-top: 28px; }
.pillar__n { font-size: 13px; color: var(--metal); }
.pillar h3, .value h3 { font-size: 24px; font-weight: 400; letter-spacing: -.015em; margin: 14px 0 12px; }
.pillar p { color: var(--mute); }
.value { border-top: 1px solid rgba(0, 0, 0, .2); padding-top: 28px; }
.value h3 { margin-top: 0; }
.value p { color: var(--ink-mute); }
.clients { background: #fff; padding: clamp(20px, 4vw, 56px); }
.clients img { margin-inline: auto; max-width: 980px; width: 100%; }

/* ---------- Capabilities overview ---------- */
.capblocks .wrap { display: grid; gap: clamp(70px, 9vw, 130px); }
.capblock { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.capblock:nth-child(even) .capblock__media { order: 2; }
.capblock__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.capblock__media::after { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 100%; background: var(--accent); }
.capblock__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.capblock:hover .capblock__media img { transform: scale(1.04); }
.capblock__n { font-size: 13px; color: var(--accent); letter-spacing: .1em; }
.capblock h2 { margin: 14px 0 12px; }
.capblock__tag { color: var(--mute); font-size: 18px; margin-bottom: 26px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.tags li { font-size: 13px; padding: 7px 13px; border: 1px solid var(--line); color: #c9ccd1; }

/* ---------- Capability page ---------- */
.cap-intro { font-weight: 300; }
.svcs { border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: 56px 1fr; column-gap: 10px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.svc__n { font-size: 13px; color: var(--accent); padding-top: 6px; grid-row: span 2; }
.svc h3 { font-size: clamp(21px, 2vw, 27px); font-weight: 400; letter-spacing: -.015em; }
.svc p { color: var(--mute); margin-top: 8px; max-width: 58ch; }
.gallery { display: grid; gap: clamp(12px, 1.6vw, 22px); }
.gallery--2 { grid-template-columns: 1.4fr 1fr; }
.gallery--3 { grid-template-columns: 1.4fr 1fr 1fr; }
.gallery figure { position: relative; overflow: hidden; aspect-ratio: 4 / 3.2; }
.gallery figure:first-child { aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery-sec .gallery + .gallery { margin-top: clamp(12px, 1.6vw, 22px); }
.gallery-sec .gallery + .gallery { grid-template-columns: repeat(3, 1fr); }
.gallery-sec .gallery + .gallery figure { aspect-ratio: 16 / 10; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #d6d8dc; background: linear-gradient(0deg, rgba(0, 0, 0, .65), transparent); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.steps li { border-top: 1px solid rgba(0, 0, 0, .2); padding-top: 24px; }
.steps span { font-size: 13px; color: var(--ink-mute); }
.steps h3 { font-size: 23px; font-weight: 400; margin: 12px 0 8px; }
.steps p { color: var(--ink-mute); font-size: 15.5px; }
.next-cap { border-top: 1px solid var(--line); }
.next-cap__link { display: grid; gap: 10px; padding: clamp(60px, 8vw, 110px) 0; }
.next-cap__link .display-2 { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; transition: color .4s; }
.next-cap__link .i-arrow { width: 44px; height: 44px; stroke-width: 1; color: var(--accent); }
.next-cap__link:hover .display-2 { color: var(--accent); }
.next-cap__link:hover .i-arrow { transform: translateX(10px); }

/* ---------- Projects page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.chip { background: none; border: 1px solid var(--line); color: #c9ccd1; padding: 10px 18px; font-size: 14px; transition: all .3s; }
.chip:hover { border-color: var(--line-2); color: #fff; }
.chip.is-active { background: var(--white); color: var(--ink); border-color: var(--white); }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.pgrid .pcard--xl { grid-column: span 3; }
.pgrid .pcard__title { font-size: clamp(19px, 1.6vw, 24px); }
.pgrid .pcard--xl .pcard__title { font-size: clamp(28px, 3.2vw, 48px); }

/* ---------- Project viewer ---------- */
.viewer { border: 0; padding: 0; width: min(1240px, calc(100% - 32px)); max-height: calc(100vh - 40px); background: var(--graphite); color: var(--white); display: none; grid-template-columns: 1.6fr 1fr; overflow: hidden; }
.viewer[open] { display: grid; animation: fadeUp .5s var(--ease); }
.viewer::backdrop { background: rgba(5, 5, 6, .86); backdrop-filter: blur(6px); }
.viewer__media { position: relative; background: #000; min-height: 360px; }
.viewer__media > img { width: 100%; height: 100%; max-height: calc(100vh - 40px); object-fit: cover; animation: fadeIn .5s ease; }
.viewer__thumbs { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 8px; }
.viewer__thumbs button { width: 64px; height: 44px; padding: 0; border: 1px solid rgba(255, 255, 255, .3); background: none; opacity: .65; overflow: hidden; }
.viewer__thumbs button.is-active, .viewer__thumbs button:hover { opacity: 1; border-color: #fff; }
.viewer__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.viewer__info { padding: clamp(28px, 3vw, 48px); display: flex; flex-direction: column; overflow: auto; }
.viewer__info h2 { font-size: clamp(26px, 2.6vw, 38px); font-weight: 300; letter-spacing: -.02em; line-height: 1.1; }
.viewer__loc { color: var(--metal); font-size: 14px; margin: 10px 0 18px; }
.viewer__info p:not(.eyebrow):not(.viewer__loc) { color: #c9ccd1; }
.viewer__nav { margin-top: auto; padding-top: 30px; display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--mute); }
.round { width: 48px; height: 48px; border: 1px solid var(--line-2); background: none; display: grid; place-items: center; transition: all .3s; }
.round:hover { background: #fff; color: var(--ink); }
.round svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.viewer__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 0; background: rgba(0, 0, 0, .55); color: #fff; font-size: 26px; line-height: 1; z-index: 2; }

/* ---------- Contact ---------- */
.contact-hero { padding: calc(var(--header-h) + clamp(60px, 9vw, 120px)) 0 clamp(80px, 10vw, 140px); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact-hero .display-1 { font-size: clamp(42px, 5.6vw, 84px); max-width: 12ch; }
.contact-list { margin-top: 56px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-list > div { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute-2); padding-top: 4px; }
.contact-list dd { margin: 0; color: #d6d8dc; }
.contact-list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.form { display: grid; gap: 22px; background: var(--graphite); padding: clamp(26px, 3.4vw, 48px); border: 1px solid var(--line); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form label { display: grid; gap: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.form input, .form select, .form textarea { font: inherit; font-size: 16px; letter-spacing: 0; text-transform: none; color: #fff; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); padding: 10px 0; border-radius: 0; transition: border-color .3s; }
.form select option { background: var(--graphite); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: #fff; }
.form .is-invalid, .form .is-invalid:focus { border-color: #e0806f; }
.form__error { font-size: 13px; letter-spacing: 0; text-transform: none; color: #e9a294; }
.form__error[hidden] { display: none; }
.form__status { margin: 0; padding: 16px 20px; border: 1px solid var(--line-2); border-inline-start: 2px solid var(--metal); color: var(--white); font-size: 15px; line-height: 1.55; }
.form__status a { text-decoration: underline; text-underline-offset: 3px; }
.form__status[hidden] { display: none; }
.form .btn { justify-self: start; margin-top: 8px; }
.form__note { font-size: 13px; color: var(--mute-2); }
.map-sec iframe { display: block; width: 100%; height: 440px; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(12% 6% 12% 6%); transition: clip-path 1.6s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; clip-path: inset(0); }
.js [data-reveal].is-instant { transition: none; }

/* ---------- Page transitions (cross-document View Transitions) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .35s ease both; }
::view-transition-new(root) { animation: vtIn .55s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__item > a { padding: 10px 9px; font-size: 14px; }
  .header-cta { display: none; }
  .partners { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .menu-btn { display: block; margin-inline-start: auto; }
  .nav { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 0; padding: 90px var(--gutter) 40px; background: var(--ink); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; overflow-y: auto; }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav__item > a { font-size: 28px; font-weight: 300; padding: 16px 0; flex: 1; }
  .nav__item > a::after { display: none; }
  .nav__toggle { display: grid; place-items: center; width: 48px; height: 48px; background: none; border: 0; }
  .nav__toggle svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.5; transition: transform .3s; }
  .has-mega.is-open .nav__toggle svg { transform: rotate(180deg); }
  .mega { position: static; width: 100%; padding: 0 0 12px; display: none; opacity: 1; visibility: visible; transform: none; }
  .has-mega:hover .mega, .has-mega:focus-within .mega { display: none; }
  .has-mega.is-open .mega { display: block; }
  .mega__inner { width: auto; background: none; border: 0; padding: 0; }
  .mega__inner a { padding: 10px 0; font-size: 16px; }
  body.menu-open { overflow: hidden; }
  .split, .intro__grid, .capx__grid, .contact-grid, .capblock { grid-template-columns: 1fr; }
  .capblock:nth-child(even) .capblock__media { order: 0; }
  .capx__media { position: relative; top: 0; aspect-ratio: 16 / 10; order: -1; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .fact { padding-bottom: 20px; }
  .featured__grid--3, .pgrid { grid-template-columns: 1fr 1fr; }
  .pgrid .pcard--xl { grid-column: span 2; }
  .cols3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .gallery--3 { grid-template-columns: 1fr 1fr; }
  .gallery--3 figure:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }
  .gallery--2 figure:first-child { aspect-ratio: 4 / 3.2; }
  .viewer { grid-template-columns: 1fr; overflow-y: auto; }
  .viewer__media > img { max-height: 55vh; }
  .partners--big { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { min-height: 560px; }
  .hero__content { padding-bottom: 96px; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero__loc { display: none; }
  .hero__foot { justify-content: flex-end; gap: 16px; }
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding-inline-start: 0; border-inline-start: 0; border-bottom: 1px solid rgba(0, 0, 0, .1); padding: 20px 0; }
  .featured__grid, .featured__grid--3, .pgrid { grid-template-columns: 1fr; }
  .pgrid .pcard--xl { grid-column: auto; }
  .pcard--xl .pcard__img { aspect-ratio: 4 / 3; }
  .partners, .partners--big { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner__role { font-size: 11px; letter-spacing: .08em; }
  .partner--big { padding: 20px; }
  .partner--big .logo-type { font-size: 30px; }
  .steps, .form__row { grid-template-columns: 1fr; }
  .gallery--2, .gallery--3 { grid-template-columns: 1fr; }
  .gallery-sec .gallery + .gallery { grid-template-columns: 1fr; }
  .gallery--3 figure:first-child { grid-column: auto; }
  .contact-list > div { grid-template-columns: 1fr; gap: 4px; }
  .footer__grid { grid-template-columns: 1fr; }
  .capx__toggle { grid-template-columns: 40px 1fr 18px; }
  .capx__detail { padding-inline-start: 50px; }
  .map-sec iframe { height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero__img { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; clip-path: none; }
}
/* The header's backdrop-filter would make it the containing block of the fixed mobile menu — disable it while open */
body.menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ink); }

/* Home: the hero reveals the logo, so the header logo appears only once the page is scrolled */
.brand { transition: opacity .5s ease, visibility .5s; }
@media (max-width: 640px) {
  .hero__title { font-size: clamp(34px, 10vw, 46px); max-width: none; }
  .hero__title em { font-size: 1em; }
  .hero__title .line > * { max-width: 100%; }
}
@media (max-aspect-ratio: 4/5) {
  .hero__img { object-position: 64% 70%; }
}


/* Home: Headquarters — editorial split (keeps the real photo at a size where it stays sharp) */
.hq { min-height: 0; display: block; padding: clamp(90px, 11vw, 160px) 0; }
.hq__split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 6vw, 100px); align-items: center; }
.hq .hq__media { position: relative; inset: auto; aspect-ratio: 4 / 3; overflow: hidden; }
.hq .hq__media::after { display: none; }
.hq .hq__card { width: auto; background: none; border: 0; padding: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
@media (max-width: 980px) { .hq__split { grid-template-columns: 1fr; } }

/* =====================================================================
   Animated counters
   ===================================================================== */
[data-countup] { font-variant-numeric: tabular-nums; }
.fact__v sup { font-size: .45em; vertical-align: .9em; margin-inline-start: 2px; color: var(--ink-mute); font-weight: 400; }

/* =====================================================================
   Live operations wall (Technology page)
   ===================================================================== */
.opswall-sec__lead { max-width: 46ch; color: var(--mute); margin: 0; }
.opswall-sec__note { margin: 16px 0 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute-2); }
.opswall {
  --ow-a: #7fb2e5; --ow-b: #c9a978; --ow-ok: #6fcf97; --ow-warn: #e2b04a;
  margin-top: clamp(28px, 4vw, 48px); border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, #121821 0%, #0a0c10 70%); box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .02);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #cfd6df; position: relative;
}
.opswall::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 3px); }
.ow-bar { display: flex; align-items: center; gap: 18px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.ow-brand { color: var(--mute); } .ow-brand b { color: var(--white); font-weight: 600; }
.ow-status { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--ow-ok); }
.ow-status i, .ow-cam figcaption i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; animation: owBlink 1.6s ease-in-out infinite; }
.ow-time { color: var(--white); font-variant-numeric: tabular-nums; }
.ow-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.ow-tile { background: #0c0f14; padding: 16px 18px; min-width: 0; position: relative; }
.ow-tile h3 { margin: 0 0 12px; font-family: inherit; font-size: 11px; font-weight: 500; line-height: 1.3; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); display: flex; justify-content: space-between; gap: 10px; }
.ow-tile h3 span { color: var(--mute-2); }
.ow-map { grid-column: span 5; grid-row: span 2; }
.ow-kpis { grid-column: span 7; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: end; }
.ow-chart { grid-column: span 7; }
.ow-cams { grid-column: span 6; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; }
.ow-gpu { grid-column: span 3; }
.ow-log { grid-column: span 3; }
/* map */
.ow-map svg { width: 100%; height: auto; display: block; }
.ow-gridlines line { stroke: rgba(127, 178, 229, .08); stroke-width: 1; }
.ow-link { fill: none; stroke: rgba(127, 178, 229, .35); stroke-width: 1; stroke-dasharray: 3 5; animation: owFlow 1.4s linear infinite; animation-delay: var(--d); }
.ow-node circle { fill: var(--ow-a); }
.ow-node.is-hq circle { fill: var(--ow-b); }
.ow-node .ow-pulse { fill: none; stroke: var(--ow-a); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: owPulse 2.8s ease-out infinite; animation-delay: var(--d); }
.ow-node.is-hq .ow-pulse { stroke: var(--ow-b); }
.ow-node text { font: 9.5px ui-monospace, Menlo, monospace; fill: #aeb7c2; letter-spacing: .04em; }
.ow-node.is-hq text { fill: var(--white); }
/* KPIs */
.ow-kpi { display: grid; gap: 6px; }
.ow-kpi__v { font: 300 clamp(20px, 2.4vw, 34px)/1 var(--sans); color: var(--white); letter-spacing: -.02em; }
.ow-kpi__v small { font-size: .5em; color: var(--mute); margin-inline-start: 3px; }
.ow-kpi__l { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute-2); }
/* chart */
.ow-chart svg { width: 100%; height: 150px; display: block; }
.ow-line { fill: none; stroke: var(--ow-a); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.ow-line--b { stroke: var(--ow-b); stroke-width: 1.2; opacity: .8; }
.ow-area { fill: rgba(127, 178, 229, .1); stroke: none; }
[data-ow-tput] { color: var(--white) !important; font-variant-numeric: tabular-nums; }
/* cameras */
.ow-cam { margin: 0; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.ow-cam img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) contrast(1.15) brightness(.75) sepia(.25) hue-rotate(170deg); transform: scale(1.06); animation: owCam 18s ease-in-out infinite alternate; }
.ow-cam:nth-child(2) img { animation-duration: 23s; } .ow-cam:nth-child(3) img { animation-duration: 15s; } .ow-cam:nth-child(4) img { animation-duration: 27s; }
.ow-cam::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .22) 0 1px, transparent 1px 3px); }
.ow-cam figcaption { position: absolute; left: 8px; right: 8px; top: 7px; z-index: 1; display: flex; align-items: center; gap: 6px; font-size: 9.5px; letter-spacing: .06em; color: #e7ecf2; text-shadow: 0 1px 2px #000; }
.ow-cam figcaption i { color: #ff5a5a; width: 6px; height: 6px; }
.ow-cam figcaption span { margin-inline-start: auto; font-variant-numeric: tabular-nums; }
/* GPU bars */
.ow-gpu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ow-gpu li { display: grid; grid-template-columns: 46px 1fr 34px; align-items: center; gap: 8px; font-size: 10.5px; color: var(--mute); }
.ow-gpu b { height: 6px; background: rgba(255, 255, 255, .06); border-radius: 3px; overflow: hidden; }
.ow-gpu b i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ow-a), #b9d6f2); border-radius: 3px; transition: width 1.2s var(--ease); }
.ow-gpu b i.is-hot { background: linear-gradient(90deg, var(--ow-b), #f0d6a8); }
.ow-gpu em { font-style: normal; font-family: inherit; text-align: end; color: #dfe5ec; font-variant-numeric: tabular-nums; }
/* log */
.ow-log ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 10.5px; line-height: 1.35; max-height: 190px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.ow-log li { display: grid; grid-template-columns: auto 1fr; gap: 8px; color: #b8c1cc; animation: owIn .6s var(--ease) both; }
.ow-log li time { color: var(--mute-2); font-variant-numeric: tabular-nums; }
.ow-log li.is-warn { color: var(--ow-warn); } .ow-log li.is-ok { color: var(--ow-ok); }
@keyframes owBlink { 50% { opacity: .35; } }
@keyframes owFlow { to { stroke-dashoffset: -16; } }
@keyframes owPulse { from { transform: scale(1); opacity: .9; } to { transform: scale(4.2); opacity: 0; } }
@keyframes owCam { from { transform: scale(1.06) translate(-1.5%, 0); } to { transform: scale(1.14) translate(1.5%, -1%); } }
@keyframes owIn { from { opacity: 0; transform: translateY(-6px); } }
.opswall.is-paused *, .opswall.is-paused *::before { animation-play-state: paused !important; }
@media (max-width: 1100px) {
  .ow-map { grid-column: span 12; grid-row: auto; }
  .ow-kpis, .ow-chart { grid-column: span 12; }
  .ow-cams { grid-column: span 12; }
  .ow-gpu, .ow-log { grid-column: span 6; }
}
@media (max-width: 640px) {
  .ow-bar { flex-wrap: wrap; gap: 8px 14px; } .ow-status { margin-inline-start: 0; }
  .ow-kpis { grid-template-columns: 1fr 1fr; }
  .ow-gpu, .ow-log { grid-column: span 12; }
  .ow-brand { width: 100%; }
  .ow-cam figcaption span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .opswall *, .opswall *::before { animation: none !important; transition: none !important; }
}

/* =====================================================================
   Language switch
   ===================================================================== */
.lang-switch { margin-inline-start: 14px; font-size: 13.5px; color: #d6d9de; padding: 6px 4px; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; white-space: nowrap; }
.lang-switch:hover, .lang-switch:focus-visible { color: #fff; border-color: currentColor; }
.lang-switch[lang="ar"] { font-family: "IBM Plex Sans Arabic", "Noto Sans Arabic", "Geeza Pro", Tahoma, sans-serif; font-size: 15px; }
.lang-switch[lang="en"] { font-family: "Inter Tight", "Helvetica Neue", Arial, sans-serif; }
@media (max-width: 980px) { .lang-switch { margin-inline-start: auto; margin-inline-end: 12px; } }

/* =====================================================================
   Arabic / right-to-left
   ===================================================================== */
[dir="rtl"] {
  --sans: "IBM Plex Sans Arabic", "Noto Sans Arabic", "Geeza Pro", Tahoma, sans-serif;
  --serif: "Amiri", "Noto Naskh Arabic", "Times New Roman", serif;
}
/* Arabic letters must stay joined: no tracking, no forced capitals */
[dir="rtl"] body, [dir="rtl"] body * { letter-spacing: 0 !important; text-transform: none !important; }
[dir="rtl"] em, [dir="rtl"] [dir="rtl"] .display-1, [dir="rtl"] .display-2, [dir="rtl"] .display-3, [dir="rtl"] .hero__title { line-height: 1.35; }
[dir="rtl"] .hero__title em { padding-right: 0; margin-right: 0; padding-left: .18em; margin-left: -.12em; }
/* icons and motion that point "forward" */
[dir="rtl"] .i-arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .i-arrow, [dir="rtl"] .link:hover .i-arrow { transform: scaleX(-1) translateX(5px); }
[dir="rtl"] .next-cap__link:hover .i-arrow { transform: scaleX(-1) translateX(10px); }
[dir="rtl"] .viewer__nav svg { transform: scaleX(-1); }
[dir="rtl"] .capx__item.is-active .capx__name, [dir="rtl"] .capx__toggle:hover .capx__name { transform: translateX(-6px); }
[dir="rtl"] .nav__item > a::after, [dir="rtl"] .capx__item::before { transform-origin: right; }
/* positioned elements */
[dir="rtl"] .mega { left: auto; right: -12px; }
[dir="rtl"] .pcard__body { left: 60px; right: 0; }
[dir="rtl"] .pcard__go { right: auto; left: clamp(18px, 2.4vw, 32px); }
[dir="rtl"] .capblock__media::after { left: auto; right: 0; }
[dir="rtl"] .viewer__thumbs { left: auto; right: 16px; }
[dir="rtl"] .viewer__close { right: auto; left: 14px; }
/* gradients that shade behind right-aligned text */
[dir="rtl"] .hero__grade { background:
  radial-gradient(110% 75% at 18% 0%, rgba(255, 178, 96, .38), transparent 60%),
  linear-gradient(180deg, rgba(255, 170, 90, .10), rgba(255, 170, 90, 0) 45%),
  linear-gradient(180deg, rgba(8, 9, 10, .55) 0%, rgba(8, 9, 10, 0) 26%, rgba(8, 9, 10, .25) 55%, rgba(8, 9, 10, .94) 100%),
  linear-gradient(270deg, rgba(8, 9, 10, .72) 0%, rgba(8, 9, 10, .2) 55%, rgba(8, 9, 10, 0) 80%); }
[dir="rtl"] .phero__media::after { background: linear-gradient(180deg, rgba(13, 14, 16, .6) 0%, rgba(13, 14, 16, .15) 35%, rgba(13, 14, 16, .9) 100%), linear-gradient(270deg, rgba(13, 14, 16, .65), transparent 70%); }
[dir="rtl"] .phero::before { background: linear-gradient(270deg, var(--accent), transparent 60%); }
/* the operations wall: keep geography, charts and clocks left-to-right */
[dir="rtl"] .ow-map svg, [dir="rtl"] .ow-chart svg { direction: ltr; }
[dir="rtl"] .ow-node text { font-family: "IBM Plex Sans Arabic", sans-serif; font-size: 10.5px; }
[dir="rtl"] .opswall { font-family: "IBM Plex Sans Arabic", ui-monospace, monospace; }
[dir="rtl"] .ow-time, [dir="rtl"] .ow-log time, [dir="rtl"] .ow-cam figcaption span, [dir="rtl"] [data-count] { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .ow-gpu b { transform: scaleX(-1); }
/* phone numbers and emails read left-to-right */
[dir="rtl"] a[href^="tel:"], [dir="rtl"] a[href^="mailto:"] { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .fact__v { direction: ltr; justify-self: start; }

/* =====================================================================
   Scroll-driven project story (Projects page)
   ===================================================================== */
.sec-head__lead { max-width: 60ch; color: var(--mute); margin: 18px 0 0; font-size: 17px; line-height: 1.6; }
.section--stone .sec-head__lead { color: var(--ink-mute); }
.story { padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 8vw, 110px); background: var(--ink); }
.story__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); margin-top: clamp(36px, 5vw, 64px); }
.story__media { position: relative; }
.story__stage { position: sticky; top: calc(var(--header-h) + 4vh); height: min(72vh, 680px); overflow: hidden; border-radius: 4px; background: #000; }
.story__fig { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.06); transition: opacity 1s ease, transform 1.8s var(--ease); }
.story__fig.is-active { opacity: 1; transform: scale(1); }
.story__fig img { width: 100%; height: 100%; object-fit: cover; }
.story__stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .45), transparent 35%); pointer-events: none; }
.story__progress { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; height: 2px; background: rgba(255, 255, 255, .2); }
.story__progress i { display: block; height: 100%; width: 20%; background: var(--metal-grad); transition: width .8s var(--ease); }
[dir="rtl"] .story__progress i { margin-inline-start: auto; }
.story__steps { list-style: none; margin: 0; padding: 0; }
.story__step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; opacity: .28; transition: opacity .6s ease; }
.story__step:first-child { min-height: 50vh; justify-content: flex-start; padding-top: 6vh; }
.story__step:last-child { min-height: 70vh; }
.story__step.is-active { opacity: 1; }
.story__n { font-size: 13px; letter-spacing: .14em; color: var(--metal); font-variant-numeric: tabular-nums; }
.story__n i { font-style: normal; color: var(--mute-2); margin-inline-start: 6px; }
.story__step h3 { margin: 14px 0 12px; font-size: clamp(26px, 2.6vw, 38px); font-weight: 300; letter-spacing: -.02em; line-height: 1.15; color: var(--white); }
.story__step p { margin: 0; max-width: 40ch; color: #b9bec6; font-size: 17px; line-height: 1.65; }
.story__inline { display: none; }
.story__meta { margin: 24px 0 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute-2); }
@media (max-width: 980px) {
  .story__grid { grid-template-columns: 1fr; }
  .story__media { display: none; }
  .story__step, .story__step:first-child, .story__step:last-child { min-height: 0; opacity: 1; padding: 0 0 48px; }
  .story__inline { display: block; order: -1; margin-bottom: 18px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; }
  .story__inline img { width: 100%; height: 100%; object-fit: cover; }
}
@media (prefers-reduced-motion: reduce) { .story__fig { transition: none; transform: none; } }

/* =====================================================================
   Before / after slider
   ===================================================================== */
.compare-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 28px; margin-top: clamp(32px, 4vw, 52px); }
.ba { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: #111; user-select: none; touch-action: pan-y; }
.ba .ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
[dir="rtl"] .ba__before { clip-path: inset(0 0 0 calc(100% - var(--pos))); }
.ba__handle { position: absolute; top: 0; bottom: 0; inset-inline-start: var(--pos); width: 2px; margin-inline-start: -1px; background: #fff; box-shadow: 0 0 18px rgba(0, 0, 0, .5); pointer-events: none; }
.ba__handle i { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(13, 14, 16, .7); border: 1px solid #fff; backdrop-filter: blur(6px); }
.ba__handle i::before, .ba__handle i::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border: solid #fff; border-width: 0 0 1.5px 1.5px; }
.ba__handle i::before { left: 11px; transform: rotate(45deg); }
.ba__handle i::after { right: 11px; transform: rotate(-135deg); }
.ba__label { position: absolute; top: 14px; padding: 6px 10px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(13, 14, 16, .6); backdrop-filter: blur(6px); pointer-events: none; }
.ba__label--before { inset-inline-start: 14px; }
.ba__label--after { inset-inline-end: 14px; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 2; }
.ba:has(.ba__range:focus-visible) { outline: 2px solid var(--metal); outline-offset: 3px; }
.ba figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; font-size: 13px; color: #e6e8eb; background: linear-gradient(0deg, rgba(0, 0, 0, .6), transparent); pointer-events: none; }

/* =====================================================================
   Trust: clients, testimonials, certifications (home)
   ===================================================================== */
.trust__clients { margin-top: clamp(28px, 4vw, 48px); background: #fff; border: 1px solid rgba(0, 0, 0, .06); padding: clamp(18px, 3vw, 40px); display: grid; place-items: center; }
.trust__clients img { width: 100%; max-width: 900px; height: auto; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; margin-top: 40px; }
.quote { margin: 0; padding: 32px; background: #fff; border: 1px solid rgba(0, 0, 0, .06); display: grid; gap: 22px; align-content: space-between; }
.quote blockquote { margin: 0; }
.quote blockquote p { margin: 0; font-family: var(--serif); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.35; color: var(--ink-text); }
.quote blockquote p::before { content: "\201C"; display: block; font-size: 2.6em; line-height: .7; height: .45em; color: var(--metal); }
.quote figcaption { display: grid; gap: 2px; font-size: 14px; color: var(--ink-mute); }
.quote figcaption b { color: var(--ink-text); font-weight: 500; }
.certs__h { margin: 48px 0 16px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; }
.certs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.cert { background: #fff; border: 1px solid rgba(0, 0, 0, .06); padding: 24px; display: grid; gap: 6px; }
.cert img { height: 56px; width: auto; object-fit: contain; justify-self: start; margin-bottom: 8px; }
.cert__seal { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--metal); margin-bottom: 8px; }
.cert b { font-weight: 500; color: var(--ink-text); }
.cert span { font-size: 13.5px; color: var(--ink-mute); }

/* Phones: frame the sunlit bronze face of the home façade shot (inline style sets the desktop framing) */
@media (max-width: 760px) {
}

/* =====================================================================
   Mobile optimisation
   ===================================================================== */
/* Touch: no grey flash on tap, no double-tap zoom delay on controls */
html { -webkit-tap-highlight-color: transparent; }
a, button, select, input, textarea, label { touch-action: manipulation; }
/* Long unbreakable strings (emails, phone numbers) never widen a column */
.contact-grid > * { min-width: 0; }
.contact-list dd, .footer__grid address, .footer__grid a { overflow-wrap: anywhere; }

@media (max-width: 980px) {
  /* Every link and control is at least 44px tall to tap */
  .footer__grid a { display: inline-block; padding-block: 11px; min-width: 44px; }
  .footer__grid ul { gap: 0; }
  .link { min-height: 44px; }
  .lang-switch, .brand { min-height: 44px; display: inline-flex; align-items: center; }
  .lang-switch { padding-inline: 8px; }
  .capx__toggle { min-height: 56px; }
  .capblock h2 a { display: inline-block; padding-block: 8px; }
  .contact-list a { display: inline-block; padding-block: 10px; }
}
@media (max-width: 760px) {
  /* The scroll cue is a mouse affordance; phones scroll naturally */
  .hero__scroll { display: none; }
  /* Small labels never drop below 12px on phones */
  .ow-bar, .ow-kpi__l, .ow-cam figcaption, .ow-gpu li, .ow-log ol, .partner__role { font-size: 12px; }
  .ow-gpu li { grid-template-columns: 52px 1fr 40px; }
  .ow-tile h3, .gallery figcaption, .ow-kpi__v small { font-size: 12px; }
  /* The map scales down on phones (viewBox 400 → ~340px), so its labels are drawn larger to render at 12px+ */
  .ow-node text { font-size: 14.5px; }
  [dir="rtl"] .ow-node text { font-size: 15px; }
}
/* Form and header on the narrowest phones (320px) */
.form__row > *, .form label { min-width: 0; }
.form input, .form select, .form textarea { width: 100%; min-width: 0; box-sizing: border-box; }
.menu-btn { flex-shrink: 0; }
@media (max-width: 760px) {
  .form input, .form select { min-height: 48px; }
}
@media (max-width: 380px) {
  .form { padding: 20px; }
}

/* =====================================================================
   Image band — full-bleed photograph with a statement; gentle parallax
   ===================================================================== */
.iband { position: relative; min-height: clamp(520px, 86vh, 860px); display: flex; align-items: flex-end; overflow: hidden; background: #050506; color: #fff; isolation: isolate; }
.iband__media { position: absolute; inset: -12% 0; z-index: -1; will-change: transform; }
.iband__media img { width: 100%; height: 100%; object-fit: cover; }
.iband::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 5, 6, .55) 0%, rgba(5, 5, 6, .05) 35%, rgba(5, 5, 6, .35) 62%, rgba(5, 5, 6, .92) 100%), linear-gradient(90deg, rgba(5, 5, 6, .55), transparent 60%); }
[dir="rtl"] .iband::after { background: linear-gradient(180deg, rgba(5, 5, 6, .55) 0%, rgba(5, 5, 6, .05) 35%, rgba(5, 5, 6, .35) 62%, rgba(5, 5, 6, .92) 100%), linear-gradient(270deg, rgba(5, 5, 6, .55), transparent 60%); }
.iband__content { padding-block: clamp(80px, 12vw, 160px) clamp(60px, 8vw, 110px); }
.iband__content .display-1 { font-size: clamp(40px, 5.4vw, 86px); max-width: 15ch; margin-bottom: 22px; }
.iband__content p { max-width: 560px; color: #d6d8dc; font-size: clamp(16px, 1.3vw, 19px); font-weight: 300; margin-bottom: 28px; }
.link--light { color: #fff; border-color: rgba(255, 255, 255, .45); }

/* =====================================================================
   Showcase reel — two rows of large images gliding in opposite directions
   ===================================================================== */
.reel { padding-block: clamp(80px, 10vw, 140px); overflow: hidden; }
.reel .sec-head { margin-bottom: clamp(36px, 5vw, 60px); }
.reel__rows { display: grid; gap: clamp(12px, 1.4vw, 20px); }
.reel__row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.reel__track { display: flex; gap: clamp(12px, 1.4vw, 20px); width: max-content; animation: reel 90s linear infinite; }
.reel__row--rev .reel__track { animation-direction: reverse; animation-duration: 110s; }
.reel__rows:hover .reel__track, .reel__rows:focus-within .reel__track { animation-play-state: paused; }
@keyframes reel { to { transform: translateX(-50%); } }
[dir="rtl"] .reel__track { animation-name: reel-rtl; }
@keyframes reel-rtl { to { transform: translateX(50%); } }
.reel__card { position: relative; flex: none; width: clamp(280px, 34vw, 560px); aspect-ratio: 16 / 10; overflow: hidden; display: block; background: #15171a; }
.reel__card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.92) brightness(.9); }
.reel__card:hover img, .reel__card:focus-visible img { transform: scale(1.08); filter: none; }
.reel__card span { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 18px 16px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #e9eaec; background: linear-gradient(0deg, rgba(0, 0, 0, .7), transparent); }
.reel__card:focus-visible { outline: 2px solid var(--metal); outline-offset: -2px; }
@media (max-width: 760px) {
  .reel__card { width: 72vw; }
  .iband { min-height: 560px; }
}
@media (prefers-reduced-motion: reduce) {
  .reel__track { animation: none; }
  .reel__row { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .iband__media { inset: 0; }
}

/* =====================================================================
   Home hero — one continuous photograph of the five disciplines, shown as
   five strips. A discipline opens full screen (its strip widens to the
   whole hero and its full-size photograph fades in), then closes again.
   ===================================================================== */
.hero--pano .hero__content { padding-bottom: clamp(100px, 15vh, 150px); pointer-events: none; }
.hero--pano .hero__content a, .hero--pano .hero__content button { pointer-events: auto; }
.pv { position: absolute; inset: 0; z-index: -2; display: flex; background: #050506; }
.pv__s { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; transition: flex-grow 1.25s cubic-bezier(.7, 0, .2, 1); }
.pv__s + .pv__s::before { content: ""; position: absolute; z-index: 2; inset-block: 0; inset-inline-start: 0; width: 1px; background: rgba(255, 255, 255, .16); transition: opacity .6s; }
.pv__z { position: absolute; top: 0; left: 50%; height: 100%; width: auto; max-width: none; transform: translateX(calc((var(--i) + .5) * -100% / 6)); transition: filter .6s ease; }
.pv__hd { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.1); transition: opacity .9s ease .3s, transform 7s cubic-bezier(.2, .6, .3, 1); }
.pv.is-focus .pv__s { flex-grow: .0001; }
.pv.is-focus .pv__s.is-on { flex-grow: 1; }
.pv.is-focus .pv__s::before { opacity: 0; }
.pv.is-focus .pv__s.is-on .pv__hd { opacity: 1; transform: scale(1.02); }
.hero--pano .hero__grade { z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(5, 5, 6, .55) 0%, transparent 20%, transparent 50%, rgba(5, 5, 6, .94) 100%), linear-gradient(90deg, rgba(5, 5, 6, .8) 0%, rgba(5, 5, 6, .42) 36%, transparent 60%); }
[dir="rtl"] .hero--pano .hero__grade { background: linear-gradient(180deg, rgba(5, 5, 6, .55) 0%, transparent 20%, transparent 50%, rgba(5, 5, 6, .94) 100%), linear-gradient(270deg, rgba(5, 5, 6, .8) 0%, rgba(5, 5, 6, .42) 36%, transparent 60%); }
.hp__caps { position: absolute; z-index: 3; inset-inline-end: max(24px, calc((100vw - 1320px) / 2)); bottom: clamp(112px, 15vh, 150px); width: min(400px, 38vw); height: 120px; }
.pv__nav { position: absolute; z-index: 4; inset-inline-end: max(24px, calc((100vw - 1320px) / 2)); bottom: clamp(36px, 6vh, 56px); display: flex; align-items: center; gap: 14px; }
.pv__arrow { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: rgba(5, 5, 6, .28); color: #fff; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .35s, border-color .35s, color .35s, transform .35s var(--ease); }
.pv__arrow:hover, .pv__arrow:focus-visible { background: var(--metal); border-color: var(--metal); color: #0d0e10; }
.pv__arrow:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.pv__arrow--prev svg, [dir="rtl"] .pv__arrow--next svg { transform: scaleX(-1); }
[dir="rtl"] .pv__arrow--prev svg { transform: none; }
.pv__arrow--next:hover { transform: translateX(3px); } .pv__arrow--prev:hover { transform: translateX(-3px); }
[dir="rtl"] .pv__arrow--next:hover { transform: translateX(-3px); } [dir="rtl"] .pv__arrow--prev:hover { transform: translateX(3px); }
.pv__count { min-width: 64px; text-align: center; font-size: 12px; letter-spacing: .2em; color: #c9ccd1; font-variant-numeric: tabular-nums; }
.pv__count b { font-weight: 400; color: #fff; }
.hp__cap { position: absolute; inset: 0; display: grid; align-content: end; gap: 6px; text-align: end; opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s var(--ease); pointer-events: none; }
.hp__cap.is-on { opacity: 1; transform: none; pointer-events: auto; transition-delay: .45s; }
.hp__cn { font-size: 12px; letter-spacing: .2em; color: var(--metal); }
.hp__cname { font-size: clamp(19px, 1.7vw, 24px); font-weight: 300; letter-spacing: -.01em; }
.hp__ctag { font-size: 14px; color: #c9ccd1; }
.hp__cap:hover .hp__cname { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
@media (max-width: 900px) {
  .hp__caps { inset-inline: 16px; width: auto; bottom: 92px; height: 96px; }
  .pv__nav { inset-inline-end: 16px; bottom: 24px; }
  .hp__cap { text-align: start; }
  .hero--pano .hero__content { padding-bottom: 150px; }
  .hero--pano .hero__grade, [dir="rtl"] .hero--pano .hero__grade { background: linear-gradient(180deg, rgba(5, 5, 6, .6) 0%, rgba(5, 5, 6, .25) 18%, rgba(5, 5, 6, .55) 45%, rgba(5, 5, 6, .95) 100%); }
}
@media (prefers-reduced-motion: reduce) {
  .pv__s, .pv__hd { transition: none; }
}

/* =====================================================================
   About — group projects (MAEC Architects & Engineers)
   ===================================================================== */
.projects__head { margin-bottom: clamp(36px, 5vw, 64px); }
.projects__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0 0 clamp(40px, 5vw, 64px); border-block: 1px solid var(--line); }
.projects__facts > div { padding: 28px 24px 26px 0; }
.projects__facts > div + div { padding-inline-start: 28px; border-inline-start: 1px solid var(--line); }
.projects__facts dt { font-size: clamp(32px, 3.4vw, 50px); font-weight: 200; letter-spacing: -.02em; line-height: 1; margin-bottom: 10px; }
.projects__facts dd { margin: 0; color: var(--mute); font-size: 14px; }
.projects__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 1.8vw, 28px); }
.proj { display: grid; align-content: start; gap: 16px; }
.proj__media { overflow: hidden; aspect-ratio: 4 / 3; background: #15171a; }
.proj__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.01); transition: transform 1.1s var(--ease); }
.proj:hover .proj__media img { transform: scale(1.06); }
.proj h3 { font-size: 17px; font-weight: 400; line-height: 1.35; margin: 0 0 6px; }
.proj__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 4px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--metal); }
.proj__svc { margin: 0; font-size: 14px; color: var(--mute); }
.projects__more { margin-top: clamp(44px, 5vw, 70px); padding-top: 30px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: start; }
.projects__more h3 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; margin: 6px 0 0; }
@media (max-width: 1100px) { .projects__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .projects__grid { grid-template-columns: 1fr; }
  .projects__facts { grid-template-columns: 1fr; }
  .projects__facts > div + div { padding-inline-start: 0; border-inline-start: 0; border-top: 1px solid var(--line); }
  .projects__more { grid-template-columns: 1fr; }
}

/* =====================================================================
   About — featured project, technology solutions
   ===================================================================== */
.feature__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.feature__text .lead { margin: 18px 0 30px; }
.feature__facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.feature__facts > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.feature__facts dt { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); padding-top: 3px; }
.feature__facts dd { margin: 0; }
.feature__media { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(90px, 9vw, 140px); gap: 8px; }
.feature__media figure { overflow: hidden; background: #15171a; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.feature__media figure:hover img { transform: scale(1.05); }
.feature__big { grid-column: 1 / -1; grid-row: span 2; }
@media (max-width: 980px) { .feature__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .feature__media { grid-template-columns: 1fr 1fr; grid-auto-rows: 110px; } .feature__facts > div { grid-template-columns: 1fr; gap: 4px; } }

.solutions__list { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(24px, 3vw, 48px); border-top: 1px solid var(--line); counter-reset: none; }
.solutions__list li { display: grid; grid-template-columns: 38px 1fr; gap: 10px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.solutions__list li span { font-size: 12px; letter-spacing: .14em; color: var(--metal); }
@media (max-width: 980px) { .solutions__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .solutions__list { grid-template-columns: 1fr; } }

/* =====================================================================
   Exhibition & Rental — installation clips
   ===================================================================== */
.vreel__head { margin-bottom: clamp(36px, 5vw, 64px); }
.vreel__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.8vw, 26px) clamp(16px, 1.8vw, 26px); }
.vreel__item { display: grid; gap: 16px; align-content: start; }
.vreel__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0a0b0d; }
.vreel__media video { width: 100%; height: 100%; object-fit: cover; }
.vreel__item figcaption { display: grid; grid-template-columns: 34px 1fr; column-gap: 8px; }
.vreel__n { grid-row: span 2; font-size: 12px; letter-spacing: .14em; color: var(--metal); padding-top: 5px; }
.vreel__item h3 { font-size: 17px; font-weight: 400; margin: 0 0 4px; }
.vreel__item p { margin: 0; font-size: 14px; color: var(--mute); }
@media (max-width: 1000px) { .vreel__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .vreel__grid { grid-template-columns: 1fr; } }

/* =====================================================================
   Clip mosaic (Exhibition & Rental hero, home hero rental panel)
   ===================================================================== */
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 3px; background: #050506; }
.mosaic video { width: 100%; height: 100%; object-fit: cover; display: block; }
.phero__media--mosaic { inset: 0; }
.phero__media--mosaic video { animation: pheroIn 2.2s var(--ease) both; }
.phero--mosaic .phero__media::after { background: linear-gradient(180deg, rgba(13, 14, 16, .55) 0%, rgba(13, 14, 16, .05) 30%, rgba(13, 14, 16, .1) 60%, rgba(13, 14, 16, .85) 100%); }
[dir="rtl"] .phero--mosaic .phero__media::after { background: linear-gradient(180deg, rgba(13, 14, 16, .55) 0%, rgba(13, 14, 16, .05) 30%, rgba(13, 14, 16, .1) 60%, rgba(13, 14, 16, .85) 100%); }
.phero--mosaic { min-height: min(86vh, 860px); }
.pv__mosaic { position: absolute; inset: 0; }
@media (max-width: 760px) { .mosaic { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 1fr); } }

/* =====================================================================
   Quieter titles: the imagery leads, the words support
   ===================================================================== */
.hero__logo { width: clamp(130px, 11vw, 176px); }
.hero__title { font-size: clamp(32px, 4.1vw, 64px); font-weight: 200; color: rgba(243, 242, 239, .9); max-width: 18ch; }
.hero__title em { font-size: 1.04em; opacity: .9; }
.hero__lead { font-size: clamp(15px, 1.1vw, 17px); color: #b9bdc3; margin: 20px 0 30px; max-width: 500px; }
.phero .display-1 { font-size: clamp(32px, 4.2vw, 62px); font-weight: 200; color: rgba(243, 242, 239, .9); max-width: 20ch; }
.phero__sub { font-size: clamp(15px, 1.15vw, 17px); color: #b9bdc3; margin-top: 18px; }
.phero__media::after { background: linear-gradient(180deg, rgba(13, 14, 16, .5) 0%, rgba(13, 14, 16, .08) 35%, rgba(13, 14, 16, .82) 100%), linear-gradient(90deg, rgba(13, 14, 16, .5), transparent 65%); }
[dir="rtl"] .phero__media::after { background: linear-gradient(180deg, rgba(13, 14, 16, .5) 0%, rgba(13, 14, 16, .08) 35%, rgba(13, 14, 16, .82) 100%), linear-gradient(270deg, rgba(13, 14, 16, .5), transparent 65%); }
@media (max-width: 760px) {
  .hero__title { font-size: clamp(28px, 8vw, 36px); }
  .phero .display-1 { font-size: clamp(28px, 8vw, 38px); }
}
@media (max-width: 760px) {
  .phero--mosaic .phero__media::after, [dir="rtl"] .phero--mosaic .phero__media::after { background: linear-gradient(180deg, rgba(13, 14, 16, .5) 0%, rgba(13, 14, 16, .1) 25%, rgba(13, 14, 16, .55) 55%, rgba(13, 14, 16, .92) 100%); }
}

/* =====================================================================
   About — group structure (logos, photo cards, light pulses)
   ===================================================================== */
.grp { position: relative; overflow: hidden; background: #08090b; isolation: isolate; }
.grp__bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 45% at 50% 18%, rgba(195, 188, 173, .16), transparent 70%),
  radial-gradient(40% 40% at 15% 85%, rgba(70, 110, 190, .14), transparent 70%),
  radial-gradient(40% 40% at 85% 85%, rgba(70, 110, 190, .12), transparent 70%); }
.grp__bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 60% at 50% 45%, #000, transparent); mask-image: radial-gradient(70% 60% at 50% 45%, #000, transparent); }
.grp__head { text-align: center; margin-inline: auto; max-width: 760px; }
.grp__head .eyebrow { justify-content: center; }
.grp__head .sec-head__lead { margin-inline: auto; }
.grp__tree { max-width: 1120px; margin: clamp(30px, 5vw, 64px) auto 0; }

.grp__root { position: relative; width: min(460px, 100%); margin: 0 auto; padding: 40px 40px 30px; display: grid; justify-items: center; gap: 16px;
  border: 1px solid rgba(195, 188, 173, .45); background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .12); }
.grp__root img { width: min(280px, 70%); height: auto; }
.grp__halo { position: absolute; inset: -1px; z-index: -1; background: radial-gradient(60% 80% at 50% 0%, rgba(195, 188, 173, .28), transparent 70%); }
.grp__role { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--metal); }

/* wires: a stem, a bar and two drops, each carrying a travelling light */
.grp__wire { position: relative; height: 64px; }
.grp__wire i { position: absolute; background: rgba(195, 188, 173, .35); overflow: hidden; }
.grp__wire i:nth-child(1) { left: 50%; top: 0; width: 1px; height: 50%; }
.grp__wire i:nth-child(2) { left: 25%; right: 25%; top: 50%; height: 1px; }
.grp__wire i:nth-child(3) { left: 25%; right: 25%; top: 50%; height: 50%; background: none; border-inline: 1px solid rgba(195, 188, 173, .35); }
.grp__wire i:nth-child(1)::after { content: ""; position: absolute; left: 0; width: 1px; height: 40%; background: linear-gradient(180deg, transparent, #f2dfb0, transparent); animation: grpDown 2.8s linear infinite; }
.grp__wire i:nth-child(2)::after { content: ""; position: absolute; top: 0; height: 1px; width: 30%; background: linear-gradient(90deg, transparent, #f2dfb0, transparent); animation: grpAcross 2.8s linear infinite; }
@keyframes grpDown { from { top: -40%; } to { top: 100%; } }
@keyframes grpAcross { from { left: -30%; } to { left: 100%; } }

.grp__cos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 40px); }
.grp__co { position: relative; min-height: 260px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); isolation: isolate; box-shadow: 0 30px 70px -35px rgba(0, 0, 0, .9); }
.grp__co-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transform: scale(1.04); transition: transform 1.4s var(--ease); }
.grp__co::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 9, 11, .55), rgba(8, 9, 11, .82)); }
.grp__co:hover .grp__co-bg { transform: scale(1.1); }
.grp__co.is-us { border-color: rgba(195, 188, 173, .6); }
.grp__co-body { height: 100%; min-height: 260px; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 36px 28px; text-align: center; }
.grp__logo { width: min(250px, 70%); height: auto; filter: drop-shadow(0 6px 20px rgba(0, 0, 0, .6)); }
.grp__logo--midrar { width: min(230px, 64%); }
.grp__co-body p { margin: 0; color: #d6d8dc; font-size: 15px; }
.grp__here { position: absolute; top: 16px; inset-inline-start: 16px; font-style: normal; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 10px; background: var(--metal); color: #0d0e10; }

.grp__wires { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 40px); }
.grp__specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.grp__specs a { position: relative; display: grid; align-content: end; gap: 6px; min-height: 190px; padding: 20px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); isolation: isolate; }
.grp__img { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.85); }
.grp__specs a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 9, 11, .1), rgba(8, 9, 11, .88)); }
.grp__specs a:hover .grp__img, .grp__specs a:focus-visible .grp__img { transform: scale(1.08); filter: none; }
.grp__specs a:focus-visible { outline: 2px solid var(--metal); outline-offset: 3px; }
.grp__n { font-size: 12px; letter-spacing: .18em; color: var(--metal); }
.grp__specs b { font-weight: 400; font-size: 17px; line-height: 1.3; color: #fff; }

@media (max-width: 860px) {
  .grp__cos, .grp__wires { grid-template-columns: 1fr; }
  .grp__wire--split i:nth-child(2), .grp__wire--split i:nth-child(3) { display: none; }
  .grp__wires .grp__wire + .grp__wire { display: none; }
  .grp__specs { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .grp__wire i::after { animation: none; display: none; } }

/* =====================================================================
   Discipline pages — overview across, services as a gap-free card grid
   ===================================================================== */
.cap-over__intro { display: grid; grid-template-columns: minmax(180px, 3fr) 9fr; gap: clamp(20px, 4vw, 64px); align-items: start; margin-bottom: clamp(40px, 5vw, 70px); }
.cap-over .cap-intro { font-size: clamp(21px, 2vw, 30px); font-weight: 300; line-height: 1.4; letter-spacing: -.01em; color: #e4e5e7; }
.svcgrid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.svcgrid--3 { grid-template-columns: repeat(3, 1fr); }
.svcgrid--2 { grid-template-columns: repeat(2, 1fr); }
.svccard { position: relative; display: grid; align-content: start; gap: 12px; padding: clamp(24px, 2.4vw, 36px); background: var(--ink); transition: background .5s; }
.svccard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
[dir="rtl"] .svccard::before { transform-origin: right; }
.svccard:hover { background: var(--ink-2); }
.svccard:hover::before { transform: scaleX(1); }
.svccard__n { font-size: 12px; letter-spacing: .16em; color: var(--accent); }
.svccard h3 { font-size: clamp(19px, 1.6vw, 23px); font-weight: 400; letter-spacing: -.01em; }
.svccard p { margin: 0; color: var(--mute); font-size: 15px; }
@media (max-width: 980px) {
  .cap-over__intro { grid-template-columns: 1fr; }
  .svcgrid--3 { grid-template-columns: repeat(2, 1fr); }
  .svcgrid--3 .svccard[style] { grid-column: auto !important; }
  .svcgrid--3 .svccard:last-child:nth-child(odd) { grid-column: 1 / -1 !important; }
}
@media (max-width: 600px) {
  .svcgrid--3, .svcgrid--2 { grid-template-columns: 1fr; }
  .svcgrid .svccard { grid-column: auto !important; }
}
.cap-over__side { display: grid; gap: 26px; }
.cap-over__count { display: grid; gap: 6px; margin: 0; }
.cap-over__count b { font-size: clamp(56px, 6vw, 92px); font-weight: 200; line-height: .9; letter-spacing: -.04em; color: var(--accent); }
.cap-over__count span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.grp__here { font-family: var(--sans); }
@media (max-width: 980px) { .cap-over__side { grid-template-columns: 1fr auto; align-items: end; } .cap-over__count { justify-items: end; } }
/* light-coloured logos (e.g. lime, green, orange) need extra depth to read in the grey tile style */
.partner--light .partner__logo img { filter: grayscale(1) brightness(.5) contrast(1.6); opacity: .85; }
.partner--light:hover .partner__logo img { filter: none; opacity: 1; }
.partners__sub { margin: clamp(56px, 7vw, 96px) 0 clamp(24px, 3vw, 40px); }
.partners--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .partners--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* =====================================================================
   About — client logo wall (logos in their own colours on a light ground)
   ===================================================================== */
.clients { background: var(--stone); color: var(--ink-text); color-scheme: light; }
.clients .eyebrow { color: var(--ink-mute); }
.clients .eyebrow::before { background: var(--ink-text); }
.clients .lead { color: var(--ink-mute); }
.clients__head { align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.clients__wall { display: flex; flex-wrap: wrap; justify-content: center; border-top: 1px solid rgba(0, 0, 0, .1); }
.clients__wall li { flex: 0 0 calc(100% / 7); display: grid; place-items: center; height: clamp(110px, 9vw, 140px); padding: 18px 16px; border-bottom: 1px solid rgba(0, 0, 0, .1); transition: background .4s; }
.clients__wall li:nth-child(n + 8) { flex-basis: calc(100% / 6); }
.clients__wall li:hover { background: rgba(255, 255, 255, .5); }
.clients__wall img { max-width: min(150px, 86%); max-height: 64px; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.clients__wall li:hover img { transform: scale(1.06); }
@media (max-width: 980px) { .clients__wall li, .clients__wall li:nth-child(n + 8) { flex-basis: calc(100% / 4); } }
@media (max-width: 600px) { .clients__wall li, .clients__wall li:nth-child(n + 8) { flex-basis: calc(100% / 3); height: 96px; } .clients__wall img { max-height: 46px; } }

/* Client logos: two endless rows moving in opposite directions */
.cmarq { display: grid; gap: clamp(10px, 1.4vw, 18px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.cmarq__row { overflow: hidden; }
.cmarq__track { display: flex; width: max-content; animation: cmarq 48s linear infinite; }
.cmarq__row--rev .cmarq__track { animation-direction: reverse; animation-duration: 54s; }
.cmarq:hover .cmarq__track { animation-play-state: paused; }
.cmarq__track li { flex: none; display: grid; place-items: center; width: clamp(170px, 15vw, 230px); height: clamp(96px, 8vw, 124px); margin-inline-end: clamp(10px, 1.4vw, 18px); padding: 16px 22px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(0, 0, 0, .06); transition: background .4s, border-color .4s; }
.cmarq__track li:hover { background: #fff; border-color: rgba(0, 0, 0, .12); }
.cmarq__track img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
@keyframes cmarq { to { transform: translateX(-50%); } }
[dir="rtl"] .cmarq__track { animation-name: cmarq-rtl; }
@keyframes cmarq-rtl { to { transform: translateX(50%); } }
@media (max-width: 600px) { .cmarq__track li { width: 140px; height: 84px; padding: 12px 16px; } .cmarq__track img { max-height: 46px; } }
@media (prefers-reduced-motion: reduce) {
  .cmarq { -webkit-mask-image: none; mask-image: none; }
  .cmarq__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; padding-inline: var(--gutter); }
  .cmarq__track li[aria-hidden="true"] { display: none; }
}

/* =====================================================================
   All sections on the dark palette (formerly light "stone" bands)
   Logos switch to clean white marks that brighten on hover.
   ===================================================================== */
.section--stone, .intro, .partners-strip, .clients {
  --ink-text: var(--white); --ink-mute: var(--mute);
  background: var(--ink-2); color: var(--white); color-scheme: dark;
  border-block: 1px solid var(--line);
}
.section--stone .eyebrow, .intro .eyebrow, .partners-strip .eyebrow, .clients .eyebrow { color: var(--mute); }
.section--stone .eyebrow::before, .intro .eyebrow::before, .partners-strip .eyebrow::before, .clients .eyebrow::before { background: var(--metal); }

/* partner tiles */
.partners { border-top-color: var(--line); border-inline-start-color: var(--line); }
.partner { border-inline-end-color: var(--line); border-bottom-color: var(--line); }
.partner:hover { background: rgba(255, 255, 255, .03); }
.partner__logo img, .partner--light .partner__logo img { mix-blend-mode: normal; filter: brightness(0) invert(1); opacity: .62; transition: opacity .5s, transform .5s var(--ease); }
.partner:hover .partner__logo img, .partner--light:hover .partner__logo img { filter: brightness(0) invert(1); opacity: 1; transform: scale(1.04); }

/* client marquee */
.cmarq__track li { background: rgba(255, 255, 255, .03); border-color: var(--line); }
.cmarq__track li:hover { background: rgba(255, 255, 255, .07); border-color: var(--line-2); }
.cmarq__track img { mix-blend-mode: normal; filter: brightness(0) invert(1); opacity: .7; transition: opacity .4s; }
.cmarq__track li:hover img { opacity: 1; }

/* cards that were white on the light bands */
.trust__clients, .quote, .cert { background: var(--graphite); border-color: var(--line); }
.facts { border-top-color: var(--line); }
.fact + .fact { border-inline-start-color: var(--line); }
@media (max-width: 760px) { .fact, .fact + .fact { border-bottom-color: var(--line); } }
/* logos are pre-rendered white (assets/img/*/mono) — no colour filters needed */
.partner__logo img, .partner--light .partner__logo img, .partner:hover .partner__logo img, .partner--light:hover .partner__logo img,
.cmarq__track img, .cmarq__track li:hover img { filter: none; }
.steps li, .value { border-top-color: var(--line-2); }
.steps span { color: var(--metal); }

/* Home hero: photo mosaics — each tile eases in from a slight zoom, one after another */
.mosaic--photo img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.12); opacity: .2; transition: transform 6s cubic-bezier(.2, .6, .3, 1), opacity 1s ease; }
.pv__s.is-on .mosaic--photo img { transform: scale(1); opacity: 1; }
.pv__s.is-on .mosaic--photo img:nth-child(2) { transition-delay: .12s; }
.pv__s.is-on .mosaic--photo img:nth-child(3) { transition-delay: .24s; }
.pv__s.is-on .mosaic--photo img:nth-child(4) { transition-delay: .36s; }
.pv__s.is-on .mosaic--photo img:nth-child(5) { transition-delay: .48s; }
.pv__s.is-on .mosaic--photo img:nth-child(6) { transition-delay: .6s; }
@media (prefers-reduced-motion: reduce) { .mosaic--photo img { transform: none; transition: opacity .3s; } }
.hp__cn { display: none; }

/* Proof band: real-work evidence on the home and discipline pages */
.proof { border-top: 1px solid var(--line); }
.proof__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.proof__media { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: clamp(300px, 30vw, 440px); }
.proof__media figure { overflow: hidden; background: #15171a; }
.proof__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.proof__media figure:hover img { transform: scale(1.05); }
.proof__big { grid-row: span 2; }
.proof__text p { color: #c3c6cb; margin: 18px 0 26px; max-width: 46ch; }
@media (max-width: 900px) { .proof__grid { grid-template-columns: 1fr; } .proof__media { height: 320px; } }

/* Home hero: way back to the six strips while a discipline is open */
.pv__back { display: inline-flex; align-items: center; gap: 9px; height: 48px; padding: 0 18px; margin-inline-end: 6px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 24px; background: rgba(5, 5, 6, .28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font: inherit; font-size: 13px; letter-spacing: .04em; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease), visibility 0s .4s, background .3s, border-color .3s, color .3s; }
.pv__back svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.hero--pano.is-open .pv__back { opacity: 1; visibility: visible; transform: none; transition: opacity .4s, transform .4s var(--ease), visibility 0s, background .3s, border-color .3s, color .3s; }
.pv__back:hover, .pv__back:focus-visible { background: var(--metal); border-color: var(--metal); color: #0d0e10; }
.hero--pano.is-open .pv__s { cursor: zoom-out; }
@media (max-width: 600px) { .pv__back { height: 44px; padding: 0 14px; font-size: 12px; } }

/* =====================================================================
   Home hero text: quiet by default so the imagery leads; brightens when
   the cursor rests on it (touch screens get a middle, always-readable level)
   ===================================================================== */
.hero--pano .hero__title, .hero--pano .hero__lead { pointer-events: auto; }
.hero--pano .hero__title { font-size: clamp(28px, 3.5vw, 54px); color: rgba(243, 242, 239, .55); transition: color .5s ease; }
.hero--pano .hero__title em { opacity: .55; transition: opacity .5s ease, filter .5s ease; }
.hero--pano .hero__lead { color: rgba(201, 204, 209, .55); transition: color .5s ease; }
.hero--pano .hero__content:has(.hero__title:hover, .hero__lead:hover) .hero__title,
.hero--pano .hero__title:hover { color: #fff; }
.hero--pano .hero__content:has(.hero__title:hover, .hero__lead:hover) .hero__title em,
.hero--pano .hero__title:hover em { opacity: 1; filter: brightness(1.15); }
.hero--pano .hero__content:has(.hero__title:hover, .hero__lead:hover) .hero__lead,
.hero--pano .hero__lead:hover { color: #e4e6e9; }
@media (hover: none) {
  .hero--pano .hero__title { color: rgba(243, 242, 239, .78); }
  .hero--pano .hero__title em { opacity: .8; }
  .hero--pano .hero__lead { color: rgba(201, 204, 209, .8); }
}
@media (max-width: 760px) { .hero--pano .hero__title { font-size: clamp(26px, 7.4vw, 34px); } }

/* =====================================================================
   Phone alignment: centred controls, full-width actions, centred footer
   ===================================================================== */
@media (max-width: 760px) {
  /* home hero: discipline caption and arrows centred */
  .pv__nav { left: 0; right: 0; inset-inline: 0; justify-content: center; }
  .hp__caps { inset-inline: 16px; width: auto; }
  .hp__cap { text-align: center; justify-items: center; }

  /* standalone text links become full-width, centred actions */
  .link { display: flex; justify-content: center; width: 100%; padding: 14px 18px; border: 1px solid var(--line-2); border-radius: 0; }
  .link:hover { border-color: var(--metal); }
  .cta-band .wrap { display: grid; justify-items: center; text-align: center; gap: 18px; }

  /* contact form: full-width submit */
  form .btn[type="submit"] { width: 100%; justify-content: center; }

  /* footer centred */
  .footer__grid { text-align: center; justify-items: center; }
  .footer__grid img { margin-inline: auto; }
  .footer__bottom { justify-content: center; text-align: center; }
}
@media (max-width: 760px) { .cta-band__inner { flex-direction: column; align-items: stretch; text-align: center; } }
@media (max-width: 760px) { .cta-band .wrap { justify-items: stretch; } .cta-band__inner > * { text-align: center; } }
@media (max-width: 760px) { .cta-band .wrap { grid-template-columns: 1fr; justify-content: stretch; } }
@media (max-width: 760px) { .hero__actions .btn { flex: 1 1 100%; justify-content: center; } }
.pv__count { direction: ltr; unicode-bidi: isolate; }

/* =====================================================================
   Phone sizing: controls in proportion to the 15px body text
   (44px tall = comfortable tap size; 14px labels; width fits the label)
   ===================================================================== */
@media (max-width: 760px) {
  .btn { min-height: 44px; height: 44px; padding: 0 18px; font-size: 14px; gap: 8px; }
  .btn .i-arrow { width: 16px; height: 16px; }
  .hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero__actions .btn { flex: none; width: 100%; padding: 0 10px; }

  .link { display: flex; width: fit-content; max-width: 100%; margin-inline: auto; min-height: 44px; padding: 0 22px; font-size: 14px; gap: 8px; }
  .cta-band .wrap { justify-items: center; }

  form .btn[type="submit"] { width: fit-content; margin-inline: auto; display: flex; padding: 0 26px; }

  .pv__arrow { width: 44px; height: 44px; }
  .capx__go { width: 44px; height: 44px; }
}
@media (max-width: 360px) { .hero__actions { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .hero__actions { grid-template-columns: max-content; justify-content: center; gap: 10px; }
  .hero__actions .btn { padding: 0 26px; }
}

/* =====================================================================
   21st.dev-inspired effects (rebuilt natively)
   ===================================================================== */
/* 1. Spotlight: soft light + lit edge that follow the cursor (hover devices only) */
@media (hover: hover) {
  .svccard, .partner, .proj, .grp__specs a, .capblock { position: relative; }
  .svccard::after, .partner::after, .proj::after, .grp__specs a::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s ease; z-index: 1;
    background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(214, 200, 170, .13), transparent 62%);
  }
  .svccard::before { z-index: 2; }
  [data-spot].is-lit::after { opacity: 1; }
  [data-spot].is-lit { box-shadow: inset 0 0 0 1px rgba(214, 200, 170, .22); }
  .proj[data-spot]::after { inset: 0 0 auto 0; aspect-ratio: 4 / 3; }
}

/* 2. Count-up figures keep their width while counting */
[data-countup] { font-variant-numeric: tabular-nums; }

/* 3. Border beam on the PROPER Holding card */
@property --beam { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.grp__root::before {
  content: ""; position: absolute; inset: -1px; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--beam), transparent 0 70%, rgba(242, 223, 176, .9) 82%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: beam 5s linear infinite;
}
@keyframes beam { to { --beam: 360deg; } }

/* 4. Scroll word reveal for overview text */
.wreveal .w { opacity: .22; transition: opacity .35s ease; }
.wreveal .w.is-on { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .grp__root::before { animation: none; display: none; }
  .wreveal .w { opacity: 1; transition: none; }
}
.grp__root::before { inset: -2px; padding: 2px; background: conic-gradient(from var(--beam), transparent 0 62%, rgba(242, 223, 176, .35) 72%, #f6e6bd 84%, rgba(242, 223, 176, .35) 90%, transparent 96%); filter: drop-shadow(0 0 6px rgba(242, 223, 176, .45)); }

/* Partners page: moving logo rows (same format as the clients) */
.partners__head { margin-bottom: clamp(28px, 4vw, 48px); }
.section--stone .partners__sub { margin: clamp(56px, 7vw, 96px) 0 clamp(24px, 3vw, 40px); }
.cmarq__track img[src*="aarcalev"] { max-height: 84px; transform: scale(1.35); }

/* Home hero: brighter strips behind the text; smaller, quieter headline with a soft shadow for legibility */
.hero--pano .hero__grade { background: linear-gradient(180deg, rgba(5, 5, 6, .45) 0%, transparent 18%, transparent 58%, rgba(5, 5, 6, .85) 100%), linear-gradient(90deg, rgba(5, 5, 6, .38) 0%, rgba(5, 5, 6, .12) 34%, transparent 52%); }
[dir="rtl"] .hero--pano .hero__grade { background: linear-gradient(180deg, rgba(5, 5, 6, .45) 0%, transparent 18%, transparent 58%, rgba(5, 5, 6, .85) 100%), linear-gradient(270deg, rgba(5, 5, 6, .38) 0%, rgba(5, 5, 6, .12) 34%, transparent 52%); }
.pv:not(.is-focus) .pv__z { filter: brightness(1.12) saturate(1.12); }
.hero--pano .hero__title { font-size: clamp(24px, 2.7vw, 40px); max-width: 15ch; text-shadow: 0 2px 18px rgba(0, 0, 0, .55); }
.hero--pano .hero__lead { font-size: clamp(13.5px, .95vw, 15px); max-width: 420px; margin: 14px 0 22px; text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
@media (max-width: 760px) {
  .hero--pano .hero__title { font-size: clamp(22px, 6.4vw, 28px); }
  .hero--pano .hero__grade, [dir="rtl"] .hero--pano .hero__grade { background: linear-gradient(180deg, rgba(5, 5, 6, .45) 0%, rgba(5, 5, 6, .1) 18%, rgba(5, 5, 6, .35) 45%, rgba(5, 5, 6, .88) 100%); }
}

/* Offices */
.offices__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.office { display: grid; align-content: start; gap: 10px; padding: clamp(24px, 2.4vw, 34px); background: var(--ink); }
.office--hq { background: var(--ink-2); box-shadow: inset 0 2px 0 var(--metal); }
.office__role { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--metal); }
.office h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 300; letter-spacing: -.01em; }
.office p { margin: 0; color: var(--mute); font-size: 15px; line-height: 1.6; }
.office__map { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; color: #fff; }
.office__map .i-arrow { width: 16px; height: 16px; }
.footer__offices a { font-size: 14px; }
@media (max-width: 980px) { .offices__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .offices__grid { grid-template-columns: 1fr; } .office { text-align: center; justify-items: center; } }
.hero--pano .hero__title { color: rgba(243, 242, 239, .72); }
.hero--pano .hero__title em { opacity: .72; }
.hero--pano .hero__lead { color: rgba(214, 216, 220, .72); }

/* Footer: pre-sales office and other locations, kept quiet */
.footer__presales { margin-top: 18px; line-height: 1.7; }
.footer__sub { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute-2); }
.footer__also { margin-top: 12px; font-size: 13px; color: var(--mute-2); }

/* About — company profiles (open in a viewer) */
.docs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.doc { display: grid; grid-template-rows: auto 1fr auto; border: 1px solid var(--line); background: var(--ink-2); transition: border-color .4s, transform .5s var(--ease); }
.doc:hover, .doc:focus-visible { border-color: var(--line-2); transform: translateY(-4px); }
.doc:focus-visible { outline: 2px solid var(--metal); outline-offset: 3px; }
.doc__cover { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0a0b0d; }
.doc__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.doc:hover .doc__cover img { transform: scale(1.04); }
.doc__meta { display: grid; gap: 6px; padding: 22px 24px 8px; }
.doc__org { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--metal); }
.doc__meta b { font-size: 20px; font-weight: 400; letter-spacing: -.01em; }
.doc__info { font-size: 13px; color: var(--mute); }
.doc__cta { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px 22px; font-size: 14px; font-weight: 500; }
.doc__cta .i-arrow { width: 16px; height: 16px; transition: transform .3s; }
.doc:hover .doc__cta .i-arrow { transform: translateX(4px); }
[dir="rtl"] .doc:hover .doc__cta .i-arrow { transform: scaleX(-1) translateX(4px); }
@media (max-width: 900px) { .docs__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } .doc { text-align: center; } .doc__cta { justify-content: center; } }

/* Logo +10% */
.brand img { height: 40px; }
.footer__grid img { height: 37px; }

/* Footer: four offices in one row (a 2 x 2 grid, then one column, on smaller screens) */
.offices-t { width: 100%; border-collapse: collapse; margin: 0 0 30px; caption-side: top; }
.offices-t caption { text-align: start; margin-bottom: 14px; }
.offices-t tr { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.offices-t td { display: grid; align-content: start; gap: 6px; padding: 18px 20px 18px 0; font-size: 14px; color: #c9ccd1; }
.offices-t td + td { padding-inline-start: 20px; border-inline-start: 1px solid var(--line); }
.offices-t__role { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute-2); }
.offices-t a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 4px; transition: text-decoration-color .3s; }
.offices-t a:hover { text-decoration-color: var(--metal); }
@media (max-width: 900px) {
  .offices-t tr { grid-template-columns: 1fr 1fr; }
  .offices-t td:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; border-top: 1px solid var(--line); }
  .offices-t td:nth-child(4) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .offices-t caption { text-align: center; }
  .offices-t tr { grid-template-columns: 1fr; }
  .offices-t td, .offices-t td + td { padding: 16px 0; border-inline-start: 0; text-align: center; justify-items: center; }
  .offices-t td + td { border-top: 1px solid var(--line); }
}

/* Profile access form */
.gate { width: min(460px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--line-2); background: var(--ink-2); color: var(--white); }
.gate::backdrop { background: rgba(5, 5, 6, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.gate__form { position: relative; display: grid; gap: 16px; padding: clamp(26px, 4vw, 38px); }
.gate__close { position: absolute; top: 10px; inset-inline-end: 10px; width: 44px; height: 44px; border: 0; background: none; color: var(--mute); font-size: 26px; line-height: 1; cursor: pointer; }
.gate__close:hover { color: #fff; }
.gate__kicker { margin: 0; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--metal); }
.gate h3 { font-size: 22px; font-weight: 400; margin: 0; padding-inline-end: 30px; }
.gate__lead { margin: 0; color: var(--mute); font-size: 14px; }
.gate label { display: grid; gap: 6px; }
.gate label span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.gate input { height: 44px; padding: 0 12px; border: 1px solid var(--line-2); background: var(--ink); color: #fff; font: inherit; font-size: 15px; }
.gate input:focus { outline: 2px solid var(--metal); outline-offset: 0; border-color: transparent; }
.gate__err { margin: 0; color: #e9a08f; font-size: 13px; }
.gate .btn { justify-self: start; }
@media (max-width: 560px) { .gate .btn { justify-self: center; } }

/* Home hero tagline — desktop: split across the page. "Building Intelligent Environments." on the left,
   "Enabling Tomorrow." on the right; the description sits under the left half, the buttons under the right. */
@media (min-width: 901px) {
  .hero--pano .hero__content { max-width: none; display: grid; grid-template-columns: 1fr 1fr; align-items: end; column-gap: 40px; padding-bottom: clamp(120px, 17vh, 170px); }
  .hero--pano .hero__title { grid-column: 1 / -1; max-width: none; display: flex; justify-content: space-between; align-items: baseline; gap: 40px; font-size: clamp(28px, 3.4vw, 52px); }
  .hero--pano .hero__title .line:last-child { text-align: end; }
  .hero--pano .hero__lead { grid-column: 1; margin: 18px 0 0; max-width: 460px; }
  .hero--pano .hero__actions { grid-column: 2; justify-content: flex-end; margin-top: 18px; }
  /* a little more depth at the bottom so both ends of the line stay readable over bright images */
  .hero--pano .hero__grade, [dir="rtl"] .hero--pano .hero__grade { background: linear-gradient(180deg, rgba(5, 5, 6, .45) 0%, transparent 18%, transparent 48%, rgba(5, 5, 6, .55) 72%, rgba(5, 5, 6, .9) 100%); }
}
/* Phone: the whole tagline centred across the screen, description and buttons centred beneath */
@media (max-width: 900px) {
  .hero--pano .hero__content { text-align: center; max-width: none; }
  .hero--pano .hero__title { max-width: none; margin-inline: auto; }
  .hero--pano .hero__lead { margin-inline: auto; }
  .hero--pano .hero__actions { justify-content: center; }
}
/* Hide the tagline (band on desktop) while a discipline is open; it returns with the six strips */
.hero--pano .hero__content { transition: opacity .45s ease, visibility 0s linear 0s, transform .45s var(--ease); }
.hero--pano.is-open .hero__content { opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none; transition: opacity .35s ease, visibility 0s linear .35s, transform .35s ease; }

/* Home hero after trimming: headline and description only, left (desktop) or centred (phone) */
@media (min-width: 901px) {
  .hero--pano .hero__content { grid-template-columns: minmax(0, 1fr); }
  .hero--pano .hero__title { display: block; }
}
@media (min-width: 901px) { .hero--pano .hero__title .line:last-child { text-align: start; } .hero--pano .hero__lead { grid-column: 1; } }

/* Logos in their original colours, each on a light card so dark marks stay visible on the dark page */
.cmarq__track li { background: #f4f3f0; border-color: rgba(255, 255, 255, .08); }
.cmarq__track li:hover { background: #fff; border-color: rgba(255, 255, 255, .3); }
.cmarq__track img, .cmarq__track li:hover img { filter: none; opacity: 1; mix-blend-mode: multiply; }
.cmarq__track img[src*="aarcalev"] { transform: scale(1.35); }

/* Logos: brand colours floating on the dark band, separated by hairline dividers (option A) */
.cmarq__track li, .cmarq__track li:hover { background: none; border: 0; box-shadow: none; border-inline-end: 1px solid rgba(255, 255, 255, .1); margin-inline-end: 0; width: clamp(190px, 16vw, 250px); }
.cmarq__track img, .cmarq__track li:hover img { mix-blend-mode: normal; filter: none; }
.cmarq__track img { opacity: .82; transition: opacity .4s, transform .4s var(--ease); }
.cmarq__track li:hover img { opacity: 1; transform: scale(1.06); }
.cmarq__track li:hover img[src*="aarcalev"] { transform: scale(1.42); }
@media (max-width: 600px) { .cmarq__track li, .cmarq__track li:hover { width: 150px; } }

/* Profiles: view freely, download after details */
.doc { grid-template-rows: auto 1fr auto; }
.doc:hover { transform: none; }
.doc__cover:hover img { transform: scale(1.04); }
.doc__actions { display: flex; gap: 10px; padding: 14px 24px 22px; }
.doc__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; color: #fff; transition: background .3s, border-color .3s, color .3s; }
.doc__btn:hover, .doc__btn:focus-visible { border-color: var(--metal); }
.doc__btn--dl { background: var(--metal-grad); background-size: 200% 100%; border-color: transparent; color: #0d0e10; }
.doc__btn--dl:hover { background-position: 100% 0; }
.doc__btn .i-arrow, .i-dl { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .doc__btn .i-arrow { transform: scaleX(-1); }
@media (max-width: 900px) { .doc__actions { justify-content: center; } }

/* Technology: control-room gallery; the live dashboard is one tile, scaled to fit */
.crg { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.4vw, 20px); margin-top: clamp(28px, 4vw, 48px); }
.crg__item { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: #0a0c10; border: 1px solid var(--line); }
.crg__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.crg__item:hover img { transform: scale(1.05); }
.crg__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 40px 16px 14px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #e9eaec; background: linear-gradient(0deg, rgba(0, 0, 0, .78), transparent); }
.crg__live { width: 7px; height: 7px; border-radius: 50%; background: #6fcf97; box-shadow: 0 0 10px #6fcf97; animation: owBlink 1.6s ease-in-out infinite; }
.crg__fit { position: absolute; inset: 0; overflow: hidden; }
.crg__fit .opswall { position: absolute; top: 0; left: 0; width: 1280px; margin: 0; transform-origin: 0 0; transform: scale(var(--ow-s, .3)); border: 0; border-radius: 0; box-shadow: none; }
[dir="rtl"] .crg__fit .opswall { left: auto; right: 0; transform-origin: 100% 0; }
@media (max-width: 1000px) { .crg { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .crg { grid-template-columns: 1fr; } }

/* Footer offices: three columns (HQ · pre-sales · branch offices) */
.offices-t tr { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .offices-t tr { grid-template-columns: 1fr 1fr; }
  .offices-t td:nth-child(3) { grid-column: 1 / -1; }
  .offices-t td:nth-child(4) { border-top: 0; }
}
@media (max-width: 560px) { .offices-t tr { grid-template-columns: 1fr; } .offices-t td:nth-child(3) { grid-column: auto; } }

/* Desktop logo +18%; home hero text larger and brighter */
@media (min-width: 901px) { .brand img { height: 47px; } }
.hero--pano .hero__title { color: rgba(250, 249, 246, .94); font-size: clamp(30px, 3.9vw, 60px); text-shadow: 0 2px 22px rgba(0, 0, 0, .65); }
.hero--pano .hero__lead { color: rgba(232, 234, 237, .92); font-size: clamp(15px, 1.12vw, 18px); max-width: 500px; text-shadow: 0 1px 12px rgba(0, 0, 0, .7); }
@media (max-width: 760px) { .hero--pano .hero__title { font-size: clamp(26px, 7.6vw, 34px); } .hero--pano .hero__lead { font-size: 15px; } }

/* Header spans the full screen width on desktop: logo at the far left, actions at the far right */
@media (min-width: 901px) {
  .site-header__inner { max-width: none; padding-inline: clamp(24px, 2.6vw, 48px); }
}
@media (min-width: 901px) { .site-header__inner.wrap, .site-header .wrap { width: 100%; max-width: none; margin-inline: 0; padding-inline: clamp(24px, 2.6vw, 48px); } }

/* Home hero on desktop: tagline aligned to the same far-left edge as the logo; arrows/caption to the far right */
@media (min-width: 901px) {
  .hero--pano .hero__content { width: 100%; max-width: none; margin-inline: 0; padding-inline: clamp(24px, 2.6vw, 48px); }
  .pv__nav, .hp__caps { inset-inline-end: clamp(24px, 2.6vw, 48px); }
}
.crg__sub { margin: clamp(48px, 6vw, 80px) 0 0; display: grid; gap: 10px; }
.crg__sub h3 { margin: 0; font-size: clamp(22px, 2vw, 30px); font-weight: 300; letter-spacing: -.01em; }
.crg__sub p { margin: 0; color: var(--mute); max-width: 60ch; }
.crg + .crg__sub + .crg, .crg__sub + .crg { margin-top: clamp(20px, 2.4vw, 32px); }

/* Floating WhatsApp button (every page) */
.wa-fab { position: fixed; z-index: 60; bottom: 22px; inset-inline-end: 22px; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px; border-radius: 26px; background: #25d366; color: #0b2e17; font-size: 15px; font-weight: 600; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08); transition: transform .3s var(--ease), box-shadow .3s; }
.wa-fab svg { width: 24px; height: 24px; fill: currentColor; }
.wa-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(37, 211, 102, .5); }
.wa-fab:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 760px) { .wa-fab { bottom: 16px; inset-inline-end: 16px; width: 52px; padding: 0; justify-content: center; } .wa-fab span { display: none; } }
@media print { .wa-fab { display: none; } }
/* keep the home hero arrows and caption clear of the WhatsApp button on desktop */
@media (min-width: 761px) { .pv__nav { bottom: 96px; } .hp__caps { bottom: 168px; } }

/* WhatsApp: in the footer only (no floating button); hero arrows back in place */
.wa-fab { display: none; }
@media (min-width: 761px) { .pv__nav { bottom: clamp(36px, 6vh, 56px); } .hp__caps { bottom: clamp(112px, 15vh, 150px); } }
.footer__wa { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; height: 40px; padding: 0 16px; border: 1px solid rgba(37, 211, 102, .45); border-radius: 20px; color: #fff; font-size: 14px; transition: background .3s, border-color .3s; }
.footer__wa svg { width: 18px; height: 18px; fill: #25d366; }
.footer__wa:hover { background: rgba(37, 211, 102, .12); border-color: #25d366; }
.section.clients { padding-inline: 0; }

/* =====================================================================
   Home hero on phones: six full-screen swipeable discipline slides
   ===================================================================== */
.mx { display: none; }
@media (max-width: 760px) {
  .pv, .pv__nav, .hp__caps, .hero--pano .hero__grade { display: none !important; }
  .hero--pano { min-height: 100svh; }
  .mx { display: block; position: absolute; inset: 0; z-index: -1; }
  .mx__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .mx__track::-webkit-scrollbar { display: none; }
  .mx__s { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: start; overflow: hidden; }
  .mx__s img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .mx__s::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 5, 6, .75) 0%, rgba(5, 5, 6, .15) 30%, rgba(5, 5, 6, .1) 50%, rgba(5, 5, 6, .9) 100%); }
  .mx__cap { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 96px; display: grid; gap: 8px; text-align: center; justify-items: center; }
  .mx__n { font-size: 12px; letter-spacing: .2em; color: var(--metal); direction: ltr; }
  .mx__cap h2 { margin: 0; font-size: 24px; font-weight: 300; line-height: 1.2; color: #fff; }
  .mx__cap p { margin: 0; font-size: 14px; color: #d6d8dc; }
  .mx__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; height: 44px; padding: 0 20px; border: 1px solid rgba(255, 255, 255, .45); color: #fff; font-size: 14px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); background: rgba(5, 5, 6, .25); }
  .mx__go .i-arrow, .mx__hint .i-arrow { width: 16px; height: 16px; }
  [dir="rtl"] .mx__go .i-arrow, [dir="rtl"] .mx__hint .i-arrow { transform: scaleX(-1); }
  .mx__dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 44px; display: flex; justify-content: center; gap: 4px; }
  .mx__dots button { width: 22px; height: 22px; padding: 7px; border: 0; background: none; cursor: pointer; }
  .mx__dots button::before { content: ""; display: block; width: 8px; height: 8px; margin: auto; border-radius: 4px; background: rgba(255, 255, 255, .4); transition: width .35s, background .35s; }
  .mx__dots button.is-on { width: 34px; }
  .mx__dots button.is-on::before { width: 24px; background: var(--metal); }
  .mx__hint { position: absolute; z-index: 3; left: 0; right: 0; bottom: 14px; margin: 0; display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
  .hero--pano .hero__content, .hero--pano.is-open .hero__content { position: absolute; top: calc(var(--header-h) + 18px); bottom: auto; left: 0; right: 0; padding: 0 20px; text-align: center; z-index: 2; opacity: 1; visibility: visible; transform: none; }
  .hero--pano .hero__title { font-size: 26px; color: #fff; }
  .hero--pano .hero__lead { font-size: 14px; margin: 10px auto 0; color: #e2e4e7; }
}

/* Phones: the language switch lives in the menu, not the top bar; desktop unchanged */
.nav__item--lang { display: none; }
@media (max-width: 760px) {
  .site-header .lang-switch { display: none; }
  .nav__item--lang { display: block; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
  .nav__item--lang a[lang="ar"] { font-family: "IBM Plex Sans Arabic", "Noto Sans Arabic", "Geeza Pro", Tahoma, sans-serif; }
  .nav__item--lang a[lang="en"] { font-family: "Inter Tight", "Helvetica Neue", Arial, sans-serif; }
  /* swipe moves exactly one slide */
  .mx__s { scroll-snap-stop: always; }
}
@media (max-width: 760px) { .nav__item--lang { margin-top: 0; padding-top: 0; border-top: 0; } }

/* Language dropdown in the header (desktop and tablet); phones use the menu */
.lang-dd { position: relative; margin-inline-start: 14px; }
.lang-dd__btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border: 1px solid transparent; background: none; color: #d6d9de; font: inherit; font-size: 13.5px; letter-spacing: .06em; cursor: pointer; transition: color .3s, border-color .3s; }
.lang-dd__btn:hover, .lang-dd__btn[aria-expanded="true"] { color: #fff; border-color: var(--line-2); }
.lang-dd__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.lang-dd__btn .lang-dd__chev { width: 12px; height: 12px; transition: transform .3s; }
.lang-dd__btn[aria-expanded="true"] .lang-dd__chev { transform: rotate(180deg); }
.lang-dd__menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 150px; padding: 6px; display: grid; background: var(--ink-2); border: 1px solid var(--line-2); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .7); z-index: 80; }
.lang-dd__menu[hidden] { display: none; }
.lang-dd__menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; font-size: 14px; color: #c9ccd1; transition: background .25s, color .25s; }
.lang-dd__menu a:hover, .lang-dd__menu a:focus-visible { background: rgba(255, 255, 255, .06); color: #fff; }
.lang-dd__menu a[aria-current="true"] { color: #fff; }
.lang-dd__menu a[aria-current="true"]::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--metal); }
.lang-dd__menu a[lang="ar"] { font-family: "IBM Plex Sans Arabic", "Noto Sans Arabic", "Geeza Pro", Tahoma, sans-serif; font-size: 15px; }
@media (max-width: 980px) { .lang-dd { margin-inline-start: auto; margin-inline-end: 8px; } }
@media (max-width: 760px) { .site-header .lang-dd { display: none; } }


/* WhatsApp as a plain contact line, matching phone and email */
.footer__wa-line { margin-top: 10px; font-size: 14.5px; color: var(--mute); }
.footer__wa-line a { color: #c9ccd1; }
.footer__wa-line a:hover { color: #fff; }

/* Phones: a more compact footer (desktop unchanged) */
@media (max-width: 760px) {
  .site-footer { padding: 44px 0 22px; }
  .footer__grid { gap: 26px; padding: 0 0 26px; }
  .footer__grid img { height: 32px; }
  .footer__parent { margin-top: 10px; font-size: 12px; }
  .footer__h { margin-bottom: 8px; }
  .footer__grid li + li { margin-top: 0; }
  .footer__grid a { padding-block: 7px; }
  .footer__grid ul { display: grid; gap: 0; }
  /* company links: two short centred lines instead of a long column */
  .footer__grid > div:nth-child(3) ul { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 18px; }
  .footer__grid p { margin-top: 0; line-height: 1.7; }
  .footer__contact a { display: inline-block; padding-block: 4px; }
  .footer__wa-line { margin-top: 4px; }
  .offices-t { margin-bottom: 18px; }
  .offices-t caption { margin-bottom: 8px; }
  .offices-t td, .offices-t td + td { padding: 12px 0; gap: 3px; }
  .footer__bottom { padding-top: 16px; gap: 4px; font-size: 12px; }
}
@media (max-width: 760px) { .footer__bottom { border-top: 0; padding-top: 4px; } }

/* Phones: a compact org chart that keeps the tree shape (desktop unchanged) */
@media (max-width: 760px) {
  .grp__tree { margin-top: 24px; }
  .grp__root { width: min(260px, 100%); padding: 20px 18px 16px; gap: 10px; }
  .grp__root img { width: 160px; }
  .grp__role { font-size: 11px; letter-spacing: .22em; }
  .grp__wire { height: 34px; }
  .grp__wire--split i:nth-child(2), .grp__wire--split i:nth-child(3) { display: block !important; }
  .grp__cos, .grp__wires { grid-template-columns: 1fr 1fr; gap: 10px; }
  .grp__wires .grp__wire + .grp__wire { display: block !important; }
  .grp__co, .grp__co-body { min-height: 132px; }
  .grp__co-body { padding: 26px 10px 14px; gap: 8px; }
  .grp__logo { width: 82%; }
  .grp__logo--midrar { width: 72%; }
  .grp__co-body p { font-size: 11.5px; line-height: 1.4; }
  .grp__here { top: 8px; inset-inline-start: 8px; font-size: 9px; padding: 3px 6px; letter-spacing: .1em; }
  /* each company's two domains sit directly beneath it */
  .grp__specs { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; grid-auto-flow: column; gap: 8px 10px; }
  .grp__specs a { min-height: 84px; padding: 10px; gap: 3px; }
  .grp__specs b { font-size: 13px; line-height: 1.25; }
  .grp__n { font-size: 10px; }
}

/* Technology gallery, phones and tablets only (below 1101px the dashboard's own rules would stack its panels):
   keep the full desktop layout inside the tile and scale it to fill the tile. Desktop is unchanged. */
@media (max-width: 1100px) {
  .crg__fit .opswall, [dir="rtl"] .crg__fit .opswall { left: 0; right: auto; transform-origin: 0 0; direction: ltr; transform: translate(var(--ow-x, 0px), var(--ow-y, 0px)) scale(var(--ow-s, .3)); }
  .crg__fit .ow-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .crg__fit .ow-map { grid-column: span 5; grid-row: span 2; }
  .crg__fit .ow-kpis { grid-column: span 7; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .crg__fit .ow-chart { grid-column: span 7; }
  .crg__fit .ow-cams { grid-column: span 6; }
  .crg__fit .ow-gpu, .crg__fit .ow-log { grid-column: span 3; }
  .crg__fit .ow-bar { flex-wrap: nowrap; gap: 18px; }
  .crg__fit .ow-status { margin-inline-start: auto; }
  .crg__fit .ow-brand { width: auto; }
  .crg__fit .ow-cam figcaption span { display: inline; }
  .crg__fit .ow-kpi__v { font-size: 34px; }
}
/* Technology page: the live dashboard tile is shown on desktop and tablet only; phones show the photos */
@media (max-width: 760px) { .crg__item--live { display: none; } }
