/* ==========================================================================
   Block: testimonial feature (template-parts/blocks/testimonial-feature.php)
   Story with a coral rule (as the hero testimonial); pull quote in Playfair italic, Sugar Plum, with a large Bisque quote mark behind it.
   From 1025px: story across two thirds, pull quote in the last third.
   ========================================================================== */
.testimonial-feature { display: grid; gap: var(--space-fluid-sm) var(--column-gap); align-items: center; }
.testimonial-feature > * { min-width: 0; }
.testimonial-feature__story {
  display: grid;
  gap: var(--space-2);
  margin: 0;
  padding-inline-start: clamp(20px, 2.5vw, 32px);
  border-inline-start: 2px solid var(--color-warm-coral);
}
.testimonial-feature__quote { display: grid; gap: 14px; margin: 0; font-size: var(--fs-text); font-style: italic; line-height: 1.6; }
.testimonial-feature__cite { font-weight: var(--font-weight-strong); }
.testimonial-feature__detail { display: block; font-weight: var(--font-weight-body); }

.testimonial-feature__pull {
  --pull-mark-size: clamp(150px, 20.8vw, 300px); /* 300px max (client, 17 Nov 2026) */
  position: relative;
  isolation: isolate;
  margin: 0;
  display: grid;
  gap: 12px;
  /* Playfair's mark is 0.44em wide and 0.26em tall: the text starts 60% across it and its
     first line overlaps the lower half, as in the supplied mock-up */
  padding-block-start: calc(var(--pull-mark-size) * 0.09);
  padding-inline-start: calc(var(--pull-mark-size) * 0.26);
}
/* Large decorative quote mark behind the first line: Playfair Display upright, Bisque.
   Generated content with empty alt text, so screen readers don't announce it. */
.testimonial-feature__pull::before {
  content: "\201C" / "";
  position: absolute;
  z-index: -1;
  inset-block-start: -0.19em; /* puts the top of the glyph's ink, not its line box, at the figure's top */
  inset-inline-start: -0.05em;
  color: var(--color-bisque);
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: var(--font-weight-heading);
  font-size: var(--pull-mark-size);
  line-height: 1;
  pointer-events: none;
}
.testimonial-feature__pull blockquote { margin: 0; }
.testimonial-feature__pull p {
  max-width: none;
  color: var(--color-accent-text); /* Sugar Plum 5.4:1 on white */
  font-family: var(--font-heading);
  font-style: var(--font-heading-style-accent);
  font-weight: var(--font-weight-heading);
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
  line-height: 1.2;
  text-wrap: balance;
}
.testimonial-feature__pull figcaption { font-weight: var(--font-weight-strong); }
.block--bg-midnight .testimonial-feature__pull p { color: var(--color-lilac); }
.block--bg-bisque .testimonial-feature__pull::before { color: var(--color-white); }
.block--bg-midnight .testimonial-feature__pull::before { color: color-mix(in srgb, var(--color-lilac) 18%, var(--color-midnight)); }

@media (min-width: 1025px) {
  .testimonial-feature { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .testimonial-feature--single { grid-template-columns: minmax(0, 1fr); max-width: 52rem; }
}
