/* The home page's People "Spotlight" (lib/spotlight.php, spot.js). Tiles fade in one after another when
   the intake changes; nothing follows the scroll; with "reduce motion" nothing moves. */
.spot { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.spot-eyebrow { margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.spot-head { margin: 8px 0 10px; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.15; text-wrap: balance; background: linear-gradient(120deg, var(--ink) 30%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.spot-sub { margin: 0 0 20px; color: var(--ink2); max-width: 40ch; }
.spot-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.spot-pill { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: none; transition: background-color .25s, color .25s, border-color .25s; }
.spot-pill:hover { border-color: var(--accent); }
.spot-pill[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.spot-progress { height: 3px; margin: 0 0 18px; border-radius: 3px; background: var(--line); overflow: hidden; max-width: 260px; }
.spot-progress i { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.spot-progress i.is-run { transform: scaleX(1); transition: transform 8s linear; }
.spot-mix { display: flex; height: 10px; margin: 0; border-radius: 999px; overflow: hidden; background: var(--line); }
.spot-mix i { display: block; height: 100%; background: var(--dc, var(--accent)); }
.spot-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 22px; font-size: 13px; color: var(--ink2); }
.spot-legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 3px; background: var(--dc, var(--accent)); }
.spot-foot { display: flex; align-items: center; gap: 14px; margin: 0; }
.spot-cta { font-weight: 700; color: var(--accent); text-decoration: none; }
.spot-cta span { display: inline-block; transition: transform .3s var(--soft); }
.spot-cta:hover span { transform: translateX(3px); }
.spot-pause { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.spot-i-pause { width: 10px; height: 12px; border: solid currentColor; border-width: 0 3px; }
.spot-pause.is-paused .spot-i-pause { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }
.spot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.spot-tile { --dc: var(--accent); position: relative; display: grid; justify-items: center; align-content: start; gap: 6px; padding: 20px 12px 16px; text-align: center; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 10px 30px -18px rgba(20, 14, 60, .35); color: var(--ink); text-decoration: none; overflow: hidden; transition: transform .3s var(--soft), box-shadow .3s var(--soft); }
.spot-tile:hover, .spot-tile:focus-visible { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(20, 14, 60, .45); }
.spot-tile::before { content: ""; position: absolute; inset: 0 0 auto; height: 46px; background: linear-gradient(180deg, color-mix(in srgb, var(--dc) 22%, transparent), transparent); pointer-events: none; }
.spot-tile.is-in { animation: spot-in .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes spot-in { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.spot-av { position: relative; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; font-weight: 800; font-size: 1.15rem; color: var(--dc); background: color-mix(in srgb, var(--dc) 12%, var(--paper)); box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--dc); }
.spot-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.spot-name { position: relative; margin-top: 6px; font-weight: 800; overflow-wrap: anywhere; }
.spot-role { position: relative; font-size: 12.5px; line-height: 1.35; color: var(--ink2); }
.spot-st { position: relative; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; background: color-mix(in srgb, var(--dc) 14%, transparent); color: var(--dc); }
@media (max-width: 860px) {
  .spot { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .spot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .spot-tile { padding: 18px 10px 14px; }
  .spot-av { width: 60px; height: 60px; font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .spot-tile.is-in { animation: none; } .spot-progress i.is-run { transition: none; } }
/* without JavaScript the bar has no widths: it shows once spot.js has measured it */
.spot:not(.is-ready) .spot-mix { display: none; }
