/* DNM original v6 / surgical visual refinement — 2026-10-31.
   No replacement layout or backend changes. */
:root{--dnm-cobalt:#213A8F;--dnm-ember:#EE7203;--dnm-ink:#102449}
html{scroll-behavior:smooth}
body{overflow-wrap:break-word}
h1,h2,h3,h4,p{margin-block-start:0;text-wrap:pretty}
html[lang="ar"] :is(.hero h1,.dnm-content-hero .display-heading,.dnm-hero-subtitle,.dnm-service-intro h2){letter-spacing:0!important}
/* Larger, genuinely legible editorial hierarchy across desktop and mobile. */
html[lang="ar"] .hero h1{font-size:clamp(46px,5.8vw,82px)!important;line-height:1.36!important;max-width:1050px}
.hero .hero-description{font-size:clamp(17px,1.65vw,21px)!important;line-height:1.95!important;max-width:690px;margin-top:25px!important}
:where(.section-summary,.about-copy>p,.about-lead,.work-editorial-summary){line-height:1.92!important}
:is(.display-heading,.dnm-service-intro h2){text-wrap:balance;overflow-wrap:normal}
/* Fixed origin button fill: ALWAYS emerges from the bottom, irrespective of pointer entry. */
body :is(a.dnm-wave,button.dnm-wave,.dnm-interior .dnm-service-actionbar a){
 --dnm-base:#EE7203; --dnm-rise:#213A8F;
 position:relative!important;isolation:isolate!important;overflow:hidden!important;
 background:var(--dnm-base)!important; color:#fff!important;
 border:0!important;text-decoration:none!important;
 transition:color .33s ease,box-shadow .28s ease,transform .28s ease!important;
 -webkit-tap-highlight-color:transparent;
}
body :is(a.dnm-wave,button.dnm-wave,.dnm-interior .dnm-service-actionbar a)::before{
 content:""!important;position:absolute!important;z-index:-1!important;
 inset:-10% -8% -5%!important;pointer-events:none!important;
 background:var(--dnm-rise)!important;
 clip-path:none!important;border-radius:48% 52% 0 0 / 18% 22% 0 0!important;
 transform:translate3d(0,110%,0)!important;
 transform-origin:bottom center!important;
 transition:transform .72s cubic-bezier(.2,.8,.24,1)!important;
 will-change:transform;
}
body :is(a.dnm-wave,button.dnm-wave,.dnm-interior .dnm-service-actionbar a):is(:hover,:focus-visible)::before{
 transform:translate3d(0,0,0)!important;
}
body :is(a.dnm-wave,button.dnm-wave,.dnm-interior .dnm-service-actionbar a):is(:hover,:focus-visible){
 background:var(--dnm-base)!important;color:#fff!important;transform:translateY(-2px)!important;
 box-shadow:0 9px 25px rgba(15,37,88,.20)!important;
}
body :is(a.dnm-wave,button.dnm-wave,.dnm-interior .dnm-service-actionbar a)>*{position:relative;z-index:1}
body :is(.outline-cta.dnm-wave,.dnm-secondary-cta.dnm-wave,.language-toggle.dnm-wave){--dnm-base:#213A8F;--dnm-rise:#EE7203}
body :is(.nav-project.dnm-wave,.solid-cta.dnm-wave,.teaser-cta.dnm-wave){--dnm-base:#EE7203;--dnm-rise:#213A8F}
body .site-header :is(.nav-project.dnm-wave,.language-toggle.dnm-wave){color:#fff!important;border:0!important}
body .site-header .language-toggle.dnm-wave{--dnm-base:#203e7a;--dnm-rise:#EE7203;padding:10px 12px;border-radius:10px}
body .brief-form-area .form-next.dnm-wave{--dnm-base:#EE7203;--dnm-rise:#213A8F;color:#fff!important}
body .brief-form-area .form-prev.dnm-wave{--dnm-base:#213A8F;--dnm-rise:#EE7203;color:#fff!important}
body :is(a.dnm-wave,button.dnm-wave,.dnm-interior .dnm-service-actionbar a):focus-visible{outline:3px solid #EE7203!important;outline-offset:4px!important}
/* Cards: no floating orange tick, only full-bleed photo, overlaid title + subtle gray divider. */
.expertise .expertise-grid>a.expertise-item>h3::before{display:none!important;content:none!important}
.expertise .expertise-grid>a.expertise-item>.service-card-foot{border-top:1px solid rgba(189,201,218,.62)!important}
.expertise .expertise-grid>a.expertise-item>.service-preview::after{
 background:linear-gradient(180deg,rgba(4,14,33,.01) 0%,rgba(4,14,33,.02) 35%,rgba(4,14,33,.37) 61%,rgba(4,14,33,.89) 100%)!important
}
.expertise .expertise-grid>a.expertise-item>h3{margin-bottom:8px!important}
.expertise .expertise-grid>a.expertise-item>p{line-height:1.8!important}
/* Editorial service hero: service positioning and core proposition are both bold and unmistakable. */
.dnm-interior .dnm-content-hero{min-height:clamp(620px,58vw,770px);align-items:end}
.dnm-interior .dnm-content-hero>.container{padding-top:110px;padding-bottom:80px}
.dnm-interior .dnm-content-hero>.container .dnm-breadcrumb{display:inline-flex;align-items:center;gap:12px;
 padding:12px 17px;margin:0 0 32px;background:rgba(8,25,55,.56);color:#fff;
 border-radius:10px;font-size:16px;line-height:1.55;text-decoration:none;backdrop-filter:blur(6px)}
.dnm-interior .dnm-content-hero>.container .dnm-breadcrumb:hover{color:#ffb273;text-decoration:none}
.dnm-interior .dnm-hero-subtitle,
.dnm-interior .dnm-content-hero .display-heading{
 font-family:'Alexandria','IBM Plex Sans Arabic',sans-serif!important;
 font-size:clamp(35px,4.5vw,61px)!important;
 line-height:1.45!important;
 font-weight:700!important;
 letter-spacing:0!important;
 max-width:990px!important;
 text-wrap:balance!important;
 overflow-wrap:normal!important;
}
.dnm-interior .dnm-hero-subtitle{color:#ffab69!important;margin:0 0 8px!important}
.dnm-interior .dnm-content-hero .display-heading{color:#fff!important;margin:0!important}
html[lang="en"] .dnm-interior :is(.dnm-hero-subtitle,.dnm-content-hero .display-heading){font-family:'Manrope',sans-serif!important;line-height:1.19!important}
.dnm-interior .dnm-content-hero p.dnm-intro{font-size:clamp(17px,1.65vw,21px)!important;line-height:1.95!important;margin-top:24px!important;max-width:860px}
.dnm-content-hero::after{background:linear-gradient(0deg,rgba(5,18,42,.95) 0%,rgba(5,18,42,.65) 52%,rgba(5,18,42,.10) 100%)}
/* Service details without white cards, dots, or AI-like numbered lists. */
.dnm-interior .dnm-details{background:#f1f4f8!important}
.dnm-service-intro__eyebrow{display:block;color:#213A8F!important;font-family:'Alexandria','IBM Plex Sans Arabic',sans-serif!important;font-size:clamp(23px,2.5vw,34px)!important;line-height:1.5!important;margin:0 0 24px!important;letter-spacing:0!important}
html[lang="en"] .dnm-service-intro__eyebrow{font-family:'Manrope',sans-serif!important}
.dnm-service-intro h2{font-size:clamp(30px,3.8vw,50px)!important;line-height:1.5!important}
.dnm-service-intro>p:last-child{font-size:clamp(17px,1.45vw,20px)!important;line-height:1.95!important}
.dnm-service-accordions{gap:0!important;max-width:1150px}
.dnm-service-accordion,.dnm-service-accordion[open]{background:transparent!important;border:0!important;
 border-bottom:1px solid #cbd6e5!important;border-radius:0!important;box-shadow:none!important}
.dnm-service-accordion:first-child{border-top:1px solid #cbd6e5!important}
.dnm-service-accordion summary{padding:clamp(25px,3.3vw,43px) clamp(8px,1vw,14px)!important}
.dnm-service-accordion__heading strong{font-size:clamp(22px,2.6vw,34px)!important;line-height:1.55!important;color:#10295a!important;overflow-wrap:normal}
.dnm-service-accordion__subtitle{font-size:clamp(16px,1.55vw,20px)!important;line-height:1.85!important;max-width:750px;color:#485f7e}
.dnm-service-accordion__icon{width:52px!important;height:52px!important;flex-basis:52px!important;border-radius:50%!important;background:#213A8F}
.dnm-service-accordion__body{padding:0 clamp(8px,1vw,14px) clamp(28px,3vw,42px)!important}
.dnm-service-accordion__body>p{font-size:clamp(17px,1.7vw,21px)!important;line-height:1.98!important;max-width:850px}
.dnm-flow-grid,.dnm-output-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;border-block:1px solid #d9e1ec}
.dnm-flow-cell{display:flex!important;align-items:flex-start!important;gap:17px!important;min-height:126px!important;
 border:0!important;border-radius:0!important;background:transparent!important;
 padding:clamp(19px,2.8vw,34px) clamp(8px,1.9vw,25px)!important;
 box-shadow:none!important}
.dnm-flow-cell:nth-child(odd){border-inline-end:1px solid #d9e1ec!important}
.dnm-flow-cell:nth-child(-n+2){border-bottom:1px solid #d9e1ec!important}
.dnm-diagram-icon{flex:0 0 54px;display:grid;place-items:center;width:54px;height:54px;
 background:#e3eaf6;color:#213A8F;border-radius:15px}
.dnm-flow-cell p{font-size:clamp(16px,1.55vw,20px)!important;line-height:1.85!important;color:#254165!important;margin:0!important}
/* One global CTA system for service pages: filled navy/orange buttons, no outline. */
.dnm-interior .dnm-service-actionbar{gap:16px!important;align-items:stretch}
.dnm-interior .dnm-service-actionbar a{border-radius:12px!important;border:none!important;padding:16px 27px!important;
 min-height:64px!important;font-size:clamp(17px,1.45vw,20px)!important;line-height:1.6!important;font-weight:700!important}
.dnm-interior .dnm-service-actionbar .solid-cta{--dnm-base:#EE7203;--dnm-rise:#213A8F}
.dnm-interior .dnm-service-actionbar .dnm-secondary-cta{--dnm-base:#213A8F;--dnm-rise:#EE7203}
/* Related imagery: preserve actual images, expose photograph above copy. */
.dnm-interior .dnm-related{background:#e8edf5}
.dnm-interior .dnm-related-list>a.dnm-related-card{min-height:355px;border-radius:18px}
.dnm-related-card::after{background:linear-gradient(0deg,rgba(3,16,38,.9) 0%,rgba(3,16,38,.3) 40%,transparent 75%)!important}
.dnm-related-card__content{padding:clamp(19px,2.7vw,28px)!important;gap:7px!important}
.dnm-related-card__content strong{font-size:clamp(21px,1.8vw,25px)!important;line-height:1.55!important}
.dnm-related-card__arrow.cta-symbol{width:45px;height:45px;background:#213A8F!important;border:none;border-radius:50%!important;
 color:#fff;display:flex;align-items:center;justify-content:center; margin:15px 0 0!important}
.dnm-related-card__arrow.cta-symbol svg{width:26px;height:24px}
.dnm-related-card:hover .dnm-related-card__arrow.cta-symbol{background:#EE7203!important}
/* Actual client assets; allow logos to be seen. Do not replace them with simulated client brands. */
#clients .client-block,.client-track .client-block{width:270px!important;flex-basis:270px!important;height:160px!important;
 padding:14px 18px!important;display:flex!important;align-items:center!important;justify-content:center!important;
 background:#fff!important}
#clients .client-block img,.client-track .client-block img{width:auto!important;height:auto!important;
 max-width:225px!important;max-height:117px!important;object-fit:contain!important;opacity:1!important;filter:none!important}
#clients .client-marquee{padding-block:18px}
/* Mobile: no collision or clipped headings */
@media(max-width:750px){
 html[lang="ar"] .hero h1{font-size:clamp(36px,9vw,45px)!important;line-height:1.46!important}
 .hero .hero-description{font-size:16px!important;line-height:1.95!important}
 .dnm-interior .dnm-content-hero{min-height:590px}
 .dnm-interior .dnm-content-hero>.container{padding-top:86px;padding-bottom:55px}
 .dnm-interior .dnm-hero-subtitle,.dnm-interior .dnm-content-hero .display-heading{font-size:clamp(29px,7.7vw,42px)!important;line-height:1.55!important}
 .dnm-service-intro__eyebrow{font-size:24px!important}
 .dnm-service-accordion__heading strong{font-size:22px!important}
 .dnm-service-accordion__subtitle{font-size:16px!important}
 .dnm-service-accordion__icon{width:42px!important;height:42px!important;flex-basis:42px!important}
 .dnm-flow-grid,.dnm-output-grid{grid-template-columns:1fr!important}
 .dnm-flow-cell{min-height:90px!important;border-inline-end:0!important;border-bottom:1px solid #d9e1ec!important;padding:20px 5px!important}
 .dnm-flow-cell:last-child{border-bottom:0!important}
 .dnm-interior .dnm-related-list>a.dnm-related-card{min-height:305px!important}
 #clients .client-block,.client-track .client-block{width:190px!important;flex-basis:190px!important;height:132px!important}
 #clients .client-block img,.client-track .client-block img{max-width:163px!important;max-height:99px!important}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}
 body :is(a.dnm-wave,button.dnm-wave,.dnm-interior .dnm-service-actionbar a)::before{transition:none!important}
 body :is(a.dnm-wave,button.dnm-wave,.dnm-interior .dnm-service-actionbar a){transition:none!important}}

/* Photography visibility: keep source images discoverable, while guarding white copy contrast. */
.dnm-interior .dnm-content-hero>img{filter:brightness(1.14) saturate(1.07)!important;opacity:1!important;object-position:center 48%}
.dnm-interior .dnm-content-hero::after{background:linear-gradient(270deg,rgba(4,16,39,.92) 0%,rgba(4,16,39,.72) 43%,rgba(4,16,39,.17) 100%),linear-gradient(0deg,rgba(4,16,39,.58) 0%,transparent 72%)!important}
@media(max-width:750px){.dnm-interior .dnm-content-hero::after{background:linear-gradient(0deg,rgba(4,16,39,.91) 0%,rgba(4,16,39,.74) 58%,rgba(4,16,39,.27) 100%)!important}}
