/* ========================================================================== 
   DENLYX PLATFORM PRODUCTION v1.0.8 — LIVE ACCEPTANCE CORRECTION OWNER
   ========================================================================== */

/* 1) ENTER WITH AUDIO — the accepted expanded/compact anchors remain owned by
      v1905. This layer only guarantees a visible, interruption-safe horizontal
      glide between them. Same-state scroll events no longer disable motion. */
@media (min-width:981px){
  html body.denlyx-atmosphere-theme div.dx-v1865-audio-gate[data-dx-v1865-audio-gate],
  html body.denlyx-atmosphere-theme div.dx-v1865-audio-gate[data-dx-v1865-audio-gate].is-visible{
    right:auto!important;
    translate:0 0!important;
    transition:left .56s cubic-bezier(.22,.78,.22,1),opacity .26s ease,transform .30s ease,visibility 0s!important;
    will-change:left,transform,opacity!important;
  }
}
@media (prefers-reduced-motion:reduce) and (min-width:981px){
  html body.denlyx-atmosphere-theme div.dx-v1865-audio-gate[data-dx-v1865-audio-gate],
  html body.denlyx-atmosphere-theme div.dx-v1865-audio-gate[data-dx-v1865-audio-gate].is-visible{
    transition:opacity .18s ease,visibility 0s!important;
  }
}

/* 2) Homepage closing CTA — desktop placement matches the right-side action
      position used on the other pages. Text remains untouched. */
@media (min-width:981px){
  html body.dx-home-page .dx11-cta .dx11-cta-inner{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 300px!important;
    grid-template-areas:
      "eyebrow empty"
      "heading action"
      "copy action"!important;
    column-gap:clamp(48px,7vw,120px)!important;
    align-items:center!important;
  }
  html body.dx-home-page .dx11-cta .dx11-cta-inner>.dx11-eyebrow{
    grid-area:eyebrow!important;
  }
  html body.dx-home-page .dx11-cta .dx11-cta-inner>h2{
    grid-area:heading!important;
    min-width:0!important;
  }
  html body.dx-home-page .dx11-cta .dx11-cta-inner>p:not(.dx11-eyebrow){
    grid-area:copy!important;
    min-width:0!important;
  }
  html body.dx-home-page .dx11-cta .dx11-cta-actions{
    grid-area:action!important;
    width:300px!important;
    max-width:300px!important;
    margin:0!important;
    align-self:center!important;
    justify-self:end!important;
  }
  html body.dx-home-page .dx11-cta .dx11-cta-actions>.dx-v1905-project-cta{
    width:300px!important;
    min-width:300px!important;
  }
}

/* 3) Language popup — one design family with the Companies cards. The rows
      remain compact, but use the same glass, outline, lift, and adaptive tone.
      JA and ZH receive no exceptional styling. */
html body.denlyx-atmosphere-theme .atmo-language-control.is-enhanced .atmo-language-popup,
html body.denlyx-atmosphere-theme .atmo-language-popup{
  background:rgba(255,255,255,.012)!important;
  background-color:rgba(255,255,255,.012)!important;
  background-image:none!important;
  border:1px solid rgba(247,251,255,.28)!important;
  border-radius:24px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 18px 52px rgba(0,0,0,.16)!important;
  -webkit-backdrop-filter:blur(20px) saturate(108%)!important;
  backdrop-filter:blur(20px) saturate(108%)!important;
  isolation:isolate!important;
}
html body.denlyx-atmosphere-theme .atmo-language-popup::before,
html body.denlyx-atmosphere-theme .atmo-language-popup::after{
  content:none!important;
  display:none!important;
}
html body.denlyx-atmosphere-theme .atmo-language-popup button[data-language-option],
html body.denlyx-atmosphere-theme .atmo-language-popup button[data-language-option][aria-selected="true"]{
  box-sizing:border-box!important;
  color:#f7fbff!important;
  -webkit-text-fill-color:#f7fbff!important;
  background:rgba(255,255,255,.014)!important;
  background-color:rgba(255,255,255,.014)!important;
  background-image:none!important;
  border:1px solid rgba(247,251,255,.42)!important;
  border-radius:18px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07)!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  transform:translate3d(0,0,0)!important;
  transition:transform .26s cubic-bezier(.22,.8,.22,1),background-color .24s ease,border-color .24s ease,box-shadow .24s ease,color .24s ease!important;
}
html body.denlyx-atmosphere-theme .atmo-language-popup button[data-language-option] span,
html body.denlyx-atmosphere-theme .atmo-language-popup button[data-language-option] small{
  color:inherit!important;
  -webkit-text-fill-color:currentColor!important;
}
html body.denlyx-atmosphere-theme .atmo-language-popup button[data-language-option]:hover,
html body.denlyx-atmosphere-theme .atmo-language-popup button[data-language-option]:focus-visible{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  background:rgba(255,255,255,.12)!important;
  border-color:rgba(247,251,255,.98)!important;
  box-shadow:0 10px 26px rgba(2,16,24,.18),inset 0 1px 0 rgba(255,255,255,.22)!important;
  transform:translate3d(0,-3px,0)!important;
}
html body.denlyx-atmosphere-theme .atmo-language-popup button[data-language-option]:active{
  transform:translate3d(0,-1px,0) scale(.986)!important;
  transition-duration:.10s!important;
}

