/* SPOT case study: "What we heard" (Jen, Nov 23). The quote motion from her pitch deck,
   in site branding: a viz-tile, DM Sans 400, --ink quotes, --accent viewfinder.
   Quotes sit spread over the tile and can overlap a little, since only the framed one ever
   shows. Move one with its --x / --y (left / top) and --w (max width). Motion: spot-quotes.js. */

.sq { margin: 44px 0 0; padding: 22px 26px 20px; }
.sq-stage { position: relative; aspect-ratio: 16 / 6.6; }

.sq-q {
  position: absolute; left: var(--x, 6%); top: var(--y, 12%); max-width: var(--w, 60%);
  margin: 0; padding: 0;
  font: 400 clamp(20px, 2.35vw, 30px)/1.18 "DM Sans", sans-serif;
  letter-spacing: -.01em; color: var(--ink); text-wrap: balance;
  opacity: 0; filter: blur(6px);
  transition: opacity .5s ease, filter .5s ease;
}
.sq-q.lit { opacity: 1; filter: none; transition: opacity .55s ease .05s, filter .55s ease .05s; }

.sq-vf {
  position: absolute; inset: 0; width: 100%; height: 100%;
  overflow: visible; pointer-events: none;
  opacity: 0; transition: opacity .4s ease;
}
.sq-vf.go { opacity: 1; }
.sq-vf path { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: square; }
.sq-vf circle { fill: var(--accent); }

.sq-src { margin-top: 10px; }

/* Narrow screens: no room to spread them out, so every quote takes the same centred spot
   (only one shows at a time anyway). */
@media (max-width: 700px) {
  .sq { padding: 18px 18px 16px; }
  .sq-stage { aspect-ratio: auto; height: 230px; }
  .sq-q { left: 8%; right: 8%; top: 50%; max-width: none; transform: translateY(-50%); font-size: 22px; text-align: center; }
}

/* Reduced motion: the first quote, still, no brackets. */
.sq.is-still .sq-q:first-child { opacity: 1; filter: none; }
.sq.is-still .sq-vf { display: none; }
