/* DNM 06 — Approved final controls & contrast | 2 Nov 2026.
   Loaded AFTER legacy theme sheets on public pages; backend/admin untouched. */
:root{--dnm-button-blue:#17479e;--dnm-button-orange:#a94300;--dnm-button-white:#fff}
/* Flat buttons, no border/outline/shadow at rest; keyboard focus rings remain accessible. */
body :is(button, .solid-cta,.outline-cta,.nav-project,.teaser-cta,.text-link,.impact-action,
  .dnm-secondary-cta,.dnm-breadcrumb,.dnm-cinema-link,.case-lang,.case-cta,.case-close,
  .case-story-link,.dnm-service-actionbar a,.back-to-top-float,.social-icons .social,
  .dnm-detail-actions a,.brief-top-link) {
  border:0!important;border-color:transparent!important;box-shadow:none!important;text-shadow:none!important;
}
/* All CTA text, icon paths and arrowhead read in white. Base BLUE, hover DARK ORANGE. */
body :is(a.dnm-wave,button.dnm-wave,.dnm-service-actionbar a):not(.nav-menu):not(.impact-header):not(.impact-toggle):not(.assistant-close){
  --dnm-base:var(--dnm-button-blue)!important;
  --dnm-rise:var(--dnm-button-orange)!important;
  --dnm-wave-fill:var(--dnm-button-orange)!important;
  position:relative!important;isolation:isolate!important;overflow:hidden!important;
  color:#fff!important;box-shadow:none!important;border:0!important;
  background-color:var(--dnm-button-blue)!important;
}
/* Respect the existing blue translucent header and its logo; the background is unchanged. */
body .site-header .brand,body .site-header .brand img{box-shadow:none!important;}
body .site-header .nav-project,body .site-header .language-toggle{background-color:var(--dnm-button-blue)!important;color:#fff!important;}
body .hero-actions :is(.solid-cta,.outline-cta),
body .hero-actions :is(.solid-cta,.outline-cta):is(:hover,:focus-visible){
  color:#fff!important;background-color:var(--dnm-button-blue)!important;border:0!important;
}
/* Animated organic wave rises vertically, never radial, never masks text. */
body :is(a.dnm-wave,button.dnm-wave,.dnm-service-actionbar a)::before{
  content:''!important;position:absolute!important;left:-20%!important;right:-20%!important;
  top:auto!important;bottom:-24%!important;height:155%!important;
  z-index:-1!important;pointer-events:none!important;
  border-radius:50% 50% 0 0 / 19% 24% 0 0!important;
  background:var(--dnm-button-orange)!important;
  clip-path:none!important;
  transform:translate3d(0,115%,0) rotate(-5deg) scaleX(1.08)!important;
  transition:transform .67s cubic-bezier(.19,.86,.23,1)!important;
  will-change:transform;
}
body :is(a.dnm-wave,button.dnm-wave,.dnm-service-actionbar a):is(:hover,:focus-visible)::before{
  transform:translate3d(0,-4%,0) rotate(-5deg) scaleX(1.08)!important;
  clip-path:none!important;
}
body :is(a.dnm-wave,button.dnm-wave,.dnm-service-actionbar a) :is(span,svg,svg path){color:inherit!important;}
body :is(a.dnm-wave,button.dnm-wave,.dnm-service-actionbar a) svg.brand-arrow path,
body :is(a.dnm-wave,button.dnm-wave,.dnm-service-actionbar a) svg.brand-arrow rect{fill:currentColor!important;}
body :is(.solid-cta,.outline-cta,.nav-project,.teaser-cta,.impact-action,.dnm-secondary-cta,.dnm-cinema-link,.text-link,.case-cta,.case-close,.case-story-link,.brief-top-link,.form-next,.form-prev,.form-copy,.back-to-top-float) :is(span,svg){color:#fff!important;}
/* NEXT BUTTON: distinct from all other controls — BLUE from first render, WHITE label/arrow,
   orange bottom-to-top wave; NO border or shadow, even after focus/hover. */
body.brief-body .brief-form-area button.form-next[type="button"],
body.brief-body .brief-form-area button.form-next[type="button"]:is(:hover,:focus-visible){
  background:#17479e!important;--dnm-base:#17479e!important;--dnm-rise:#a94300!important;
  border:0!important;border-color:transparent!important;box-shadow:none!important;color:#fff!important;
}
body.brief-body .brief-form-area button.form-next[type="button"] :is(span,svg,svg path){color:#fff!important;fill:currentColor!important;}
/* Social CTA icon and launcher controls have same fluid motion */
body .footer .social.dnm-wave,body .footer .social.dnm-wave:hover{
 background:#17479e!important;color:#fff!important;border:0!important;box-shadow:none!important;
}
body .footer .social.dnm-wave :is(svg,svg path,svg rect){color:#fff!important;}
/* floating jump-to-top: blue surface and crisp WHITE icon even during animation */
body a.back-to-top-float,body a.back-to-top-float:is(:hover,:focus-visible){
 background:#17479e!important;color:#fff!important;border:0!important;box-shadow:none!important;
}
body a.back-to-top-float :is(svg,svg path,svg rect,.cta-symbol){color:#fff!important;fill:currentColor!important;}
/* External assistant icon is a CHAT MESSAGE holding the exact official D mark.
   Inner chat assistant avatar is intentionally unaffected. */
body #openAssistance.dock-chat,body #openAssistance.dock-chat:hover{
  background:#17479e!important;border:0!important;box-shadow:none!important;
}
body #openAssistance img.dock-message-icon{
 width:82%!important;height:82%!important;max-width:48px!important;max-height:48px!important;
 object-fit:contain!important;filter:none!important;border:0!important;box-shadow:none!important;
}
body #openAssistance .chat-brand-icon{border:0!important;box-shadow:none!important;background:none!important;}
/* Important: don't recolor logo/photo SVG child paths. */
body #openAssistance img.dock-message-icon{color:initial!important;}
/* Social, prev/submit, small action buttons use blue/orange and white ink. */
body :is(.assistant-compose button,.assistant-quick button,.assistant-close,.assistant-mic,.form-prev,.form-copy,.form-send,.intro-skip,.case-lang).dnm-wave{
  background-color:#17479e!important;color:#fff!important;--dnm-rise:#a94300!important;
  border:0!important;box-shadow:none!important;
}
/* White visible ring only for keyboard navigation; not a persistent border. */
body :is(a,button):focus-visible{outline:2px solid #fff!important;outline-offset:3px!important;}
body.brief-body .brief-form-area button.form-next:focus-visible{outline:2px solid #ffc18c!important;outline-offset:3px!important;}
/* Photo remains clear and naturally cropped; no blur, tint or stretching. */
body .about-editorial-visual > img[src*="dnm-about-marketing-craft-approved"]{
 object-fit:cover!important;object-position:50% 49%!important;filter:none!important;
}
@media(hover:none){
 body :is(a.dnm-wave,button.dnm-wave):hover:not(:active):not(:focus-visible)::before{
  transform:translate3d(0,115%,0) rotate(-5deg) scaleX(1.08)!important;
 }
}
@media(prefers-reduced-motion:reduce){
 body :is(a.dnm-wave,button.dnm-wave,.dnm-service-actionbar a)::before{
  transition-duration:0s!important;will-change:auto!important;
 }
}