/* Light-surface rows on legal pages use the same adaptive treatment as the
   Companies cards where they cross into the pale content area. */
html body.dx-legal-suite-page .atmo-language-popup button[data-language-option][data-dx-v1905-row-tone="light"],
html body.denlyx-atmosphere-theme header.atmo-header[data-dx-v1865-tone="light"] .atmo-language-popup button[data-language-option],
html body.denlyx-atmosphere-theme header.atmo-header[data-dx-v1865-tone="light"] .atmo-language-popup button[data-language-option][aria-selected="true"]{
  color:#173b4b!important;
  -webkit-text-fill-color:#173b4b!important;
  background:rgba(247,251,252,.22)!important;
  border-color:rgba(23,59,75,.48)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.44)!important;
}
html body.dx-legal-suite-page .atmo-language-popup button[data-language-option][data-dx-v1905-row-tone="light"]:hover,
html body.dx-legal-suite-page .atmo-language-popup button[data-language-option][data-dx-v1905-row-tone="light"]:focus-visible,
html body.denlyx-atmosphere-theme header.atmo-header[data-dx-v1865-tone="light"] .atmo-language-popup button[data-language-option]:hover,
html body.denlyx-atmosphere-theme header.atmo-header[data-dx-v1865-tone="light"] .atmo-language-popup button[data-language-option]:focus-visible{
  color:#173b4b!important;
  -webkit-text-fill-color:#173b4b!important;
  background:rgba(23,59,75,.09)!important;
  border-color:rgba(23,59,75,.96)!important;
  box-shadow:0 10px 25px rgba(23,59,75,.14),inset 0 1px 0 rgba(255,255,255,.38)!important;
}

/* Legal-suite specificity lock: earlier production owners style dark and
   light rows through per-row tone attributes. Repeat the compact card system at
   that exact specificity so no legacy solid-gray state can win for JA or ZH. */
html body.denlyx-atmosphere-theme.dx-legal-suite-page header.atmo-header .atmo-language-control.is-enhanced .atmo-language-popup,
html body.denlyx-atmosphere-theme.dx-legal-suite-page header.atmo-header .atmo-language-popup{
  background:rgba(255,255,255,.012)!important;
  background-color:rgba(255,255,255,.012)!important;
  background-image:none!important;
  border:1px solid rgba(247,251,255,.28)!important;
  border-radius:24px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 18px 52px rgba(0,0,0,.16)!important;
  -webkit-backdrop-filter:blur(20px) saturate(108%)!important;
  backdrop-filter:blur(20px) saturate(108%)!important;
}
html body.denlyx-atmosphere-theme.dx-legal-suite-page header.atmo-header .atmo-language-popup button[data-language-option][data-dx-v1905-row-tone="dark"],
html body.denlyx-atmosphere-theme.dx-legal-suite-page header.atmo-header .atmo-language-popup button[data-language-option][data-dx-v1905-row-tone="dark"][aria-selected="true"]{
  color:#f7fbff!important;
  -webkit-text-fill-color:#f7fbff!important;
  background:rgba(255,255,255,.014)!important;
  background-color:rgba(255,255,255,.014)!important;
  background-image:none!important;
  border:1px solid rgba(247,251,255,.42)!important;
  border-radius:18px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07)!important;
}
html body.denlyx-atmosphere-theme.dx-legal-suite-page header.atmo-header .atmo-language-popup button[data-language-option][data-dx-v1905-row-tone="light"],
html body.denlyx-atmosphere-theme.dx-legal-suite-page header.atmo-header .atmo-language-popup button[data-language-option][data-dx-v1905-row-tone="light"][aria-selected="true"]{
  color:#173b4b!important;
  -webkit-text-fill-color:#173b4b!important;
  background:rgba(247,251,252,.22)!important;
  background-color:rgba(247,251,252,.22)!important;
  background-image:none!important;
  border:1px solid rgba(23,59,75,.48)!important;
  border-radius:18px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.44)!important;
}
html body.denlyx-atmosphere-theme.dx-legal-suite-page header.atmo-header .atmo-language-popup button[data-language-option][data-dx-v1905-row-tone="dark"]:hover,
html body.denlyx-atmosphere-theme.dx-legal-suite-page header.atmo-header .atmo-language-popup button[data-language-option][data-dx-v1905-row-tone="dark"]:focus-visible{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  background:rgba(255,255,255,.12)!important;
  border-color:rgba(247,251,255,.98)!important;
  box-shadow:0 10px 26px rgba(2,16,24,.18),inset 0 1px 0 rgba(255,255,255,.22)!important;
}
html body.denlyx-atmosphere-theme.dx-legal-suite-page header.atmo-header .atmo-language-popup button[data-language-option][data-dx-v1905-row-tone="light"]:hover,
html body.denlyx-atmosphere-theme.dx-legal-suite-page header.atmo-header .atmo-language-popup button[data-language-option][data-dx-v1905-row-tone="light"]:focus-visible{
  color:#173b4b!important;
  -webkit-text-fill-color:#173b4b!important;
  background:rgba(23,59,75,.09)!important;
  border-color:rgba(23,59,75,.96)!important;
  box-shadow:0 10px 25px rgba(23,59,75,.14),inset 0 1px 0 rgba(255,255,255,.38)!important;
}

