/* =========================================================
   Testimonial Cards — static card grid
   ========================================================= */

:root {
  --tc-y: #E2F542;
  --tc-on-y: #050505;
  --tc-mono: ui-monospace, SFMono-Regular, "Consolas", monospace;
}

.tc-section {
  width: min(980px, calc(100vw - 48px));
  margin-inline: auto;
  padding-top: 196px;
  position: relative;
  overflow: hidden;
}

.tc-section .section-head {
  width: min(700px, 100%);
}

/* Eyebrow lens - tiny inline bullet */
.tc-section .eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tc-section .eyebrow .tc-lens {
  width: 16px;
  height: 7px;
  flex-shrink: 0;
}

.tc-section .eyebrow .tc-lens ellipse {
  fill: var(--tc-on-y);
}

.tc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.tc-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 26px 26px 22px;
  border-radius: 20px;
  min-height: 250px;
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow:
    0 1px 2px rgba(0, 6, 20, 0.04),
    0 8px 24px -12px rgba(0, 6, 20, 0.08);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.tc-card:hover {
  box-shadow:
    0 1px 2px rgba(0, 6, 20, 0.06),
    0 12px 32px -10px rgba(0, 6, 20, 0.12);
  transform: translateY(-2px);
}

.tc-card blockquote {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.012em;
  font-weight: 400;
  flex: 1;
}

.tc-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 500 11px/1 var(--tc-mono);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
}

.tc-tag .tc-lens {
  width: 15px;
  height: 6px;
}

.tc-tag .tc-lens ellipse {
  fill: var(--brand-ink);
}

.tc-tag-ctx {
  text-transform: none;
  letter-spacing: 0;
  padding-left: 8px;
  border-left: 1px solid currentColor;
  opacity: 0.6;
}

.tc-who {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.tc-who img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.tc-who-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.tc-who-name {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.tc-who-handle {
  font: 400 12px/1.2 var(--tc-mono);
  color: var(--muted-light);
}

.tc-src {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 1px solid var(--border);
  color: var(--ink);
  flex-shrink: 0;
  transition: border-color 150ms ease, background 150ms ease;
}

.tc-card:hover .tc-src {
  border-color: var(--border-strong);
  background: var(--soft);
}

.tc-xlogo {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* Featured card */
.tc-card--feat {
  grid-column: span 2;
  background: var(--tc-y);
  border: none;
  color: var(--tc-on-y);
  padding: 34px 36px 26px;
  position: relative;
  overflow: hidden;
}

.tc-card--feat::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -5%;
  width: 50%;
  height: 140%;
  background:
    radial-gradient(ellipse 60px 25px at 50% 30%, rgba(5, 5, 5, 0.08) 0%, transparent 100%),
    radial-gradient(ellipse 80px 35px at 30% 50%, rgba(5, 5, 5, 0.06) 0%, transparent 100%),
    radial-gradient(ellipse 100px 40px at 70% 70%, rgba(5, 5, 5, 0.05) 0%, transparent 100%);
  pointer-events: none;
}

.tc-card--feat:hover {
  box-shadow:
    0 1px 2px rgba(0, 6, 20, 0.08),
    0 16px 40px -10px rgba(0, 6, 20, 0.18);
}

.tc-card--feat blockquote {
  font-size: 30px;
  line-height: 1.22;
  letter-spacing: -0.03em;
  font-weight: 500;
  max-width: 440px;
}

.tc-card--feat .tc-tag {
  color: var(--tc-on-y);
}

.tc-card--feat .tc-tag .tc-lens ellipse {
  fill: var(--tc-on-y);
}

.tc-card--feat .tc-who {
  border-color: rgba(5, 5, 5, 0.18);
}

.tc-card--feat .tc-who-handle {
  color: rgba(5, 5, 5, 0.65);
}

.tc-card--feat .tc-src {
  border-color: rgba(5, 5, 5, 0.25);
  background: rgba(226, 245, 66, 0.8);
}

.tc-card--feat:hover .tc-src {
  background: rgba(226, 245, 66, 0.95);
}

/* Tablet breakpoint */
@media (max-width: 900px) {
  .tc-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .tc-card--feat {
    grid-column: span 2;
  }
}

/* Mobile breakpoint */
@media (max-width: 600px) {
  .tc-section {
    width: calc(100vw - 32px);
    padding-top: 140px;
  }
  
  .tc-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .tc-card--feat {
    grid-column: auto;
  }
  
  .tc-card {
    padding: 22px 20px 18px;
    min-height: 0;
    gap: 16px;
  }
  
  .tc-card blockquote {
    font-size: 17px;
  }
  
  .tc-card--feat {
    padding: 26px 22px 20px;
  }
  
  .tc-card--feat::before {
    width: 60%;
    right: -15%;
  }
  
  .tc-card--feat blockquote {
    font-size: 23px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .tc-card {
    transition: none;
  }
  
  .tc-card:hover {
    transform: none;
  }
}
