/* Studio layer: depth, rhythm and motion on top of the approved identity (same greens, paper, Jost and Tajawal). */
:root{--forest:#10241a;--forest-line:rgba(226,240,224,.14);--leaf:#9bd489;--mist:#b9c8ba;--out:cubic-bezier(.16,1,.3,1)}
html{scroll-padding-top:96px}
main .eyebrow:not(.room-concept-label){display:none}
.studio{padding-block:clamp(72px,8vw,128px)}
html[lang=ar] .studio{direction:rtl;text-align:right}
.studio h2{font-size:clamp(30px,3.7vw,54px);line-height:1.12;font-weight:600;text-wrap:balance}
html[lang=ar] .studio h2{line-height:1.35}
.studio-head{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:24px 64px;align-items:end;margin-bottom:56px}
.studio-head p{margin:0;max-width:38ch}
.studio-head p a{display:inline-block;text-decoration:underline;text-underline-offset:5px}

/* Header stays with the visitor and tightens once they move. */
.header{position:sticky;top:0;z-index:40;transition:box-shadow .3s}
.header .nav-row{transition:height .35s var(--out)}
.header .brand img{transition:width .35s var(--out),height .35s var(--out)}
.header.is-scrolled{box-shadow:0 10px 30px -22px rgba(16,36,26,.55)}
@media(min-width:1001px){.header.is-scrolled .nav-row{height:76px}.header.is-scrolled .brand img{width:158px;height:68px}
 .header nav a{position:relative}.header nav a::after{content:"";position:absolute;inset-inline:22%;bottom:4px;height:2px;background:var(--green);transform:scaleX(0);transition:transform .35s var(--out)}.header nav a:hover::after,.header nav a:focus-visible::after,.header nav a[aria-current]::after{transform:scaleX(1)}}
.header nav.open{top:100%!important}
html[data-motion=on] .header nav.open a{animation:menu-in .45s var(--out) both}
.header nav.open a:nth-child(2){animation-delay:.04s}.header nav.open a:nth-child(3){animation-delay:.08s}.header nav.open a:nth-child(4){animation-delay:.12s}.header nav.open a:nth-child(5){animation-delay:.16s}.header nav.open a:nth-child(6){animation-delay:.2s}
@keyframes menu-in{from{opacity:0;transform:translateY(-8px)}}

/* Buttons and arrows answer the pointer. */
.button{position:relative;isolation:isolate;overflow:hidden;transition:transform .25s var(--out),box-shadow .25s}
.button::before{content:"";position:absolute;inset:0;z-index:-1;background:#1f4129;transform:scaleX(0);transform-origin:left;transition:transform .45s var(--out)}
html[lang=ar] .button::before{transform-origin:right}
.button:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 14px 26px -16px rgba(16,36,26,.8)}
.button:not(:disabled):hover::before,.button:focus-visible::before{transform:scaleX(1)}
.button:not(:disabled):active{transform:translateY(0) scale(.98)}
a .arrow{transition:transform .35s var(--out)}
a:hover>.arrow,a:focus-visible>.arrow{transform:translate(4px,-4px)}

/* Drawn service icons. */
.ico{width:40px;height:40px;flex:none;overflow:visible}
.ico.draw *{stroke-dasharray:1;animation:draw 1.25s var(--out) both}
.ico.draw *:nth-child(2){animation-delay:.12s}.ico.draw *:nth-child(3){animation-delay:.24s}.ico.draw *:nth-child(n+4){animation-delay:.36s}
@keyframes draw{from{stroke-dashoffset:1;opacity:0}8%{opacity:1}to{stroke-dashoffset:0}}

/* Opening */
@media(min-width:701px){.threshold-hero{height:clamp(540px,calc(100svh - 210px),780px)}.threshold-opening{display:flex;align-items:center;padding-block:28px}}
.threshold-opening-copy{border-radius:4px}
.fact-band{padding-block:0;background:var(--forest);color:#fff}
.fact-band dl{display:grid;grid-template-columns:repeat(3,1fr);margin-block:0}
.fact-band dl>div{padding:26px 28px;border-inline-start:1px solid var(--forest-line)}
.fact-band dl>div:first-child{border:0;padding-inline-start:0}
.fact-band dt{font-size:13px;color:var(--mist)}
.fact-band dd{margin:4px 0 0;font:500 28px/1.3 Jost,Tajawal,sans-serif;letter-spacing:.01em}
html[lang=ar] .fact-band dd{text-align:right}
.fact-band dd.fact-text{font-size:21px;font-family:inherit}

/* Service explorer: the one memorable moment. */
.explorer{background:var(--forest);color:#f3f6ef;border-top:1px solid var(--forest-line)}
.explorer .studio-head p{color:var(--mist)}
.explorer-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:48px;align-items:start}
.explorer-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--forest-line)}
.explorer-list li{border-bottom:1px solid var(--forest-line)}
.explorer-row{display:grid;grid-template-columns:40px minmax(0,1fr) 20px;gap:20px;align-items:center;min-height:68px;padding:10px 12px;position:relative;isolation:isolate;font-size:19px;color:#d7e1d6;transition:color .3s}
.explorer-row::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(155,212,137,.17),rgba(155,212,137,.03));transform:scaleX(0);transform-origin:left;transition:transform .5s var(--out)}
html[lang=ar] .explorer-row::before{transform-origin:right;background:linear-gradient(270deg,rgba(155,212,137,.17),rgba(155,212,137,.03))}
.explorer-row .ico{width:34px;height:34px;color:var(--mist);transition:color .3s,transform .45s var(--out)}
.explorer-row .arrow{filter:invert(1);opacity:.45}
.explorer-row.is-active{color:#fff}.explorer-row.is-active::before{transform:scaleX(1)}
.explorer-row.is-active .ico{color:var(--leaf);transform:scale(1.12)}
.explorer-row.is-active .arrow{opacity:1}
.explorer-row:focus-visible{outline-color:var(--leaf);outline-offset:-3px}
.explorer-stage{position:sticky;top:104px;height:min(690px,calc(100svh - 128px));min-height:440px;overflow:hidden;background:#0b1a12}
.explorer-scene{position:absolute;inset:0;margin:0;visibility:hidden;opacity:0;transition:opacity 0s .18s,visibility 0s .18s}
.explorer-scene.is-active{visibility:visible;opacity:1;z-index:1;transition:opacity .18s ease-out}
.explorer-scene img{width:100%;height:100%;object-fit:cover}
.explorer-scene figcaption{position:absolute;inset:auto 0 0;display:grid;gap:4px;padding:88px 30px 26px;background:linear-gradient(transparent,rgba(8,20,13,.94))}
.explorer-scene figcaption strong{font-size:24px;font-weight:600}.explorer-scene figcaption span{max-width:48ch;color:#dbe5da}.explorer-scene figcaption small{margin-top:8px;font-size:12px;color:var(--mist)}

/* Delivery path draws itself as it is read. */
.journey{background:var(--paper)}
.journey .studio-head{display:block}
.journey-line{--p:1;list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:40px;position:relative}
.journey-line::before,.journey-line::after{content:"";position:absolute;top:27px;inset-inline:0;height:2px;background:var(--line)}
.journey-line::after{background:var(--green);transform:scaleX(var(--p));transform-origin:left}
html[lang=ar] .journey-line::after{transform-origin:right}
.journey-node{position:relative;z-index:1;display:grid;place-items:center;width:56px;height:56px;border-radius:50%;border:2px solid var(--green);background:var(--paper);color:var(--green);font:500 20px Jost,sans-serif;margin-bottom:28px}
.journey-line h3{margin-bottom:10px}.journey-line p{max-width:34ch;color:var(--muted);margin:0}

.assurance{background:#dde4d8}
.assurance-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:72px;align-items:center}
.assurance p{max-width:46ch;margin-top:20px}
.assurance-mark{display:grid;gap:26px}
.ico-large{width:132px;height:132px;color:var(--green);stroke-width:1}
.assurance .licence-panel{background:var(--paper);margin:0}
.profile-grid{display:grid;grid-template-columns:1fr 1.35fr;gap:64px}
html[lang=ar] .profile-grid{direction:rtl}
.profile-grid .image-note{font-size:13px;color:var(--muted)}

.coverage-section{background:var(--forest);color:#f3f6ef}
.coverage-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:64px;align-items:center}
.coverage-grid p{color:var(--mist);max-width:54ch;margin-top:20px}
.coverage-contact{display:flex;flex-wrap:wrap;gap:18px 28px;align-items:center}
.coverage-section .button{background:var(--leaf);color:#0f2116}.coverage-section .button::before{background:#c3ebb5}
.coverage-section .coverage-regions{display:block;list-style:none;margin:0;padding:0}
.coverage-section .coverage-regions li{display:flex;align-items:center;gap:18px;padding:24px 0;border:0;border-bottom:1px solid var(--forest-line);font-size:clamp(22px,2.2vw,30px)}
.region-dot{width:11px;height:11px;border-radius:50%;background:var(--leaf);flex:none;position:relative}
html[data-motion=on] .region-dot::after{content:"";position:absolute;inset:-7px;border:1px solid var(--leaf);border-radius:50%;animation:ping 2.8s ease-out 3}
.coverage-regions li:nth-child(2) .region-dot::after{animation-delay:.35s}.coverage-regions li:nth-child(3) .region-dot::after{animation-delay:.7s}
@keyframes ping{from{transform:scale(.4);opacity:1}to{transform:scale(1.7);opacity:0}}

/* Inner pages: one dark opening everywhere, with page-specific content beside it. */
.page-hero{background:var(--forest);color:#f3f6ef;border:0}
.page-hero :is(h1,.lead){color:inherit}
.page-hero .page-hero-grid{align-items:center;min-height:430px;padding-block:56px}
.page-hero.compact{padding-block:clamp(48px,6vw,86px)}
.page-hero.compact .intro-copy{max-width:760px;margin:0;text-align:left}
html[lang=ar] .page-hero.compact .intro-copy{margin-inline-start:auto;text-align:right}
.page-hero h1{font-size:clamp(36px,4.4vw,62px);line-height:1.1;font-weight:600;text-wrap:balance}
html[lang=ar] .page-hero h1{line-height:1.35}
.page-hero .button{background:var(--leaf);color:#0f2116}.page-hero .button::before{background:#c3ebb5}.page-hero .button .arrow{filter:none}
.ico-hero{width:68px;height:68px;color:var(--leaf);margin-bottom:24px;display:block}
html[lang=ar] .ico-hero{margin-inline-start:auto;margin-inline-end:0}
.page-hero .licence-panel{background:rgba(155,212,137,.08);border:1px solid var(--forest-line);border-inline-start:3px solid var(--leaf);color:#e4ece2;padding:34px;align-self:center}
main .page-hero .licence-panel .eyebrow{color:var(--leaf)}
.page-hero .licence-panel b{display:block;margin-top:6px;font:500 40px/1.2 Jost,sans-serif;color:#fff;direction:ltr}
html[lang=ar] .page-hero .licence-panel b{text-align:right}
.page-hero .licence-panel b::before{content:none}
.channel-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--forest-line);align-self:center;width:100%}
.channel-list li{border-bottom:1px solid var(--forest-line)}
.channel-list a{display:grid;grid-template-columns:34px minmax(0,1fr) 20px;gap:22px;align-items:center;padding:22px 14px;transition:background .35s}
html[lang=ar] .channel-list a{direction:rtl}
.channel-list a:hover,.channel-list a:focus-visible{background:rgba(155,212,137,.11)}
.channel-list svg{width:32px;height:32px;color:var(--leaf);transition:transform .45s var(--out)}
.channel-list a:hover svg{transform:scale(1.15) rotate(-6deg)}
.channel-list span{display:grid}.channel-list small{font-size:13px;color:var(--mist)}.channel-list b{font:500 22px/1.4 Jost,sans-serif;overflow-wrap:anywhere}
html[lang=ar] .channel-list b{text-align:right}
.channel-list .arrow{filter:invert(1)}
:focus-visible{outline-offset:3px}.page-hero :focus-visible{outline-color:var(--leaf)}
.service-rows{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:48px;border-top:1px solid var(--line)}
html[lang=ar] .service-rows{direction:rtl;text-align:right}
.service-rows li{border-bottom:1px solid var(--line)}
.service-rows a{display:grid;grid-template-columns:48px minmax(0,1fr) 20px;gap:20px;align-items:center;padding:24px 8px;height:100%;transition:background .3s}
.service-rows a:hover,.service-rows a:focus-visible{background:var(--paper)}
.service-rows .ico{color:var(--green)}
.row-text{display:grid}.row-text strong{font-weight:600;font-size:19px}.row-text span{color:var(--muted);font-size:15px}
.request-examples{display:flex;flex-wrap:wrap;gap:24px;justify-content:space-between;align-items:center;margin-bottom:40px}
html[lang=ar] .request-examples{direction:rtl}
.request-examples h2{max-width:22ch}
.ico-card{color:var(--green);margin-bottom:14px}
html[lang=ar] .ico-card{margin-inline-start:auto}
.service-card{transition:transform .45s var(--out),box-shadow .45s}
.service-card:hover,.service-card:focus-within{transform:translateY(-6px);box-shadow:0 26px 40px -30px rgba(16,36,26,.7)}
.service-image{overflow:hidden}.service-image img{transition:transform .9s var(--out)}
.service-card:hover .service-image img{transform:scale(1.055)}
.scope-mark{width:12px;height:12px;margin-top:10px;border:2px solid var(--green);transform:rotate(45deg);transition:background .3s,transform .45s var(--out)}
.scope-list article:hover .scope-mark{background:var(--green);transform:rotate(225deg)}
.faq-list summary{transition:color .25s}.faq-list summary:hover{color:var(--green)}
html[data-motion=on] .faq-list details[open]>p{animation:menu-in .4s var(--out)}

@media(max-width:1000px){
 .explorer-body{display:flex;flex-direction:column;align-items:stretch;gap:0}.explorer-stage{order:-1;flex:none;top:60px;height:clamp(230px,38svh,340px);min-height:0;z-index:5;margin-bottom:14px;box-shadow:0 14px 0 var(--forest)}.explorer-scene figcaption{padding:56px 16px 14px;gap:8px}.explorer-scene figcaption strong{font-size:19px}.explorer-scene figcaption span,.explorer-scene figcaption small{display:none}.explorer-list li{scroll-margin-top:420px}
 .assurance-grid,.coverage-grid,.profile-grid{grid-template-columns:1fr;gap:44px}
 .page-hero .page-hero-grid{grid-template-columns:1fr;min-height:0;gap:36px}
}
@media(max-width:700px){
 .studio-head{grid-template-columns:1fr;margin-bottom:36px}
 .fact-band dl{grid-template-columns:1fr}.fact-band dl>div{padding:16px 0;border:0;border-top:1px solid var(--forest-line)}.fact-band dl>div:first-child{border:0}
 .journey-line{grid-template-columns:1fr;gap:34px}
 .journey-line li{position:relative;padding-inline-start:80px;min-height:56px}.journey-node{position:absolute;inset-inline-start:0;top:0;margin:0}
 .journey-line::before,.journey-line::after{top:0;bottom:30px;height:auto;width:2px;inset-inline:27px auto}
 .journey-line::after{transform:scaleY(var(--p));transform-origin:top}
 .service-rows{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.studio *,.header *,.button,.button::before,.service-card{transition:none!important;animation:none!important}}
html[data-motion=off] :is(.studio *,.header *,.button,.button::before,.service-card){transition:none!important;animation:none!important}

/* Corrections found in rendered review */
.scope-mark{display:block;position:absolute;left:3px;top:11px}
html[lang=ar] .scope-list article{padding:0 35px 20px 0;direction:rtl}
html[lang=ar] .scope-mark{left:auto;right:3px}
main .licence-panel .eyebrow{display:block;font-size:15px;font-weight:600;letter-spacing:0;color:var(--green)}
main:has(>.coverage-section:last-child)+.site-footer{margin-top:0}
/* Keep all ten services and the scene inside a laptop screen */
@media(min-width:1001px){.explorer-row{min-height:58px;padding-block:7px;font-size:18px}.explorer-stage{height:min(600px,calc(100svh - 112px));min-height:440px;top:92px}.explorer .studio-head{margin-bottom:36px}}

/* Service pages: a connected workflow on dark ground, checked outputs and clearer questions. */
.service-value ul,.scope-boundary ul{list-style:none;padding:0;margin:0 0 20px}
.service-value li,.scope-boundary li{position:relative;padding:8px 0 8px 30px}
.service-value li::before,.scope-boundary li::before{content:"";position:absolute;left:3px;top:15px;width:11px;height:6px;border:solid var(--green);border-width:0 0 2px 2px;transform:rotate(-45deg)}
html[lang=ar] :is(.service-value,.scope-boundary) li{direction:rtl;text-align:right;padding:8px 30px 8px 0}
html[lang=ar] :is(.service-value,.scope-boundary) li::before{left:auto;right:3px}
.scope-boundary{padding:30px 34px;background:#dde4d8;border:0;margin-top:44px}
.scope-boundary li::before{width:8px;height:8px;border:2px solid var(--green);border-radius:50%;transform:none;top:14px}
main .service-workflow{counter-reset:none;position:relative;gap:28px}
#service-workflow{background:var(--forest);color:#f3f6ef}
#service-workflow h2,#service-workflow h3{color:#fff}
#service-workflow li{position:relative;border:0;padding:78px 0 0}
#service-workflow li p{color:var(--mist)}
#service-workflow .step-number{position:absolute;top:0;left:0;z-index:1;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;border:2px solid var(--leaf);background:var(--forest);color:var(--leaf);font:500 18px Jost,sans-serif;margin:0}
#service-workflow li::before{content:"";position:absolute;top:25px;left:52px;right:-28px;height:2px;background:var(--forest-line)}
#service-workflow li:last-child::before{display:none}
html[lang=ar] #service-workflow ol{direction:rtl}
html[lang=ar] #service-workflow .step-number{left:auto;right:0}
html[lang=ar] #service-workflow li::before{left:-28px;right:52px}
.faq-list summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:44px;cursor:pointer}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{content:"+";flex:none;display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:50%;font:300 22px/1 Jost,sans-serif;transition:transform .4s var(--out),background .3s,color .3s}
.faq-list details[open] summary::after{transform:rotate(45deg);background:var(--green);color:#fff}
html[lang=ar] .faq-list summary{direction:rtl}
.field-evidence .field-grid:has(>:only-child){grid-template-columns:minmax(0,620px)}
.field-photo img{transition:transform .9s var(--out)}.field-photo:hover img{transform:scale(1.045)}
.client-grid figure{transition:transform .4s var(--out),box-shadow .4s}.client-grid figure:hover{transform:translateY(-4px);box-shadow:0 18px 30px -24px rgba(16,36,26,.7)}
.site-footer{margin-top:0}

/* Forms: calmer fields, one reading direction, nothing touching. */
.request-form :is(input:not([type=checkbox]),select,textarea){background:#fff;border:1px solid #c6ccc0;border-radius:3px;transition:border-color .25s,box-shadow .25s}
.request-form :is(input:not([type=checkbox]),select,textarea):focus{border-color:var(--green);box-shadow:0 0 0 4px rgba(55,97,63,.14)}
.request-form input[type=checkbox]{width:20px;height:20px;accent-color:var(--green);flex:none}
html[lang=ar] .request-form .consent{direction:rtl;text-align:right}
.request-form input[type=file]{padding:14px;border-style:dashed;cursor:pointer}
.request-form input[type=file]::file-selector-button{font:inherit;font-size:14px;margin-inline-end:14px;padding:9px 16px;border:0;border-radius:3px;background:var(--green);color:#fff;cursor:pointer}
.request-form button[type=submit]{display:flex;justify-content:center;min-width:220px}
.request-form>a.text-link{display:table;margin-top:22px}
html[lang=ar] .request-form :is(button[type=submit],>a.text-link){margin-left:auto;margin-right:0}
.form-layout .request-form{border-top:3px solid var(--green);box-shadow:0 30px 60px -48px rgba(16,36,26,.65)}
.privacy-layout article,.reading article{scroll-margin-top:96px}
.filter-bar button{transition:background .3s,color .3s,transform .25s var(--out)}.filter-bar button:hover{transform:translateY(-2px)}
@media(max-width:700px){
 #service-workflow li{padding:0 0 0 72px;min-height:64px}#service-workflow li::before{top:52px;bottom:-28px;left:25px;right:auto;width:2px;height:auto}
 html[lang=ar] #service-workflow li{padding:0 72px 0 0}html[lang=ar] #service-workflow li::before{left:auto;right:25px}
 .page-hero .licence-panel{padding:24px}.page-hero .licence-panel b{font-size:32px}
}
@media(prefers-reduced-motion:reduce){.channel-list *,.field-photo img,.client-grid figure,.faq-list summary::after,.filter-bar button{transition:none!important}}
html[data-motion=off] :is(.channel-list *,.field-photo img,.client-grid figure,.faq-list summary::after,.filter-bar button){transition:none!important}
html[lang=ar] .page-hero.compact .intro-copy{margin-left:auto;margin-right:0}
.intake-form .field-grid>label:nth-child(3):last-child{grid-column:1/-1}
.work-section .filter-bar{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:34px}
.work-section .filter-bar button{flex:0 0 auto;min-height:44px;padding:8px 22px;border-radius:999px}
html[lang=ar] .work-section .filter-bar{direction:rtl}

/* Explorer: picture sits to the right in both languages; the button on it opens the chosen service. */
.explorer-body{direction:ltr}
html[lang=ar] .explorer-list,html[lang=ar] .explorer-scene figcaption{direction:rtl}
.explorer-scene figcaption .button{justify-self:start;margin-top:12px;background:var(--leaf);border-color:var(--leaf);color:var(--forest)}
.explorer-scene figcaption .button .arrow{filter:none}
.explorer-scene figcaption .button:focus-visible{outline-color:#fff}
.explorer.directory{padding-top:56px}
.explorer.directory .filter-bar{margin-bottom:28px}
.explorer.directory .filter-bar button{background:transparent;border:1px solid var(--forest-line);color:#e4ece2}
.explorer.directory .filter-bar button[aria-pressed=true]{background:var(--leaf);border-color:var(--leaf);color:var(--forest)}
.explorer-list li[hidden]{display:none}
.explorer-row .arrow{width:18px;height:18px}
.explorer-scene figcaption .button{display:inline-flex;align-items:center;gap:14px;width:auto;min-height:46px;padding:10px 22px;white-space:nowrap}
.explorer-scene figcaption .button .arrow{width:16px;height:16px;flex:none}

/* Nothing on the page reads below 12px; small links get a comfortable target. */
.preview-note,html[lang=ar] .preview-note,.visual figcaption,.page-hero .visual figcaption,.service-image span,.client-grid figcaption,html[lang=ar] .client-grid figcaption,.site-footer h2,.company-identifiers span,.company-identifiers small,.footer-base .motion-control,.service-jump a{font-size:max(12px,.75rem)}
html[lang=ar] .client-grid figcaption,html[lang=ar] .footer-base .motion-control,html[lang=ar] .service-jump a{font-size:13px}
.seo-breadcrumb a,.footer-contact-links a{display:inline-block;min-height:28px;padding-block:3px}
/* Photo viewer navigation */
.dialog-nav{display:flex;align-items:center;justify-content:center;gap:20px;padding-top:14px}
.dialog-nav[hidden]{display:none}
.dialog-nav button{font:inherit;min-width:104px;min-height:44px;padding:8px 18px;background:transparent;color:inherit;border:1px solid #8f9786;cursor:pointer}
.dialog-nav button:hover{background:#37613f;border-color:#37613f;color:#fff}
.dialog-nav span{min-width:64px;text-align:center;direction:ltr}
html[lang=ar] .dialog-nav{direction:rtl}
/* Not-found page keeps its actions on the reading side. */
html[lang=ar] .error-page{direction:rtl}
/* Keep the viewer's controls on screen below the photo. */
.photo-dialog figure img{max-height:calc(94vh - 250px)}

/* From small windows upward the picture stays beside the list, on the right. */
@media(min-width:480px) and (max-width:1000px){
 .explorer-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:start}
 .explorer-stage{order:0;top:76px;height:min(560px,calc(100svh - 150px));min-height:360px;margin:0;box-shadow:none}
 .explorer-row{grid-template-columns:26px minmax(0,1fr);gap:10px;padding:10px 8px;min-height:56px;font-size:15px;line-height:1.45}
 .explorer-row .ico{width:24px;height:24px}.explorer-row .arrow{display:none}
 .explorer-scene figcaption{padding:56px 14px 16px}.explorer-scene figcaption strong{font-size:17px;line-height:1.4}
 .explorer-scene figcaption .button{padding:9px 14px;gap:8px;font-size:14px;white-space:normal}
 .explorer-list li{scroll-margin-top:90px}
}
/* A narrow column shows the picture whole-width with its text underneath, instead of a tall crop. */
@media(min-width:480px) and (max-width:1000px){
 .explorer-stage{height:430px;min-height:0;background:#0b1a12}
 .explorer-scene{display:flex;flex-direction:column;background:#0b1a12}
 .explorer-scene img{height:auto;aspect-ratio:6/5;flex:none}
 .explorer-scene figcaption{position:static;padding:14px;gap:8px;background:none;align-content:start}
 .explorer-scene figcaption span{display:block;font-size:13px;line-height:1.55}
 .explorer-scene figcaption .button{margin-top:4px}
 .explorer-scene figcaption small{display:block;margin-top:2px}
}
/* Consultation and careers steps: the same connected path used on service pages, on a light ground. */
.process-section:not(#service-workflow) .process-grid{counter-reset:none;gap:28px}
.process-section:not(#service-workflow) .process-grid li{position:relative;border:0;padding:72px 0 0}
.process-section:not(#service-workflow) .step-number{position:absolute;top:0;left:0;z-index:1;display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:var(--green);color:#fff;font:500 17px Jost,sans-serif}
.process-section:not(#service-workflow) .process-grid li::before{content:"";position:absolute;top:23px;left:48px;right:-28px;height:2px;background:#b9c3b0}
.process-section:not(#service-workflow) .process-grid li:last-child::before{display:none}
html[lang=ar] .process-section:not(#service-workflow) .process-grid{direction:rtl}
html[lang=ar] .process-section:not(#service-workflow) .step-number{left:auto;right:0}
html[lang=ar] .process-section:not(#service-workflow) .process-grid li::before{left:-28px;right:48px}
@media(max-width:700px){
 .process-section:not(#service-workflow) .process-grid li{padding:0 0 0 68px;min-height:60px}
 .process-section:not(#service-workflow) .process-grid li::before{top:48px;bottom:-26px;left:23px;right:auto;width:2px;height:auto}
 html[lang=ar] .process-section:not(#service-workflow) .process-grid li{padding:0 68px 0 0}
 html[lang=ar] .process-section:not(#service-workflow) .process-grid li::before{left:auto;right:23px}
}
/* Privacy: headings in their own column, lined up with the page opening. */
body[data-page=privacy] .reading{max-width:var(--max)}
body[data-page=privacy] .reading article{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:16px 48px;align-items:start}
body[data-page=privacy] .reading h2{margin:0}
body[data-page=privacy] .reading article p{margin:0;max-width:70ch}
html[lang=ar] body[data-page=privacy] .reading article,html[lang=ar] body[data-page=privacy] .reading{direction:rtl}
@media(max-width:800px){body[data-page=privacy] .reading article{grid-template-columns:1fr}}
.field-open{font-size:max(12px,.75rem)}
.footer-contact>a[href^="mailto:"]{display:inline-block;min-height:28px;padding-block:3px}

/* Technologies, engineering path, company profile and branch coverage. */
.fact-band dd.fact-text{font-size:19px}
.tech{background:#fff}
.tech-group{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:20px 48px;padding:34px 0;border-top:1px solid var(--line)}
html[lang=ar] .tech-group{direction:rtl}
.tech-group h3{margin:0 0 8px;font-size:22px;line-height:1.4}.tech-intro p{margin:0;color:var(--muted);max-width:36ch}
.brand-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.brand-tile{position:relative;display:flex;flex-direction:column;justify-content:center;gap:6px;min-height:126px;padding:22px;border:1px solid var(--line);background:var(--paper);transition:border-color .25s,transform .4s var(--out)}
html[data-motion=on] .brand-tile:hover{transform:translateY(-4px);border-color:var(--green)}
.brand-tile strong{font:600 23px/1.2 Jost,sans-serif;color:var(--forest);text-align:left;overflow-wrap:anywhere}html[lang=ar] .brand-tile strong{text-align:right}
.brand-tile img{max-width:100%;height:48px;object-fit:contain;object-position:left}
.brand-tile span{font-size:14px;color:var(--muted)}
.system-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px;align-content:flex-start}
.system-list li{padding:11px 18px;border:1px solid var(--line);background:var(--paper);font-size:15px}
.trademarks{margin:18px 0 0;max-width:90ch;font-size:13px;line-height:1.8;color:var(--muted)}
.journey .studio-head{display:grid}
.journey-line.long{grid-template-columns:repeat(3,minmax(0,1fr));gap:44px 36px}
.journey-line.long::before,.journey-line.long::after{display:none}
.journey-line.long li{position:relative}
.journey-line.long li::before{content:"";position:absolute;top:27px;inset-inline:68px -24px;height:2px;background:var(--green);transform:scaleX(var(--p,1));transform-origin:left}
html[lang=ar] .journey-line.long li::before{transform-origin:right}
.journey-line.long li:nth-child(3n)::before{inset-inline-end:0}
.journey-line.long h3{font-size:21px}
.profile-show{background:var(--paper)}
.profile-show-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:64px;align-items:center}
html[lang=ar] .profile-show-grid{direction:rtl}
.profile-cover{display:block;background:#fff;box-shadow:14px 14px 0 var(--forest),0 24px 50px rgba(16,36,26,.18);transition:transform .5s var(--out)}
.profile-cover img{display:block;width:100%;height:auto}
html[data-motion=on] .profile-cover:hover{transform:translate(-4px,-6px)}
.profile-contents{list-style:none;margin:24px 0 30px;padding:0}.profile-contents li{padding:12px 0;border-top:1px solid var(--line)}
.profile-actions{display:flex;flex-wrap:wrap;gap:16px 26px;align-items:center}.profile-actions small{flex-basis:100%;font-size:13px;color:var(--muted)}
html[lang=ar] .profile-actions small{text-align:right}
.strengths{background:#fff}
.strength-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 56px}
html[lang=ar] .strength-list{direction:rtl}
.strength-list li{padding:28px 0;border-top:2px solid var(--forest)}.strength-list h3{margin:0 0 8px;font-size:21px}.strength-list p{margin:0;color:var(--muted);max-width:46ch}
.coverage-section .branch-list{list-style:none;margin:26px 0 32px;padding:0;display:grid;gap:12px}
.branch-list li{display:flex;gap:14px;align-items:baseline}.branch-list li::before{content:"";flex:none;width:16px;height:2px;background:var(--leaf);transform:translateY(-4px)}
.nav-actions .profile-link{display:flex;align-items:center;justify-content:center;min-height:44px;padding:6px 12px;border:1px solid var(--green);color:var(--green);font-size:14px;font-weight:500;text-align:center;line-height:1.3}
.nav-actions .profile-link:hover{background:var(--green);color:#fff}
html[lang=ar] .nav-actions .profile-link{direction:rtl;font-size:15px}
.nav-actions{grid-template-columns:150px 52px;justify-content:end}
.send-choices{display:flex;flex-wrap:wrap;gap:12px;margin-top:6px}
.request-form .button.secondary{background:transparent;color:var(--green);border-color:var(--green)}.request-form .button.secondary::before{display:none}
@media(max-width:1000px){.tech-group,.profile-show-grid{grid-template-columns:1fr;gap:30px}.journey-line.long{grid-template-columns:repeat(2,minmax(0,1fr))}.journey-line.long li:nth-child(3n)::before{inset-inline-end:-24px}.journey-line.long li:nth-child(2n)::before{inset-inline-end:0}}
@media(max-width:700px){.brand-list,.strength-list,.journey-line.long{grid-template-columns:1fr}.brand-tile{min-height:96px}.journey-line.long{gap:30px}.journey-line.long li{padding-inline-start:80px;min-height:56px}.journey-line.long li::before{top:60px;bottom:-26px;inset-inline:27px auto;width:2px;height:auto;transform:scaleY(var(--p,1));transform-origin:top}.journey-line.long li:last-child::before{display:none}.send-choices .button{width:100%}.nav-actions .profile-link{font-size:12px;padding:6px 8px}.nav-actions{grid-template-columns:auto 52px;gap:8px}}

/* Safety, confidentiality and applied AI. */
.commitments{background:#fff}
.commitment-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:64px;align-items:start}
html[lang=ar] .commitment-grid{direction:rtl}
.commitments h2{font-size:clamp(28px,3vw,42px)}
.commitment-grid>div:first-child>p{max-width:48ch;margin:20px 0}
.commitments h3{font-size:18px;margin:26px 0 12px}
.values-line{color:var(--muted);margin-top:24px}
.privacy-list{list-style:none;margin:24px 0 0;padding:0}.privacy-list li{padding:18px 0;border-top:1px solid var(--line)}.privacy-list h3{margin:0 0 4px;font-size:19px}.privacy-list p{margin:0;color:var(--muted)}
.ai-band{background:var(--forest);color:#f3f6ef}
.ai-band .studio-head p{color:var(--mist)}
.ai-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px}
.ai-columns.single{grid-template-columns:1fr}.ai-columns.single ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:48px}
html[lang=ar] .ai-columns{direction:rtl}
.ai-columns h3{margin:0 0 14px;font-size:22px;color:var(--leaf)}
.ai-columns ul{list-style:none;margin:0;padding:0}.ai-columns li{padding:15px 0;border-top:1px solid var(--forest-line);font-size:17px}
.ai-note{margin:30px 0 0;font-size:13px;color:var(--mist);max-width:80ch}
@media(max-width:1000px){.commitment-grid,.ai-columns{grid-template-columns:1fr;gap:40px}}
@media(max-width:700px){.ai-columns.single ul{grid-template-columns:1fr}}

/* Header profile link on narrow screens moves into the menu. */
.header nav .nav-profile{display:none}
@media(max-width:900px){.nav-actions .profile-link{display:none}.nav-actions{grid-template-columns:52px}.header nav.open .nav-profile{display:block;font-weight:600;color:var(--green)}}
/* On service pages the engineering path stays light so it does not merge with the dark band above it. */
#service-workflow.journey{background:var(--paper);color:var(--ink,#26332b)}
#service-workflow.journey :is(h2,h3){color:var(--ink,#26332b)}
#service-workflow.journey .studio-head p,#service-workflow.journey li p{color:var(--muted)}
#service-workflow.journey li{padding-top:0}
#service-workflow.journey .journey-line.long li::before{top:27px;left:auto;right:auto;inset-inline:68px -24px;background:var(--green)}
#service-workflow.journey .journey-line.long li:nth-child(3n)::before{inset-inline-end:0}
#service-workflow.journey .journey-line.long li:last-child::before{display:none}
@media(max-width:1000px){#service-workflow.journey .journey-line.long li:nth-child(3n)::before{inset-inline-end:-24px}#service-workflow.journey .journey-line.long li:nth-child(2n)::before{inset-inline-end:0}}
@media(max-width:700px){#service-workflow.journey .journey-line.long li{padding-inline-start:80px}#service-workflow.journey .journey-line.long li::before{top:60px;bottom:-26px;inset-inline:27px auto;height:auto}}

/* Related services, directly under a service opening. */
.related-top{padding-block:22px 26px;border-top:1px solid var(--line)}
.related-top h2{font-size:18px;margin:0 0 14px;font-weight:600}
.related-top ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.related-top a{display:grid;grid-template-columns:104px minmax(0,1fr);height:100%;background:var(--paper);border:1px solid var(--line);color:inherit;text-decoration:none;transition:border-color .25s var(--out),transform .25s var(--out)}
.related-top a:hover,.related-top a:focus-visible{border-color:var(--green);transform:translateY(-2px)}
.related-top img{width:100%;height:100%;min-height:92px;object-fit:cover}
.related-top span{display:flex;flex-direction:column;justify-content:center;gap:4px;padding:12px 14px}
.related-top strong{font-size:16px;line-height:1.35}
.related-top small{font-size:13px;line-height:1.5;color:var(--muted)}
/* Warehouse maintenance. */
.warehouse-care{background:var(--forest);color:#eef4ec}
.care-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:18px 56px;align-items:end;margin-bottom:34px}
.warehouse-care h2{margin:0;color:#fff}
.care-head p{margin:0;color:var(--mist)}
.care-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--forest-line)}
.care-list li{background:var(--forest);padding:24px 22px}
.care-list h3{margin:0 0 10px;font-size:19px;color:var(--leaf)}
.care-list p{margin:0;font-size:15px;line-height:1.75;color:#dbe5da}
.care-list li.care-ask{background:#1b3526}
.care-ask .button{margin-top:18px;background:#eef4ec;color:var(--forest);border-color:#eef4ec}
@media(max-width:960px){.related-top ul,.care-list{grid-template-columns:repeat(2,minmax(0,1fr))}.care-head{grid-template-columns:1fr}}
@media(max-width:640px){.related-top ul{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;padding-bottom:6px}.related-top li{flex:0 0 82%;scroll-snap-align:start}.care-list{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.related-top a{transition:none}.related-top a:hover{transform:none}}
html[lang=ar] .related-top,html[lang=ar] .warehouse-care{direction:rtl;text-align:right}
/* The full client list: a compact wall. Names stay available to screen readers; each logo carries its own. */
.clients-section .client-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:10px}
.clients-section .client-grid figure{min-height:92px;height:auto;padding:12px}
.clients-section .client-grid figure img{height:60px;max-height:60px}
.clients-section .client-grid figcaption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:-1px}
.clients-section .client-grid figure{position:relative}
@media(max-width:1100px){.clients-section .client-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:800px){.clients-section .client-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.clients-section .client-grid figure{min-height:70px;padding:8px}.clients-section .client-grid figure img{height:44px;max-height:44px}}
@media(max-width:480px){.clients-section .client-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Seven main links (with "Our clients") stay on one line on desktop. */
@media(min-width:901px){.header nav#navigation{grid-template-columns:repeat(7,auto);justify-content:space-evenly;gap:clamp(8px,1.2vw,20px)}.header nav#navigation a{width:auto;min-width:0;flex:0 1 auto;white-space:nowrap;padding-inline:0}}
@media(min-width:901px) and (max-width:1150px){.header .nav-row{grid-template-columns:150px 1fr auto;gap:12px}.header nav#navigation{gap:8px}.header nav#navigation a,html[lang=ar] .header nav#navigation a{font-size:12px}.header .brand,.header .brand img{max-width:150px}}

/* The home selection of twelve fills two even rows. */
@media(min-width:701px){.clients-section.clients-preview .client-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}

/* Mobile opening: unobstructed image first, readable content below it. */
@media(max-width:700px){
 .threshold-hero{display:flex;flex-direction:column;height:auto;min-height:0;background:var(--paper)}
 .threshold-hero picture{position:relative;inset:auto;order:0;z-index:0;display:block;width:100%;height:auto;aspect-ratio:3/2;flex:none;overflow:hidden}
 .threshold-hero picture img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transform:none!important}
 .threshold-hero .threshold-opening{order:1;position:relative;width:calc(100% - 36px);height:auto;padding-block:24px 26px}
 .threshold-hero .threshold-opening-copy{width:100%;max-width:none;padding:0!important;border:0;border-radius:0;background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
 .threshold-opening h1,html[lang=ar] .threshold-opening h1{font-size:30px;line-height:1.28;margin:0 0 14px;letter-spacing:0;text-wrap:balance}
 .threshold-opening p,html[lang=ar] .threshold-opening p{font-size:16px;line-height:1.7;margin:0 0 18px;max-width:none}
 .threshold-opening .actions{flex-direction:row;align-items:center;justify-content:flex-start;gap:12px 18px}
 .threshold-opening .actions .button{width:auto;min-height:46px;padding:10px 16px;font-size:14px}
 .threshold-opening .actions .text-link{width:auto;min-height:44px;font-size:14px;white-space:nowrap}
 .threshold-opening .hero-company-profile{display:flex;flex-direction:column;align-items:flex-start;margin-top:20px;padding:15px 0 0;gap:4px;border-top:1px solid var(--line);background:none;max-width:none}
 .threshold-opening .profile-heading,html[lang=ar] .threshold-opening .profile-heading{font-size:14px;display:flex;flex-wrap:wrap;align-items:center;gap:10px}
 .threshold-opening .profile-heading small{margin:0;font-size:10px}
 .threshold-opening .profile-links{display:flex;flex-wrap:wrap;gap:4px 18px}
 .threshold-opening .profile-links a,html[lang=ar] .threshold-opening .profile-links a{font-size:13px;min-height:44px}
}

/* Keep language and menu controls inside the smallest phone widths. */
@media(max-width:400px){
 .header .nav-row{grid-template-columns:minmax(0,1fr) auto 44px;gap:8px}
 .header .brand,.header .brand img{width:clamp(115px,38vw,145px);max-width:100%}
 .header .nav-actions{grid-template-columns:44px;width:44px;gap:0}
 .header .language{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding-inline:0;font-size:13px}
}
