/* ==========================================================================
   DENLYX PLATFORM PRODUCTION v1.0.9 — MOBILE / ADAPTIVE QA OWNER
   ========================================================================== */

/* 1) Mobile Globe section: keep the content readable for most of the section.
      JS owns the late crossfade. These rules prevent city controls from being
      left in a stale reveal/blur state. */
@media (max-width:980px){
  html body.dx-home-page .dx11-globe-wrap{
    --dx1908-mobile-globe-hold:1;
  }
  html body.dx-home-page .dx11-globe-wrap .dx-globe-city-list,
  html body.dx-home-page .dx11-globe-wrap .dx-globe-city-list .dx-globe-region,
  html body.dx-home-page .dx11-globe-wrap .dx-globe-city-list .dx-globe-country,
  html body.dx-home-page .dx11-globe-wrap .dx-globe-city-list button,
  html body.dx-home-page .dx11-globe-wrap .dx-globe-city-list button>b,
  html body.dx-home-page .dx11-globe-wrap .dx-globe-city-list button>span{
    visibility:visible!important;
  }
  html body.dx-home-page .dx11-globe-wrap .dx-globe-city-list{
    opacity:1!important;
    filter:none!important;
    transform:none!important;
    margin-bottom:clamp(70px,16vw,120px)!important;
  }
  html body.dx-home-page .dx11-globe-wrap .dx-globe-city-list button{
    opacity:1!important;
    filter:none!important;
    transform:translate3d(0,0,0)!important;
    color:#f7fbff!important;
    -webkit-text-fill-color:#f7fbff!important;
    border-color:rgba(247,251,255,.46)!important;
    background:rgba(255,255,255,.035)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.10)!important;
  }
  html body.dx-home-page .dx11-globe-wrap .dx-globe-city-list button.active,
  html body.dx-home-page .dx11-globe-wrap .dx-globe-city-list button:focus-visible{
    background:rgba(255,255,255,.12)!important;
    border-color:rgba(247,251,255,.90)!important;
  }
}

/* 2) Project Request popup — mobile-only compact information header. */
@media (max-width:980px){
  html body.denlyx-atmosphere-theme .dx-project-modal-panel{
    grid-template-columns:minmax(0,1fr)!important;
    width:calc(100vw - 16px)!important;
    max-height:calc(100dvh - 16px)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
  }
  html body.denlyx-atmosphere-theme .dx-project-modal-intro{
    padding:26px 20px 20px!important;
  }
  html body.denlyx-atmosphere-theme .dx-project-modal-kicker{
    box-sizing:border-box!important;
    display:block!important;
    width:100%!important;
    margin:0 0 16px!important;
    padding:0 58px!important;
    text-align:center!important;
    white-space:nowrap!important;
    font-size:12px!important;
    line-height:1.2!important;
    letter-spacing:.18em!important;
  }
  html body.denlyx-atmosphere-theme .dx-project-modal-intro #dx-project-modal-title{
    display:block!important;
    width:100%!important;
    margin:0 0 13px!important;
    padding:0!important;
    text-align:center!important;
    white-space:nowrap!important;
    font-size:clamp(20px,5.5vw,24px)!important;
    line-height:1.08!important;
    letter-spacing:-.035em!important;
  }
  html body.denlyx-atmosphere-theme .dx-project-modal-intro>p{
    width:100%!important;
    max-width:none!important;
    margin:0 auto!important;
    text-align:center!important;
    font-size:clamp(13px,3.55vw,14.5px)!important;
    line-height:1.45!important;
    text-wrap:pretty!important;
  }
  html body.denlyx-atmosphere-theme .dx-project-modal-contact{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:12px 14px!important;
    margin-top:20px!important;
  }
  html body.denlyx-atmosphere-theme .dx-project-modal-contact>div{
    min-width:0!important;
    gap:3px!important;
  }
  html body.denlyx-atmosphere-theme .dx-project-modal-contact>div:nth-child(3){
    grid-column:1/-1!important;
  }
  html body.denlyx-atmosphere-theme .dx-project-modal-contact b{
    font-size:8px!important;
    letter-spacing:.13em!important;
  }
  html body.denlyx-atmosphere-theme .dx-project-modal-contact a,
  html body.denlyx-atmosphere-theme .dx-project-modal-contact .dx-contact-address,
  html body.denlyx-atmosphere-theme .dx-project-modal-contact .dx-contact-address *{
    min-width:0!important;
    font-size:clamp(12px,3.35vw,14px)!important;
    line-height:1.35!important;
    overflow-wrap:anywhere!important;
  }
  html body.denlyx-atmosphere-theme .dx-project-modal-form{
    padding:22px 20px 28px!important;
  }
}

