/* ═══════════════════════════════════════════════════════════════
   Client stories (rendered by deploy/build-testimonials.py).
   Self-contained colours so it looks the same on pages that don't load
   styles.css (the printable workshop catalogue has its own palette).
═══════════════════════════════════════════════════════════════ */
.ts-section { padding: 16px 0 8px; }
.ts-section--standalone { padding: 90px 0; }
.ts-head { max-width: 720px; margin-bottom: 28px; }
.ts-kicker {
  display: inline-block; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: #2BE0D0; margin-bottom: 12px;
}
.ts-title { font-family: Sora, "IBM Plex Sans", sans-serif; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.2; color: #fff; margin: 0; letter-spacing: -0.01em; }
.ts-title span { color: #2BE0D0; }

.ts-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 0;
  border: 1px solid rgba(43, 224, 208, 0.28); border-radius: 18px; overflow: hidden;
  background: linear-gradient(135deg, rgba(43, 224, 208, 0.06), rgba(8, 12, 20, 0.6) 55%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}
.ts-quote { padding: 40px 40px 34px; display: flex; flex-direction: column; gap: 20px; position: relative; }
.ts-quote::before {
  content: "\201C"; position: absolute; top: 6px; left: 30px; font-family: Georgia, serif; font-size: 7rem; line-height: 1;
  color: rgba(43, 224, 208, 0.16); pointer-events: none;
}
.ts-quote blockquote { margin: 0; position: relative; }
.ts-quote blockquote p { margin: 0 0 14px; color: #E8EDF4; font-family: "IBM Plex Sans", sans-serif; font-size: 1.08rem; line-height: 1.7; }
.ts-quote blockquote p.ts-lead { font-size: 1.22rem; color: #fff; font-weight: 500; }
.ts-person { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.ts-avatar {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: rgba(43, 224, 208, 0.12); border: 1px solid rgba(43, 224, 208, 0.5); color: #2BE0D0;
  font-family: Sora, sans-serif; font-weight: 700; font-size: 0.95rem; overflow: hidden;
}
.ts-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ts-name { display: block; color: #fff; font-family: Sora, sans-serif; font-weight: 600; font-size: 1rem; }
.ts-role { display: block; color: #8A97A8; font-size: 0.85rem; line-height: 1.45; margin-top: 2px; }
.ts-link {
  display: inline-flex; align-items: center; gap: 6px; width: max-content; max-width: 100%;
  color: #2BE0D0; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.78rem; letter-spacing: 0.04em;
  text-decoration: underline; text-underline-offset: 3px;
}
.ts-link:hover { color: #fff; }
.ts-link:focus-visible { outline: 2px solid #2BE0D0; outline-offset: 3px; }

.ts-project { padding: 34px 36px; border-left: 1px solid rgba(43, 224, 208, 0.16); background: rgba(6, 10, 18, 0.55); }
.ts-chip {
  display: inline-block; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.68rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: #2BE0D0; background: rgba(43, 224, 208, 0.1); border: 1px solid rgba(43, 224, 208, 0.4);
  border-radius: 999px; padding: 4px 12px; margin-bottom: 14px;
}
.ts-project h3, .ts-project h4 { font-family: Sora, sans-serif; font-size: 1.12rem; line-height: 1.35; color: #fff; margin: 0 0 16px; }
.ts-facts { margin: 0 0 18px; display: grid; gap: 12px; }
.ts-facts div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
.ts-facts dt { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: #8A97A8; padding-top: 3px; }
.ts-facts dd { margin: 0; color: #C9D3DE; font-size: 0.9rem; line-height: 1.6; }
.ts-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; list-style: none; padding: 0; }
.ts-tags li { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.68rem; color: #C9D3DE; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 6px; padding: 3px 8px; }
.ts-figure { margin: auto 0 0; padding-top: 8px; }
.ts-figure img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.1); }
.ts-figure figcaption { font-size: 0.74rem; color: #8A97A8; margin-top: 8px; line-height: 1.5; }

@media (max-width: 900px) {
  .ts-card { grid-template-columns: minmax(0, 1fr); }
  .ts-project { border-left: 0; border-top: 1px solid rgba(43, 224, 208, 0.16); }
}
@media (max-width: 520px) {
  .ts-quote { padding: 30px 22px 26px; }
  .ts-project { padding: 26px 22px; }
  .ts-quote blockquote p.ts-lead { font-size: 1.08rem; }
  .ts-facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
@media print {
  .ts-card { box-shadow: none; background: #fff; border-color: #80cbc4; }
  .ts-quote blockquote p, .ts-quote blockquote p.ts-lead, .ts-name, .ts-project h3, .ts-project h4 { color: #111; }
  .ts-project { background: #fff; }
  .ts-facts dd, .ts-role { color: #333; }
}
