/* Proshine motion: the logo's spray gun paints things in. Everything here is off under reduced motion. */
@property --p { syntax:'<number>'; inherits:true; initial-value:1; }

/* ---------- Buttons: plain navy, blue on hover ---------- */
.coat{display:inline-block;background:var(--navy);color:#fff;font:700 16px var(--body);padding:13px 22px;border:0;border-radius:4px;
  text-decoration:none;cursor:pointer;transition:background-color .15s}
.coat:hover{background:var(--blue)}
.coat:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.coat.sm{padding:9px 16px;font-size:15px}
.dots{font-weight:700;color:var(--blue-ink);text-underline-offset:4px}
.dots:hover{color:var(--navy)}

/* ---------- Spray reveal: primer-grey text, sprayed blue by the moving gun ---------- */
.sprayed{position:relative;display:inline-block;--p:1}
.sprayed .coatline{position:relative;display:inline-block;clip-path:inset(-10% calc((1 - var(--p)) * 100%) -10% -2%)}
.sprayed .primer{position:absolute;inset:0;color:#d3d9e6;pointer-events:none}
/* The gun faces left, exactly as in the logo, and travels left to right: the tip of its spray
   sits on the paint edge, the gun just ahead of it over the grey primer. */
.sprayed .gun{position:absolute;left:calc(var(--p) * 100%);top:.02em;width:1.05em;height:auto;pointer-events:none;opacity:0}
.sprayed .mist{display:none}
.sprayed.go{animation:spray var(--dur,1.3s) cubic-bezier(.45,.05,.4,1) forwards}
.sprayed.go .gun{animation:show var(--dur,1.3s) linear forwards}
.sprayed.ready:not(.go){--p:0}
@keyframes spray{from{--p:0}to{--p:1}}
@keyframes show{0%{opacity:0}8%{opacity:1}88%{opacity:1}100%{opacity:0}}

@media (prefers-reduced-motion:reduce){
  .sprayed .gun,.sprayed .mist{display:none}
  .sprayed,.sprayed.ready:not(.go){--p:1}
  .sprayed.go{animation:none}
}