/* 3) Canonical SCROLL TO EXPLORE cue. The data tone describes the surface
      behind the cue, not the foreground color. */
html body.denlyx-atmosphere-theme .dx-scroll-invitation[data-dx-v1908-cue-tone="dark"],
html body.denlyx-atmosphere-theme .dx-about-scroll-cue[data-dx-v1908-cue-tone="dark"]{
  color:#f7fbff!important;
  -webkit-text-fill-color:#f7fbff!important;
  border-color:rgba(247,251,255,.56)!important;
  background:rgba(255,255,255,.025)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10)!important;
}
html body.denlyx-atmosphere-theme .dx-scroll-invitation[data-dx-v1908-cue-tone="dark"]::before,
html body.denlyx-atmosphere-theme .dx-about-scroll-cue[data-dx-v1908-cue-tone="dark"]::before{
  background:linear-gradient(180deg,rgba(247,251,255,.94),rgba(247,251,255,.08))!important;
}
html body.denlyx-atmosphere-theme .dx-scroll-invitation[data-dx-v1908-cue-tone="dark"]::after,
html body.denlyx-atmosphere-theme .dx-scroll-invitation[data-dx-v1908-cue-tone="dark"] span,
html body.denlyx-atmosphere-theme .dx-about-scroll-cue[data-dx-v1908-cue-tone="dark"]::after,
html body.denlyx-atmosphere-theme .dx-about-scroll-cue[data-dx-v1908-cue-tone="dark"] span{
  color:#f7fbff!important;
  -webkit-text-fill-color:#f7fbff!important;
}
html body.denlyx-atmosphere-theme .dx-scroll-invitation[data-dx-v1908-cue-tone="light"],
html body.denlyx-atmosphere-theme .dx-about-scroll-cue[data-dx-v1908-cue-tone="light"]{
  color:#173b4b!important;
  -webkit-text-fill-color:#173b4b!important;
  border-color:rgba(23,59,75,.58)!important;
  background:rgba(247,251,252,.20)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.42)!important;
}
html body.denlyx-atmosphere-theme .dx-scroll-invitation[data-dx-v1908-cue-tone="light"]::before,
html body.denlyx-atmosphere-theme .dx-about-scroll-cue[data-dx-v1908-cue-tone="light"]::before{
  background:linear-gradient(180deg,rgba(23,59,75,.90),rgba(23,59,75,.08))!important;
}
html body.denlyx-atmosphere-theme .dx-scroll-invitation[data-dx-v1908-cue-tone="light"]::after,
html body.denlyx-atmosphere-theme .dx-scroll-invitation[data-dx-v1908-cue-tone="light"] span,
html body.denlyx-atmosphere-theme .dx-about-scroll-cue[data-dx-v1908-cue-tone="light"]::after,
html body.denlyx-atmosphere-theme .dx-about-scroll-cue[data-dx-v1908-cue-tone="light"] span{
  color:#173b4b!important;
  -webkit-text-fill-color:#173b4b!important;
}

/* 4) Contact map wordmark: smaller, aligned to the street-line width, then a
      slow white letter sheen followed by a restrained brand-color glow. */
