/* DAR NABA — V6 / approved visual design 2026-10-27.
   Frontend-only changes; does not modify the API, permissions or editor. */
:root{--dnm-navy:#102a55;--dnm-orange:#EE7203;--dnm-surface:#06172F}
body{font-family:'Manrope','IBM Plex Sans Arabic',sans-serif!important;font-size:17px;line-height:1.7}
html[lang="ar"] body{font-family:'IBM Plex Sans Arabic','Manrope',sans-serif!important}
html[lang="ar"] :is(h1,h2,h3,h4,.display-heading,.spectrum-feature-title,.brief-teaser h2,.footer-column h3){font-family:'Alexandria','IBM Plex Sans Arabic',sans-serif!important;letter-spacing:0!important}
html[lang="en"] :is(h1,h2,h3,h4,.display-heading,.spectrum-feature-title,.brief-teaser h2,.footer-column h3){font-family:'Manrope',sans-serif!important}
:where(.section-summary,.work-editorial-summary,.footer-about>p,.footer-positioning,.about-copy>p,.impact-heading>p,.group-top>p){font-size:clamp(16px,1.5vw,18px)!important;line-height:1.85!important}
:where(.section-summary,.work-editorial-summary,.group-top>p){color:inherit}
:where(.site-header .desktop-nav a,.site-header .mobile-nav a,.site-header .nav-project,.site-header .language-toggle){font-size:16px!important;font-weight:600!important;letter-spacing:0!important;opacity:1!important}
.site-header .nav-inner{min-height:80px}
.site-header .nav-project{min-height:47px!important;font-size:16px!important;padding:10px 14px!important}
.site-header .nav-menu,.site-header .language-toggle{min-width:44px;min-height:44px!important}
.site-header .mobile-nav a{font-size:17px!important;line-height:1.55}
:is(.footer-column>a,.footer-column>span,.footer-about p,.footer-bottom>span,.dnm-legal-link a){font-size:clamp(15px,1.2vw,16px)!important;line-height:1.8!important;letter-spacing:0!important}
.footer-column h3{font-size:17px!important;letter-spacing:0!important}
:is(.label,.dnm-eyebrow,.hero-kicker){font-size:14px!important;font-weight:700!important;letter-spacing:.07em!important}
html[lang="ar"] :is(.label,.dnm-eyebrow,.hero-kicker){letter-spacing:0!important}
.hero h1{font-size:clamp(64px,5.7vw,76px)!important;line-height:1.12!important;font-weight:700!important}
html[lang="ar"] .hero h1{font-size:clamp(57px,5.8vw,76px)!important;line-height:1.22!important}
.display-heading, .expertise .display-heading,.work-head .display-heading{font-size:clamp(40px,4.0vw,48px)!important;line-height:1.19!important;font-weight:700!important;letter-spacing:-.035em!important}
html[lang="ar"] :is(.display-heading,.expertise .display-heading,.work-head .display-heading){line-height:1.33!important;letter-spacing:0!important}
:where(.footer a,.site-header a,.site-header button){-webkit-tap-highlight-color:transparent}

/* A single, premium full-bleed treatment for all six service cards. */
.expertise .expertise-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:clamp(16px,1.8vw,24px)!important;align-items:stretch!important;border:0!important}
.expertise .expertise-grid > a.expertise-item,
.expertise .expertise-grid > a.expertise-item:hover{
  position:relative!important;isolation:isolate!important;overflow:hidden!important;
  display:flex!important;flex-direction:column!important;justify-content:flex-end!important;
  min-width:0!important;min-height:435px!important;height:auto!important;
  padding:0!important;margin:0!important;
  background:#06172f!important;color:#fff!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:20px!important;box-shadow:0 14px 34px rgba(13,34,72,.14)!important;
  text-align:start!important;text-decoration:none!important;
  transition:transform .35s ease,box-shadow .35s ease!important
}
.expertise .expertise-grid > a.expertise-item::before{content:none!important}
.expertise .expertise-grid > a.expertise-item:is(:hover,:focus-visible){transform:translateY(-4px)!important;box-shadow:0 25px 52px rgba(13,34,72,.23)!important}
.expertise .expertise-grid > a.expertise-item > .service-preview,
.expertise .expertise-grid > a.expertise-item > .service-preview:hover{
  position:absolute!important;inset:0!important;z-index:0!important;display:block!important;
  width:100%!important;height:100%!important;min-height:100%!important;max-height:none!important;
  padding:0!important;margin:0!important;flex:none!important;border:0!important;
  border-radius:0!important;background:#06172F!important;pointer-events:none!important;overflow:hidden!important
}
.expertise .expertise-grid > a.expertise-item > .service-preview::before{content:none!important}
.expertise .expertise-grid > a.expertise-item > .service-preview::after{
  content:""!important;position:absolute!important;inset:0!important;z-index:2!important;
  background:linear-gradient(180deg,rgba(4,14,33,.04) 2%,rgba(4,14,33,.09) 29%,rgba(4,14,33,.44) 48%,rgba(3,14,33,.84) 72%,rgba(3,13,31,.98) 100%)!important;
  pointer-events:none!important
}
.expertise .expertise-grid > a.expertise-item > .service-preview img,
.expertise .expertise-grid > a.expertise-item > .service-preview-photo img{
  position:absolute!important;inset:0!important;display:block!important;opacity:.99!important;
  width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;
  object-fit:cover!important;object-position:center!important;
  filter:none!important;transform:scale(1)!important;
  transition:transform .65s cubic-bezier(.2,.8,.3,1)!important
}
.expertise .expertise-grid > a.expertise-item:is(:hover,:focus-visible) > .service-preview img{transform:scale(1.047)!important}
.expertise .expertise-grid > a.expertise-item > h3{
  position:relative!important;z-index:3!important;flex:none!important;
  margin:0 25px 9px!important;padding:0!important;
  font-family:'Manrope',sans-serif!important;font-size:clamp(22px,1.9vw,26px)!important;
  font-weight:700!important;line-height:1.35!important;letter-spacing:-.025em!important;
  color:#fff!important;text-align:start!important;text-shadow:0 2px 14px rgba(0,0,0,.3)!important
}
html[lang="ar"] .expertise .expertise-grid > a.expertise-item > h3{font-family:'Alexandria','IBM Plex Sans Arabic',sans-serif!important;letter-spacing:0!important;font-size:clamp(21px,1.8vw,24px)!important;line-height:1.65!important}
.expertise .expertise-grid > a.expertise-item > h3::before{
  content:""!important;display:block!important;width:33px!important;height:4px!important;
  margin:0 0 16px!important;border-radius:9px!important;background:#EE7203!important
}
.expertise .expertise-grid > a.expertise-item > p{
  position:relative!important;z-index:3!important;flex:none!important;
  margin:0 25px 16px!important;padding:0!important;
  color:#e2eaf5!important;font-size:clamp(16px,1.25vw,17px)!important;
  font-weight:400!important;line-height:1.72!important;text-align:start!important;
  display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;
  overflow:hidden!important;text-shadow:0 2px 12px rgba(0,0,0,.3)!important
}
.expertise .expertise-grid > a.expertise-item > .service-card-foot{
  position:relative!important;z-index:3!important;flex:none!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  margin:0 25px 24px!important;padding:11px 0 0!important;min-height:51px!important;
  font-size:15px!important;font-weight:700!important;color:#fff!important;
  border-top:1px solid rgba(255,255,255,.3)!important;gap:12px!important
}
.expertise .expertise-grid > a.expertise-item > .service-card-foot .cta-symbol{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:44px!important;height:44px!important;flex:0 0 44px!important;
  color:#fff!important;border:1px solid rgba(255,255,255,.55)!important;
  border-radius:50%!important;background:rgba(10,27,54,.38)!important;transition:background .25s,color .25s!important
}
.expertise .expertise-grid > a.expertise-item > .service-card-foot .cta-symbol svg{width:19px!important;height:19px!important}
.expertise .expertise-grid > a.expertise-item:is(:hover,:focus-visible) > .service-card-foot .cta-symbol{background:#EE7203!important;border-color:#EE7203!important;color:#fff!important}
.expertise .expertise-grid > a.expertise-item:focus-visible{outline:3px solid #EE7203!important;outline-offset:4px!important}
/* Copy follows natural reading direction: bottom-right in Arabic, bottom-left in English. */
html[dir="rtl"] .expertise .expertise-grid > a.expertise-item{text-align:right!important;direction:rtl!important}
html[dir="ltr"] .expertise .expertise-grid > a.expertise-item{text-align:left!important;direction:ltr!important}
/* Selected works: already image-overlay; make labels and actions legible on mobile. */
.work-section .project-carousel .project-card .project-meta h3{font-size:clamp(23px,2.2vw,32px)!important;line-height:1.4!important}
.work-section .project-carousel .project-card .project-meta span:not(.project-number){font-size:14px!important;letter-spacing:0!important}
.work-section .project-carousel .project-card .project-meta .case-view{font-size:14px!important;min-height:44px!important;padding:12px 14px!important}
.dnm-admin-entry{display:none!important}

@media(max-width:1100px){
  .expertise .expertise-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .expertise .expertise-grid > a.expertise-item{min-height:420px!important}
}
@media(max-width:680px){
  .nav-inner{height:76px!important}
  .site-header .nav-project{font-size:14px!important;min-height:44px!important;padding:9px 12px!important}
  .site-header .language-toggle{font-size:14px!important;min-height:44px!important}
  .mobile-nav{top:76px!important}
  .hero h1,html[lang=ar] .hero h1{font-size:clamp(36px,9.5vw,40px)!important;line-height:1.32!important}
  .hero-description{font-size:17px!important;line-height:1.85!important}
  .display-heading,.expertise .display-heading,.work-head .display-heading,
  html[lang=ar] .display-heading,html[lang=ar] .expertise .display-heading{
    font-size:clamp(28px,7.8vw,32px)!important;line-height:1.45!important
  }
  .expertise .expertise-grid{grid-template-columns:minmax(0,1fr)!important;gap:18px!important}
  .expertise .expertise-grid > a.expertise-item,
  .expertise .expertise-grid > a.expertise-item:hover{
    min-height:415px!important;border-radius:18px!important;transform:none!important
  }
  .expertise .expertise-grid > a.expertise-item > h3{font-size:21px!important;margin:0 21px 7px!important}
  html[lang=ar] .expertise .expertise-grid > a.expertise-item > h3{font-size:21px!important}
  .expertise .expertise-grid > a.expertise-item > p{font-size:16px!important;margin:0 21px 12px!important;line-height:1.75!important}
  .expertise .expertise-grid > a.expertise-item > .service-card-foot{font-size:16px!important;margin:0 21px 20px!important;min-height:50px!important}
  .work-section .project-carousel .project-card .project-meta{padding:20px!important}
  .work-section .project-carousel .project-card .project-meta h3{font-size:22px!important}
  .work-section .project-carousel .project-card .project-meta .case-view{font-size:13px!important;min-height:44px!important}
  .footer-bottom,.footer-column>a,.footer-column>span,.dnm-legal-link a{font-size:15px!important;line-height:1.75!important}
  .footer-main{gap:28px!important}
}
@media(max-width:360px){
  .expertise .expertise-grid > a.expertise-item{min-height:390px!important}
  .expertise .expertise-grid > a.expertise-item > h3{font-size:20px!important}
  .expertise .expertise-grid > a.expertise-item > .service-card-foot{gap:6px!important}
}
@media(hover:none){.expertise .expertise-grid > a.expertise-item:is(:hover,:focus-visible){transform:none!important}}
@media(prefers-reduced-motion:reduce){
  .expertise .expertise-grid > a.expertise-item,.expertise .expertise-grid > a.expertise-item img{transition:none!important}
}
@media(max-width:420px){
  /* The same enquiry CTA remains in the accessible mobile menu. */
  .site-header .nav-project{display:none!important}
}
@media(max-width:680px){
  :is(.solid-cta,.outline-cta,.teaser-cta,.form-next,.form-prev,.form-copy){font-size:16px!important;min-height:44px!important}
}
