/* Template 02 — written and audio evidence */
.testimonials-hero { min-height: 520px; background: var(--ip-navy); }
.testimonials-hero-inner { gap: 48px; padding-block: 136px 72px; }
.testimonials-hero-copy .h-display { font-family: var(--f-semibold); font-weight: 650; line-height: 1.5; }
.testimonials-hero-copy > p { line-height: 2; }
.testimonials-hero-links a { min-height: 40px; padding: 8px 16px; border-radius: 12px; transition: color 280ms var(--ease), background 280ms var(--ease), border-color 280ms var(--ease); }
.testimonials-manifesto { border-radius: 20px; background: rgba(255,255,255,.055); box-shadow: none; }
.testimonials-manifesto p { font-family: var(--f-medium); font-weight: 500; }

/* ===== 1. Client Audio Testimonials — Soft Blue ===== */
.audio-stories { padding-block: 96px; background: var(--ip-ivory); }
.audio-stories .audio-story-card {
  background: var(--ip-white);
  border-color: var(--ip-border);
  box-shadow: var(--ip-shadow);
}
.audio-stories .audio-story-card:hover { background: var(--ip-white); border-color: rgba(212,175,55,.35); box-shadow: var(--ip-shadow-hover); }
.audio-stories .audio-story-index { color: var(--c-gold-dim); }
.audio-stories .audio-story-person h3 { color: var(--ip-navy); }
.audio-stories .audio-story-person p { color: var(--ip-muted); }
.audio-stories .player-label { color: var(--ip-navy); opacity: .85; }
.audio-stories .player-meta { color: var(--ip-muted); }
.audio-story-person h3 { font-family: var(--f-semibold); font-weight: 600; }
.case-audio-player { border-radius: 14px; }
.player-play-btn { width: 48px; height: 48px; border-radius: 12px; }

