import type { TestimonialItem } from "@/types";

/** Understated proof per Sprint 1 §12 — plain attribution, no star ratings or celebratory framing. */
export function Testimonial({ quote, name, role, organization }: TestimonialItem) {
  return (
    <figure className="border-l-2 border-primary pl-6">
      <blockquote className="font-display text-h3 font-normal italic leading-snug text-ink">
        “{quote}”
      </blockquote>
      <figcaption className="mt-4 text-body-sm text-slate">
        <span className="font-medium text-ink-soft">{name}</span> — {role}, {organization}
      </figcaption>
    </figure>
  );
}
