/* Styles for custom_software/index.twig only. Shared site styles are in assets/site.css. */

/* How a project runs: numbered steps */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li {
  counter-increment: step; position: relative; padding: 16px 18px 16px 64px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
}
.steps li::before {
  content: counter(step); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; color: var(--glow-ink); background: var(--glow);
}
.steps b { display: block; font-size: 17px; }
.steps span { color: var(--soft); font-size: 15px; }

/* Success story: the block diagram keeps its shape, the screenshots sit in a row below */
#textile .split { align-items: start; }
#textile h3 { font-size: 20px; margin-bottom: 8px; }
.tshot { display: block; margin: 0; position: sticky; top: calc(var(--bar-h, 60px) + 20px); }
.tshot button { aspect-ratio: auto; width: 100%; }
.tshot img { height: auto; object-fit: contain; }
.tgallery { margin-top: 28px; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.tgallery img { object-fit: cover; object-position: top left; }
