/* SPOT case study (Jen, Nov 28): problem stats as three tiles, each led by a SPOT Inkline icon.
   Black felt-marker ink (white in dark mode) and the SPOT yellow dot, drawn on like the app's icons. Pairs with spot-stat-icons.js. */
.pb.pb-icons { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto; }
.pb-icons .viz-tile { padding: 28px 28px 26px; }
.pb-icons .ink { display: block; width: 68px; height: 68px; margin: 0 0 26px -6px; overflow: visible; color: var(--ink); }
.pb-icons .st-num .count { font-size: clamp(34px, 3.4vw, 48px); }
.pb-icons .viz-note { margin-top: auto; padding-top: 14px; }

.ink .icl { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.ink.on .icl { transition: stroke-dashoffset var(--d, 700ms) cubic-bezier(.2, .7, .2, 1) var(--delay, 0ms); stroke-dashoffset: 0; }
.ink .idot { fill: #FBC909; transform-box: fill-box; transform-origin: center; opacity: 0; transform: scale(.6); }
.ink.on .idot { transition: opacity 120ms ease var(--dd, 700ms), transform 120ms ease var(--dd, 700ms); opacity: 1; transform: none; }
.ink.play .idot.pop { animation: sik-pop 360ms ease-out; }
.ink.play .idot.drop { animation: sik-drop 520ms cubic-bezier(.3, .6, .4, 1); }
@keyframes sik-pop { 0% { transform: scale(.6); } 60% { transform: scale(1.25); } 100% { transform: none; } }
@keyframes sik-drop { 0% { transform: translateY(-14px); opacity: 0; } 60% { transform: translateY(2px); opacity: 1; } 100% { transform: none; } }

@media (max-width: 760px) {
  .pb.pb-icons { grid-template-columns: minmax(0, 1fr); }
  .pb-icons .viz-tile { padding: 22px 20px; }
  .pb-icons .ink { width: 56px; height: 56px; margin-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .ink .icl { stroke-dashoffset: 0 !important; transition: none !important; }
  .ink .idot { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
}