/* 4) Contact map card — rebuild the exact wordmark node. It is intentionally a
      unique <strong>, so the ancient generic `.dx-contact-map-caption span`
      rule can no longer reduce it to 8px. No animation. */
html body.dx-contact-page #dx-contact-map-wordmark.dx-map-wordmark-v1907{
  position:relative!important;
  display:block!important;
  width:max-content!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  color:#173b4b!important;
  -webkit-text-fill-color:#173b4b!important;
  background:none!important;
  background-image:none!important;
  font-family:inherit!important;
  font-size:32px!important;
  font-weight:900!important;
  font-style:normal!important;
  line-height:.92!important;
  letter-spacing:.10em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
  text-shadow:none!important;
  filter:none!important;
  transform:none!important;
  animation:none!important;
}
html body.dx-contact-page #dx-contact-map-wordmark.dx-map-wordmark-v1907::before,
html body.dx-contact-page #dx-contact-map-wordmark.dx-map-wordmark-v1907::after{
  content:none!important;
  display:none!important;
}

/* 5) Mobile header — remove the redundant project CTA and preserve a clean
      three-part header: logo, available controls, hamburger. */
@media (max-width:980px){
  html body.denlyx-atmosphere-theme header.atmo-header .atmo-header-inner .atmo-header-actions>#dx-mobile-header-project-cta.atmo-header-cta,
  html body.denlyx-atmosphere-theme.dx-home-page header.atmo-header .atmo-header-inner .atmo-header-actions>#dx-mobile-header-project-cta.atmo-header-cta.dx-v1906-project-label,
  html body.denlyx-atmosphere-theme header.atmo-header:not(.dx-compact) .atmo-header-inner .atmo-header-actions>#dx-mobile-header-project-cta.atmo-header-cta{
    display:none!important;
    width:0!important;
    min-width:0!important;
    max-width:0!important;
    margin:0!important;
    padding:0!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    overflow:hidden!important;
  }
  html body.denlyx-atmosphere-theme header.atmo-header .atmo-header-inner{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto auto!important;
    align-items:center!important;
    column-gap:10px!important;
  }
  html body.denlyx-atmosphere-theme header.atmo-header .atmo-brand{
    grid-column:1!important;
    grid-row:1!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0!important;
    justify-self:start!important;
    z-index:3!important;
  }
  html body.denlyx-atmosphere-theme header.atmo-header .atmo-header-actions{
    grid-column:2!important;
    grid-row:1!important;
    position:static!important;
    width:auto!important;
    min-width:0!important;
    max-width:calc(100vw - 150px)!important;
    margin:0!important;
    padding:0!important;
    justify-self:end!important;
    align-items:center!important;
    z-index:4!important;
  }
  html body.denlyx-atmosphere-theme header.atmo-header .atmo-menu-toggle{
    grid-column:3!important;
    grid-row:1!important;
    position:relative!important;
    margin:0!important;
    justify-self:end!important;
    z-index:5!important;
  }
}

@media (prefers-reduced-motion:reduce){
  html body.denlyx-atmosphere-theme .atmo-language-popup button[data-language-option]{
    transition:none!important;
  }
}