html body.dx-contact-page #dx-contact-map-wordmark.dx-map-wordmark-v1908{
  position:relative!important;
  display:block!important;
  width:max-content!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  color:#173b4b!important;
  -webkit-text-fill-color:#173b4b!important;
  background:none!important;
  font-family:inherit!important;
  font-size:24px!important;
  font-weight:900!important;
  line-height:1!important;
  letter-spacing:.105em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
  transform-origin:left center!important;
  animation:dx1908MapGlow 7.5s ease-in-out infinite!important;
}
html body.dx-contact-page #dx-contact-map-wordmark.dx-map-wordmark-v1908::before{
  content:attr(data-text)!important;
  position:absolute!important;
  inset:0 auto auto 0!important;
  display:block!important;
  width:100%!important;
  color:transparent!important;
  -webkit-text-fill-color:transparent!important;
  background:linear-gradient(105deg,transparent 22%,rgba(255,255,255,.96) 47%,rgba(255,255,255,.55) 53%,transparent 78%) 160% 0/55% 100% no-repeat!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  pointer-events:none!important;
  animation:dx1908MapSheen 7.5s linear infinite!important;
}
html body.dx-contact-page #dx-contact-map-wordmark.dx-map-wordmark-v1908::after{content:none!important;display:none!important}
@keyframes dx1908MapSheen{
  0%{opacity:0;background-position:160% 0}
  4%{opacity:1}
  46.666%{opacity:1;background-position:-60% 0}
  48%,100%{opacity:0;background-position:-60% 0}
}
@keyframes dx1908MapGlow{
  0%,46.666%,86.666%,100%{text-shadow:0 0 0 rgba(23,59,75,0);filter:none}
  66.666%{text-shadow:0 0 10px rgba(23,59,75,.62),0 0 22px rgba(23,59,75,.28);filter:brightness(1.18)}
}

@media (max-width:560px){
  html body.dx-contact-page #dx-contact-map-wordmark.dx-map-wordmark-v1908{font-size:21px!important}
}
@media (prefers-reduced-motion:reduce){
  html body.dx-contact-page #dx-contact-map-wordmark.dx-map-wordmark-v1908,
  html body.dx-contact-page #dx-contact-map-wordmark.dx-map-wordmark-v1908::before{animation:none!important}
  html body.dx-contact-page #dx-contact-map-wordmark.dx-map-wordmark-v1908::before{display:none!important}
}

/* 5) MOTION PREVIEW ONLY — About Us / Our Purpose scroll expansion. */
@media (min-width:1280px) and (prefers-reduced-motion:no-preference){
  html body.dx-about-page .dx-about-purpose[data-dx-purpose-motion="true"]{
    position:relative!important;
    min-height:220vh!important;
    padding:0!important;
    overflow:clip!important;
  }
  html body.dx-about-page .dx-about-purpose[data-dx-purpose-motion="true"]>.dx-about-purpose-grid{
    position:sticky!important;
    top:0!important;
    display:grid!important;
    grid-template-columns:minmax(430px,.82fr) minmax(620px,1.18fr)!important;
    align-items:center!important;
    width:min(1640px,calc(100% - 60px))!important;
    max-width:none!important;
    min-height:100vh!important;
    margin:0 auto!important;
    padding:clamp(40px,5vh,76px) 0!important;
    overflow:visible!important;
  }
  html body.dx-about-page .dx-about-purpose[data-dx-purpose-motion="true"] .dx-about-purpose-copy{
    width:min(40vw,620px)!important;
    max-width:620px!important;
    transform:translate3d(calc(var(--dx1908-purpose-progress,0) * -55px),0,0)!important;
    transform-origin:left center!important;
    will-change:transform!important;
  }
  html body.dx-about-page .dx-about-purpose[data-dx-purpose-motion="true"] .dx-about-network{
    width:min(44vw,720px)!important;
    max-width:720px!important;
    justify-self:end!important;
    transform:translate3d(calc(var(--dx1908-purpose-progress,0) * 80px),0,0) scale(calc(1 + var(--dx1908-purpose-progress,0) * .70))!important;
    transform-origin:center center!important;
    will-change:transform!important;
    z-index:2!important;
  }
}
