/* ── IN THEIR WORDS — testimonials marquee (light theme) ── */
.testimonials-section { padding-bottom: 0; }

.tms-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 48px;
}
.tms-intro p {
  margin: 0;
  font-size: clamp(13px, 1.3vw, 17px);
  color: #5a5450;
  max-width: 340px;
  line-height: 1.6;
  letter-spacing: -.02em;
}
.tms-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  background: var(--orange);
  color: #0b0b0b;
  font: 600 11px/1 Montserrat, Arial, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  flex-shrink: 0;
  transition: background .2s, transform .2s;
}
.tms-cta:hover { background: #e05500; transform: translateY(-2px); }

/* Marquee grid */
.tms-grid {
  border-top: 1px solid #d4d0c6;
}
.tms-marquee {
  position: relative;
  display: flex;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #f4f2ec 10%, #f4f2ec 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #f4f2ec 10%, #f4f2ec 90%, transparent);
}
.tms-track {
  display: flex;
  width: max-content;
  flex: none;
  will-change: transform;
}
.tms-group {
  display: flex;
  flex: none;
  align-items: stretch;
}
.tms-card {
  width: 400px;
  flex: 0 0 400px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #d4d0c6;
  border-bottom: 1px solid #d4d0c6;
  background: #faf8f3;
  padding: 28px;
  text-align: left;
  font-family: Montserrat, Arial, sans-serif;
}
.tms-card.featured {
  background: #fff;
  border-color: #c0b8a8;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

/* Company nameplate (replaces logo image) */
.tms-company {
  display: inline-block;
  font: 600 10px/1 Montserrat, Arial, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #c04000;
  margin-bottom: 18px;
  min-height: 22px;
}

blockquote.tms-quote {
  margin: 0;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
blockquote.tms-quote p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  letter-spacing: -.025em;
  font-weight: 500;
  color: #2a2520;
}

.tms-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
}
/* Initials avatar — works with or without a photo */
.tms-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #ede8db;
  color: #6a5e4e;
  font: 600 13px/1 Montserrat, Arial, sans-serif;
  letter-spacing: .04em;
  box-shadow: 0 0 0 1px #d4d0c6;
  overflow: hidden;
}
.tms-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.tms-person-details { flex: 1; min-width: 0; }
.tms-person-details p { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tms-name  { font-size: 13px; font-weight: 600; line-height: 20px; color: #191918; }
.tms-role  { font-size: 11px; font-weight: 400; line-height: 16px; color: #7a6e5e; }

@media (max-width: 767px) {
  .tms-intro { padding-bottom: 32px; flex-direction: column; align-items: flex-start; }
  .tms-card  { width: min(88vw, 340px); flex-basis: min(88vw, 340px); padding: 22px; }
  blockquote.tms-quote p { font-size: 13px; }
}
