/* dcs-site-kit motion styles. GENERATED by build/build_scenes.py - edit build/src/motion-base.css or the source SVGs, then rebuild. */
/* dcs: base | source: site/style.css motion rules (M01, M02, M06, M08) + 05_build/dc-tokens.reference.css.
   Every selector is scoped to a .dcs-* class. No reset, no element-only selectors. */

/* ---------- Hosts: containers the editor marks so overlays can sit inside them ---------- */
.dcs-hero,.dcs-collab,.dcs-steps,.dcs-orbit-host{position:relative;isolation:isolate}
.dcs-orbit-host{overflow:hidden}
.dcs-overlay-host,.elementor-widget.dcs-overlay-host{position:absolute;inset:0;pointer-events:none;margin:0}
.dcs-scene--overlay{position:absolute;inset:0;pointer-events:none}

/* ---------- M03-M05 service scenes, M07 contact scene ---------- */
.dcs-scene--commerce-flow,.dcs-scene--lead-followup,.dcs-scene--reporting-check{background:#fffaf0;border-radius:12px 12px 0 0;overflow:hidden;aspect-ratio:640/280}
.dcs-scene--commerce-flow svg,.dcs-scene--lead-followup svg,.dcs-scene--reporting-check svg{width:100%;height:100%;display:block}
.dcs-scene--contact-route{max-width:850px;margin:0 auto 5px;height:140px}
.dcs-scene--contact-route svg{width:100%;height:100%;display:block}
@media (max-width:650px){.dcs-scene--contact-route{height:90px;margin-bottom:10px}}

/* ---------- M01 hero flow: task dot travels across three nodes, 4s ---------- */
.dcs-scene--hero-flow{max-width:830px;display:flex;align-items:center;justify-content:center;margin:60px auto 0;padding:24px 0;border-top:1px solid #e3dfd4}
/* OBS-01: an Elementor widget left at Default width inside a centred flex container shrinks to its content, so the
   threads stayed at their minimum (staging: ~30px instead of the prototype's 110px). The widget holding the hero flow
   fills the row; the scene's own max-width (830 / 700px) and auto margins still centre it. Browsers without :has() keep
   the previous look. */
.elementor-element.elementor-widget:has(.dcs-scene--hero-flow){width:100%;max-width:100%;align-self:stretch}
/* CI-12.2: labels may wrap (node min-width 0) and, at <=900, threads may shrink to 16px, so the row fits a container
   narrower than the prototype's (staging 768: node 3 past the edge). Threads only take spare room (flex-basis 0), so
   labels wrap only once threads are at their minimum; with room to spare the row is as before. */
.dcs-flow__node{display:flex;align-items:center;gap:12px;min-width:0;font-size:13px;font-weight:600;line-height:1.2}
.dcs-flow__icon{flex:none;width:39px;height:39px;display:grid;place-items:center;border:1.5px solid #0e1c2d;border-radius:50%;font-style:normal;font-size:20px;background:#c9e6df}
.dcs-flow__node--2 .dcs-flow__icon{background:#f1d772}
.dcs-flow__node--3 .dcs-flow__icon{background:#ee8c93}
.dcs-flow__thread{flex:1;min-width:30px;max-width:110px;height:1px;border-top:1px dashed #91a5ac;position:relative;margin:0 20px}
.dcs-flow__thread i{position:absolute;top:-4px;width:7px;height:7px;background:#1566b9;border-radius:50%;animation:dcs-handoff 4s linear infinite}
.dcs-flow__thread--2 i{animation-delay:2s}
@keyframes dcs-handoff{0%{left:0;opacity:0}15%,85%{opacity:1}100%{left:95%;opacity:0}}
@media (max-width:900px){.dcs-scene--hero-flow{max-width:700px}.dcs-flow__thread{margin:0 12px;min-width:16px}}
@media (max-width:650px){.dcs-scene--hero-flow{margin-top:32px;padding:20px 0 12px;gap:6px}.dcs-flow__node{font-size:9px;flex-direction:column;gap:7px;min-width:80px}.dcs-flow__icon{width:32px;height:32px;font-size:16px}.dcs-flow__thread{margin:0 0 18px;min-width:15px}}

/* ---------- Hero H1 underline ("grow.") ---------- */
.dcs-highlight{position:relative;white-space:nowrap}
.dcs-highlight::after{content:'';position:absolute;bottom:-8px;left:0;width:100%;height:12px;border-top:4px solid #ee8c93;border-radius:50%;transform:rotate(-2deg);z-index:-1;transform-origin:left;animation:dcs-underline 7s ease-in-out infinite}
@keyframes dcs-underline{0%,100%{transform:rotate(-2deg) scaleX(.94)}50%{transform:rotate(-1deg) scaleX(1.03)}}
@media (max-width:700px){.dcs-highlight::after{border-width:3px;bottom:-8px}}

/* ---------- M08 hero doodles: ring 24s, star 12s, scribble 7s ---------- */
.dcs-doodle{position:absolute;z-index:-2;pointer-events:none}
.dcs-doodle--scribble{width:95px;height:80px;left:5%;top:95px;stroke:#0e1c2d;fill:none;stroke-width:2;animation:dcs-ink-bob 7s ease-in-out infinite}
.dcs-doodle--dots{width:96px;height:96px;right:6%;top:92px;border-radius:50%;background:radial-gradient(#0e1c2d 1px,transparent 1px) 0 0/7px 7px;opacity:.35}
.dcs-doodle--ring{width:180px;height:180px;border:1px solid transparent;border-bottom-color:#adc2ce;border-radius:50%;left:0;bottom:30px;transform:rotate(20deg);animation:dcs-ring-turn 24s linear infinite}
.dcs-doodle--star{right:9%;bottom:45px;width:38px;stroke:#0e1c2d;fill:none;stroke-width:1.5;animation:dcs-star-turn 12s ease-in-out infinite}
@keyframes dcs-ring-turn{to{transform:rotate(360deg)}}
@keyframes dcs-star-turn{0%,100%{transform:rotate(-8deg)}50%{transform:rotate(13deg)}}
@keyframes dcs-ink-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@media (max-width:700px){.dcs-doodle--scribble{width:42px;height:45px;left:0;top:30px}.dcs-doodle--dots{width:47px;height:47px;right:5px;top:38px;background-size:6px 6px;opacity:.25}.dcs-doodle--star{width:24px;right:12px;bottom:12px}.dcs-doodle--ring{display:none}}
@media (max-width:650px){.dcs-doodle--star{top:33%;right:1%;width:25px}.dcs-doodle--scribble{top:6px;left:0;width:32px}}

/* ---------- M02 collaboration notes (6s) and trail (3s) over the image ---------- */
.dcs-collab .elementor-widget-image{position:relative;z-index:1}
.dcs-collab .elementor-widget-image img{mix-blend-mode:multiply}
.dcs-note{position:absolute;background:#fffaf0;border:1.5px solid #0e1c2d;border-radius:10px;padding:11px 15px;z-index:2;font-size:12px;font-weight:700;box-shadow:4px 5px 0 #d4ddd3;line-height:1.5;color:#0e1c2d}
.dcs-note small{display:block;padding-left:21px;color:#626970;font-weight:400;font-size:10px}
.dcs-note--one{top:6%;left:3%;transform:rotate(-5deg);animation:dcs-note-one 6s ease-in-out infinite}
.dcs-note--two{right:1%;bottom:9%;transform:rotate(4deg);animation:dcs-note-two 6s ease-in-out infinite}
.dcs-note__dot{width:8px;height:8px;background:#0bb1b6;border-radius:50%;display:inline-block;margin-right:12px}
.dcs-note__check{margin-right:10px;color:#1566b9}
.dcs-trail{position:absolute;inset:0;width:100%;height:100%;z-index:0;fill:none;stroke:#c4a064;stroke-width:2;stroke-dasharray:4 9}
.dcs-trail path{animation:dcs-trail 3s linear infinite}
@keyframes dcs-note-one{0%,100%{transform:translateY(0) rotate(-5deg)}50%{transform:translateY(-9px) rotate(-2deg)}}
@keyframes dcs-note-two{0%,100%{transform:translateY(0) rotate(4deg)}50%{transform:translateY(7px) rotate(1deg)}}
@keyframes dcs-trail{to{stroke-dashoffset:-52}}
@media (max-width:650px){.dcs-note{padding:7px 10px;font-size:10px}.dcs-note small{font-size:8px}.dcs-note--one{top:1%;left:1%}.dcs-note--two{bottom:6%;right:0}}
/* CI-32 (0.5.17): in the prototype the notes and trail are placed over the image box (.collaboration-scene holds only
   the image). In Elementor the host container could be taller than its image (stretched by the row, extra padding),
   so the notes followed the host's corners and "Human review" sat ~180px below the drawing. The host now stacks the
   Image widget and the overlay widget in one grid cell: the overlay box is the image box, as in the prototype, and a
   taller host centres the pair. Other children, if any, take the rows below. */
.e-con.e-con.dcs-collab,.e-con.e-con.dcs-collab>.e-con-inner{display:grid;grid-template-columns:minmax(0,1fr);align-content:center}
.e-con.e-con.dcs-collab>.elementor-widget-image,.e-con.e-con.dcs-collab>.dcs-overlay-host,
.e-con.e-con.dcs-collab>.e-con-inner>.elementor-widget-image,.e-con.e-con.dcs-collab>.e-con-inner>.dcs-overlay-host{grid-area:1/1;width:100%;max-width:100%}
.e-con.e-con.dcs-collab>.elementor-element.dcs-overlay-host,.e-con.e-con.dcs-collab>.e-con-inner>.elementor-element.dcs-overlay-host{position:relative;inset:auto;align-self:stretch}
.e-con.e-con.dcs-collab .elementor-widget-image img{width:100%;height:auto}

/* ---------- M06 four stages, 8s; not real processing progress ---------- */
.dcs-step-progress{position:absolute;top:29px;left:35px;right:35px;height:1px;background:#d4ccba}
.dcs-step-progress i{position:absolute;left:0;top:0;height:2px;background:#1566b9;animation:dcs-progress 8s linear infinite}
.dcs-step-number{animation:dcs-step-pulse 8s linear infinite}
.dcs-step-number .elementor-heading-title{color:inherit}
.dcs-step--2 .dcs-step-number,.dcs-step-number.dcs-step--2{animation-delay:2s}
.dcs-step--3 .dcs-step-number,.dcs-step-number.dcs-step--3{animation-delay:4s}
.dcs-step--4 .dcs-step-number,.dcs-step-number.dcs-step--4{animation-delay:6s}
@keyframes dcs-progress{0%{width:0}85%,100%{width:100%}}
@keyframes dcs-step-pulse{0%,20%{background:#1566b9;color:#fff;box-shadow:0 0 0 8px #1566b914}25%,100%{background:var(--dcs-step-rest,#fffaf0);color:#0e1c2d;box-shadow:none}}
@media (max-width:900px){.dcs-step-progress{display:none}}

/* ---------- M08 About orbit, 20s ---------- */
.dcs-orbit{position:absolute;right:15px;top:15px;width:104px;height:104px;border:1px dashed #7a9a9e;border-radius:50%;animation:dcs-ring-turn 20s linear infinite}
.dcs-orbit span{position:absolute;width:17px;height:17px;background:#f1d772;border:1.5px solid #0e1c2d;border-radius:50%;top:-8px;left:40px}
.dcs-orbit i{position:absolute;width:12px;height:12px;background:#ee8c93;border-radius:50%;bottom:5px;left:14px}
@media (max-width:650px){.dcs-orbit{width:78px;height:78px;right:11px;top:11px}.dcs-orbit span{left:30px}}
/* CI-31 (0.5.17): inline orbit. The overlay orbit sits in the top-right corner of its host (prototype: the
   .about-art column). When the host is wide, or the Shortcode is not inside it, the ring floats far from the text.
   With the class dcs-orbit-inline on the Shortcode widget (instead of dcs-overlay-host) the ring is in the flow:
   inside a dcs-orbit-host it sits to the right of the text container, 64px away, centred on it vertically, and it
   can never cover the text. Hidden at <=700, where there is no room beside the motto. */
.elementor-element.elementor-widget.dcs-orbit-inline{flex:none;width:auto;max-width:none;padding:10px;margin:0}
.dcs-orbit-inline .dcs-scene--orbit{position:relative;inset:auto;width:104px;height:104px}
.dcs-orbit-inline .dcs-orbit{top:0;right:0}
.e-con.e-con.dcs-orbit-host:has(>.dcs-orbit-inline),.e-con.e-con.dcs-orbit-host>.e-con-inner:has(>.dcs-orbit-inline){flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:64px;overflow:visible}
.e-con.e-con.dcs-orbit-host:has(>.dcs-orbit-inline)>.e-con,.e-con.e-con.dcs-orbit-host>.e-con-inner:has(>.dcs-orbit-inline)>.e-con{flex:0 1 auto;width:auto;min-width:0}
@media (max-width:700px){.elementor-element.elementor-widget.dcs-orbit-inline{display:none}}

/* ---------- C13 motion control button ---------- */
.dcs-motion-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 16px;border:1.5px solid #0e1c2d;border-radius:8px;background:#fffaf0;color:#0e1c2d;font:inherit;font-size:13px;font-weight:600;line-height:1.2;cursor:pointer}
.dcs-motion-toggle[hidden]{display:none}
.dcs-motion-toggle:disabled{cursor:default;opacity:.7}
.dcs-motion-toggle:focus-visible{outline:3px solid #c85d9e;outline-offset:5px}
/* CI-13: Elementor Theme Style -> Buttons also styles every <button> (.elementor-kit-N button: white text, shadow,
   14px 23px padding, 15px type), which turned the toggle's text white on the cream footer. Restate the toggle's look
   above those rules, including their :hover / :focus states (ink on cream = 16.9:1). */
body[class*="elementor-kit-"] button.dcs-motion-toggle,
body[class*="elementor-kit-"] button.dcs-motion-toggle:is(:hover,:focus,:active){min-height:44px;padding:8px 16px;border:1.5px solid #0e1c2d;border-radius:8px;background:#fffaf0;color:#0e1c2d;box-shadow:none;font-family:inherit;font-size:13px;font-weight:600;line-height:1.2;letter-spacing:normal;text-transform:none;text-decoration:none}

/* ---------- Control contract: global pause, offscreen pause, reduced motion ----------
   !important is deliberate: these must win over each scene's own animation declarations. */
.dcs-motion-paused :is(.dcs-motion,.dcs-motion-host,.dcs-hero,.dcs-steps),
.dcs-motion-paused :is(.dcs-motion,.dcs-motion-host,.dcs-hero,.dcs-steps) *,
.dcs-motion-paused :is(.dcs-motion,.dcs-motion-host,.dcs-hero,.dcs-steps) *::before,
.dcs-motion-paused :is(.dcs-motion,.dcs-motion-host,.dcs-hero,.dcs-steps) *::after,
:is(.dcs-motion,.dcs-motion-host,.dcs-hero,.dcs-steps).dcs-offscreen,
:is(.dcs-motion,.dcs-motion-host,.dcs-hero,.dcs-steps).dcs-offscreen *,
:is(.dcs-motion,.dcs-motion-host,.dcs-hero,.dcs-steps).dcs-offscreen *::before,
:is(.dcs-motion,.dcs-motion-host,.dcs-hero,.dcs-steps).dcs-offscreen *::after,
.dcs-motion-paused .dcs-step-number{animation-play-state:paused!important}

@media (prefers-reduced-motion:reduce){
  :is(.dcs-motion,.dcs-motion-host,.dcs-hero,.dcs-steps),
  :is(.dcs-motion,.dcs-motion-host,.dcs-hero,.dcs-steps) *,
  :is(.dcs-motion,.dcs-motion-host,.dcs-hero,.dcs-steps) *::before,
  :is(.dcs-motion,.dcs-motion-host,.dcs-hero,.dcs-steps) *::after{animation:none!important;transition:none!important}
  .dcs-step-progress i{width:100%}
  .dcs-step-number{animation:none!important;background:var(--dcs-step-rest,#fffaf0);color:#0e1c2d;box-shadow:none}
}

/* Diagnostics only: the same reduced-motion rules under .dcs-force-reduce, set by ?dcs_force_reduce=1
   for administrators who cannot emulate prefers-reduced-motion in their browser. */
.dcs-force-reduce :is(.dcs-motion,.dcs-motion-host,.dcs-hero,.dcs-steps),
.dcs-force-reduce :is(.dcs-motion,.dcs-motion-host,.dcs-hero,.dcs-steps) *,
.dcs-force-reduce :is(.dcs-motion,.dcs-motion-host,.dcs-hero,.dcs-steps) *::before,
.dcs-force-reduce :is(.dcs-motion,.dcs-motion-host,.dcs-hero,.dcs-steps) *::after{animation:none!important;transition:none!important}
.dcs-force-reduce .dcs-step-progress i{width:100%}
/* The step circles are also named directly, so they stop even if they are not inside the .dcs-steps container (CI-11). */
.dcs-force-reduce .dcs-step-number{animation:none!important;background:var(--dcs-step-rest,#fffaf0);color:#0e1c2d;box-shadow:none}

/* scene: commerce-flow | source: site/assets/commerce-flow.svg */
.dcs-scene--commerce-flow .dcs-commerce-flow__parcel{animation:dcs-commerce-flow-parcel 6s infinite}
.dcs-scene--commerce-flow .dcs-commerce-flow__stamp{animation:dcs-commerce-flow-stamp 6s infinite}
.dcs-scene--commerce-flow .dcs-commerce-flow__route{stroke-dasharray:7 10;animation:dcs-commerce-flow-route 2s linear infinite}
@keyframes dcs-commerce-flow-parcel{0%,12%{transform:translateX(0)}45%,60%{transform:translateX(210px)}85%,100%{transform:translateX(0)}}
@keyframes dcs-commerce-flow-stamp{0%,35%,90%,100%{opacity:.2;transform:translateY(7px)}45%,80%{opacity:1;transform:translateY(0)}}
@keyframes dcs-commerce-flow-route{to{stroke-dashoffset:-34}}
@media(prefers-reduced-motion:reduce){.dcs-scene--commerce-flow .dcs-commerce-flow__stamp{opacity:1}}
.dcs-force-reduce .dcs-scene--commerce-flow .dcs-commerce-flow__stamp{opacity:1}

/* scene: lead-followup | source: site/assets/lead-followup.svg */
.dcs-scene--lead-followup .dcs-lead-followup__letter{animation:dcs-lead-followup-letter 6s infinite}
.dcs-scene--lead-followup .dcs-lead-followup__bell{transform-origin:491px 96px;animation:dcs-lead-followup-bell 6s infinite}
.dcs-scene--lead-followup .dcs-lead-followup__check{animation:dcs-lead-followup-check 6s infinite}
@keyframes dcs-lead-followup-letter{0%,10%{transform:translate(0,0)}40%,65%{transform:translate(157px,28px)}90%,100%{transform:translate(0,0)}}
@keyframes dcs-lead-followup-bell{0%,43%,75%,100%{transform:rotate(0)}48%,58%,68%{transform:rotate(12deg)}53%,63%{transform:rotate(-12deg)}}
@keyframes dcs-lead-followup-check{0%,38%,90%,100%{opacity:.18}48%,80%{opacity:1}}
@media(prefers-reduced-motion:reduce){.dcs-scene--lead-followup .dcs-lead-followup__check{opacity:1}}
.dcs-force-reduce .dcs-scene--lead-followup .dcs-lead-followup__check{opacity:1}

/* scene: reporting-check | source: site/assets/reporting-check.svg */
.dcs-scene--reporting-check .dcs-reporting-check__sheet{animation:dcs-reporting-check-sheet 7s infinite}
.dcs-scene--reporting-check .dcs-reporting-check__scan{animation:dcs-reporting-check-scan 7s infinite}
.dcs-scene--reporting-check .dcs-reporting-check__verified{animation:dcs-reporting-check-verified 7s infinite}
@keyframes dcs-reporting-check-sheet{0%,10%{transform:translateX(-20px);opacity:.3}30%,80%{transform:translateX(0);opacity:1}100%{transform:translateX(-20px);opacity:.3}}
@keyframes dcs-reporting-check-scan{0%,20%{transform:translateY(0);opacity:0}30%{opacity:1}65%{transform:translateY(90px);opacity:1}75%,100%{transform:translateY(90px);opacity:0}}
@keyframes dcs-reporting-check-verified{0%,55%,100%{opacity:.2}65%,85%{opacity:1}}
@media(prefers-reduced-motion:reduce){.dcs-scene--reporting-check .dcs-reporting-check__sheet,.dcs-scene--reporting-check .dcs-reporting-check__verified{opacity:1}.dcs-scene--reporting-check .dcs-reporting-check__scan{display:none}}
.dcs-force-reduce .dcs-scene--reporting-check .dcs-reporting-check__sheet,.dcs-force-reduce .dcs-scene--reporting-check .dcs-reporting-check__verified{opacity:1}.dcs-force-reduce .dcs-scene--reporting-check .dcs-reporting-check__scan{display:none}

/* scene: contact-route | source: site/assets/contact-route.svg */
.dcs-scene--contact-route .dcs-contact-route__route{stroke-dasharray:5 12;animation:dcs-contact-route-route 2s linear infinite}
.dcs-scene--contact-route .dcs-contact-route__plane{animation:dcs-contact-route-plane 7s ease-in-out infinite;transform-origin:center}
@keyframes dcs-contact-route-route{to{stroke-dashoffset:-34}}
@keyframes dcs-contact-route-plane{0%,100%{transform:translate(0,0) rotate(-3deg)}50%{transform:translate(20px,-12px) rotate(4deg)}}
