/* ==========================================================================
   Technology stack — domain cards with technology pills
   ========================================================================== */

.stack { padding: 96px 0; }
.stack .section-head { margin-bottom: 40px; }
.stack__lead { max-width: 720px; margin-top: 16px; }

.stack__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.stack-card {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.stack-card:hover { border-color: var(--red); box-shadow: var(--shadow-sm); }

.stack-card__label { color: var(--red); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.stack-card h3 { font-size: 18px; font-weight: 700; color: var(--heading); letter-spacing: -.01em; line-height: 1.25; }

.stack-card__tech { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.stack-card__tech li {
  font-size: 13px; font-weight: 600; color: var(--heading);
  background: color-mix(in srgb, var(--red) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--red) 24%, transparent);
  border-radius: 999px; padding: 4px 12px; white-space: nowrap;
}

.stack-card p { font-size: 14px; line-height: 22px; color: var(--text-soft); margin-top: auto; }

.stack__note {
  margin-top: 28px; padding: 18px 24px; max-width: 880px;
  border-left: 3px solid var(--red);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 15px; line-height: 24px; color: var(--text);
}

@media (max-width: 960px) { .stack__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .stack { padding: 56px 0; } .stack__grid { grid-template-columns: 1fr; } }
