
/* ===== RDMA Creative Web Graphics — lightweight living visuals ===== */
.rdma-hero-art { position: relative; }
.rdma-hero-art .rdma-hero-svg { display: block; width: 100%; height: auto; }
.rdma-hero-art .rdma-line {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
}
.rdma-hero-art .rdma-node {
  opacity: 0;
  transform-origin: center;
  transform: scale(.7);
}
.rdma-hero-art.rdma-in-view .rdma-line {
  animation: rdmaDraw 1.1s ease forwards;
}
.rdma-hero-art.rdma-in-view .rdma-node {
  animation: rdmaNodeIn .5s cubic-bezier(.2,.8,.2,1) forwards;
}
.rdma-hero-art.rdma-in-view .rdma-node:nth-of-type(1) { animation-delay: .2s; }
.rdma-hero-art.rdma-in-view .rdma-node:nth-of-type(2) { animation-delay: .45s; }
.rdma-hero-art.rdma-in-view .rdma-node:nth-of-type(3) { animation-delay: .7s; }
.rdma-hero-art.rdma-in-view .rdma-node:nth-of-type(4) { animation-delay: .35s; }
.rdma-hero-art.rdma-in-view .rdma-node:nth-of-type(5) { animation-delay: .6s; }

@keyframes rdmaDraw { to { stroke-dashoffset: 0; } }
@keyframes rdmaNodeIn { to { opacity: 1; transform: scale(1); } }

/* Living service illustrations injected on representative service pages. */
.rdma-living-illustration {
  max-width: 1240px;
  margin: 32px auto 0;
  border: 1px solid #dfe7ee;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
}
.rdma-living-illustration svg { display: block; width: 100%; height: auto; }
.rdma-living-illustration .rli-node { opacity: 0; }
.rdma-living-illustration .rli-line { stroke-dasharray: 300; stroke-dashoffset: 300; }
.rdma-living-illustration.rdma-in-view .rli-node { animation: rdmaNodeIn .5s ease forwards; }
.rdma-living-illustration.rdma-in-view .rli-line { animation: rdmaDraw 1s ease forwards; }
.rdma-living-illustration .rli-node:nth-of-type(1) { animation-delay: .1s; }
.rdma-living-illustration .rli-node:nth-of-type(2) { animation-delay: .25s; }
.rdma-living-illustration .rli-node:nth-of-type(3) { animation-delay: .4s; }
.rdma-living-illustration .rli-node:nth-of-type(4) { animation-delay: .55s; }

/* Professional hover/focus micro-interactions on service cards. */
.rdma-service-card .rdma-service-icon { transition: transform .18s ease, background-color .18s ease; }
.rdma-service-card:hover .rdma-service-icon,
.rdma-service-card:focus-visible .rdma-service-icon { transform: translateY(-2px) scale(1.06); background: #051b2e; }
.rdma-service-card--consult:hover .rdma-service-icon,
.rdma-service-card--consult:focus-visible .rdma-service-icon { background: #09243c; }

/* Reduced motion and static fallback: keep everything visible, no movement. */
.rdma-motion-reduced .rdma-line,
.rdma-motion-reduced .rli-line { stroke-dashoffset: 0 !important; animation: none !important; }
.rdma-motion-reduced .rdma-node,
.rdma-motion-reduced .rli-node { opacity: 1 !important; transform: none !important; animation: none !important; }
.rdma-motion-reduced .rdma-service-card .rdma-service-icon { transform: none !important; }
.rdma-living-illustration figcaption {
  padding: 14px 18px;
  border-top: 1px solid #dfe7ee;
  color: #56656f;
  font-size: 13px;
  font-weight: 600;
}