/* ===== 2. Featured Audio Interviews — Warm Ivory ===== */
.interview-stories { padding-block: 110px; background: var(--ip-ivory); }
.interview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.interview-card {
  display: flex;
  flex-direction: column;
  padding: 40px;
  border: 1px solid rgba(216,174,53,.22);
  border-radius: 20px;
  background: var(--ip-white);
  box-shadow: var(--ip-shadow);
  transition: transform 280ms var(--ease), border-color 280ms var(--ease), box-shadow 280ms var(--ease);
}
.interview-card:hover { transform: translateY(-3px); border-color: rgba(216,174,53,.42); box-shadow: var(--ip-shadow-hover); }
.interview-index {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--c-gold-dim);
  font-family: var(--f-semibold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
}
.interview-index::before { content: ''; width: 24px; height: 1px; background: var(--ip-gold); }
.interview-card h3 { margin: 0 0 14px; color: var(--ip-navy); font-family: var(--f-semibold); font-size: 19px; font-weight: 650; line-height: 1.75; }
.interview-card > p { margin: 0 0 26px; color: var(--ip-muted); font-size: 15px; line-height: 1.95; }
.interview-player { margin-top: auto; }
.interview-player .player-label { color: var(--ip-navy); opacity: .8; }
.interview-player .player-meta { color: var(--ip-muted); }
.interview-player .player-play-btn[disabled] { opacity: .4; cursor: not-allowed; }
.interview-player .player-play-btn[disabled]:hover { transform: none; box-shadow: none; background: #d4af37; }
.interview-player .player-seek[disabled] { cursor: not-allowed; pointer-events: none; }

/* ===== 3. Written Testimonials — Navy ===== */
.written-stories { padding-block: 96px; background: var(--ip-navy); }
.testimonial-section-head { margin-bottom: 48px; }
.testimonial-section-head .h-section { font-family: var(--f-semibold); font-weight: 650; }
.testimonial-section-head > p { color: var(--ip-muted); line-height: 2; }
.written-stories-grid { gap: 24px; }
.written-story-card {
  min-height: 330px;
  padding: 32px;
  border: 1px solid var(--ip-border);
  border-radius: 18px;
  background: var(--ip-white);
  box-shadow: var(--ip-shadow);
}
.written-story-card blockquote { color: var(--ip-ink); font-size: 15px; line-height: 2.05; }
.written-story-card footer strong { font-family: var(--f-semibold); font-weight: 600; }
.story-topic { font-weight: 500; }

.written-stories .written-story-card:not(.story-card-featured) {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.14);
  box-shadow: none;
}
.written-stories .written-story-card:not(.story-card-featured):hover { border-color: rgba(212,175,55,.4); }
.written-stories .written-story-card:not(.story-card-featured) blockquote { color: rgba(231,234,241,.86); }
.written-stories .written-story-card:not(.story-card-featured) footer { border-top-color: rgba(255,255,255,.14); }
.written-stories .written-story-card:not(.story-card-featured) footer strong { color: #fff; }
.written-stories .written-story-card:not(.story-card-featured) footer small { color: rgba(231,234,241,.55); }
.written-stories .written-story-card:not(.story-card-featured) .story-topic { color: var(--c-gold-light); background: rgba(212,175,55,.16); }
.written-stories .written-story-card:not(.story-card-featured) .story-avatar { background: rgba(255,255,255,.09); color: var(--c-gold-light); }
.written-stories .story-card-featured footer strong { color: var(--c-obsidian); }

/* ===== Final CTA (unchanged) ===== */
.testimonials-page .testimonial-cta {
  padding-block: 96px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.58), transparent 58%),
    linear-gradient(145deg, var(--ip-ivory), var(--ip-white));
}
.testimonials-page .testimonial-cta-inner {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
}
.testimonials-page .testimonial-cta .eyebrow { margin-bottom: 16px; color: var(--ip-navy); }
.testimonials-page .testimonial-cta h2 { max-width: 720px; color: var(--ip-navy); font-family: var(--f-semibold); font-size: clamp(28px, 3.6vw, 40px); font-weight: 650; line-height: 1.65; text-wrap: balance; }
.testimonials-page .testimonials-cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.testimonials-page .testimonials-cta-button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border: 1px solid var(--ip-gold);
  border-radius: 14px;
  font-family: var(--f-medium);
  font-size: 15px;
  font-weight: 500;
  transition: transform 280ms var(--ease), background-color 280ms var(--ease), border-color 280ms var(--ease), color 280ms var(--ease), box-shadow 280ms var(--ease);
}
.testimonials-page .testimonials-cta-button:hover { transform: translateY(-2px); }
.testimonials-page .testimonials-cta-button:focus-visible { outline: 3px solid rgba(212,175,55,.48); outline-offset: 3px; }
.testimonials-page .testimonials-cta-primary { color: var(--ip-navy); background: var(--ip-gold); box-shadow: 0 10px 28px rgba(156,127,40,.18); }
.testimonials-page .testimonials-cta-primary:hover { background: var(--ip-gold-soft); }
.testimonials-page .testimonials-cta-secondary { color: var(--ip-navy); border-color: rgba(11,23,49,.3); background: transparent; }
.testimonials-page .testimonials-cta-secondary:hover { color: #fff; border-color: var(--ip-navy); background: var(--ip-navy); }

@media (max-width: 920px) {
  .testimonials-hero-inner { grid-template-columns: 1fr; padding-block: 120px 64px; }
  .testimonials-manifesto { max-width: 640px; }
  .written-stories, .audio-stories, .interview-stories { padding-block: 64px; }
  .interview-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .testimonials-hero { min-height: auto; }
  .testimonials-hero-inner { padding-block: 112px 48px; }
  .testimonials-hero-links { gap: 8px; }
  .testimonials-hero-links a { width: 100%; text-align: center; }
  .written-story-card, .audio-story-card { min-height: 0; padding: 24px; }
  .audio-story-card { gap: 24px; }
  .interview-card { padding: 28px; }
  .testimonials-page .testimonial-cta { padding-block: 64px; }
  .testimonials-page .testimonials-cta-actions { width: 100%; flex-direction: column; }
  .testimonials-page .testimonials-cta-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .testimonials-hero-orbit { animation: none !important; }
  .written-story-card, .audio-story-card, .interview-card { transition-duration: .01ms !important; }
  .interview-card:hover { transform: none; }
  .testimonials-page .testimonials-cta-button { transition-duration: .01ms !important; }
  .testimonials-page .testimonials-cta-button:hover { transform: none; }
}
