/* Versioned, feature-gated branded Testimonials page.
 * Shared editorial geometry is owned by brand-editorial.v2.css. */

.testimonials-brand-main {
  min-width: 0;
  padding-bottom: 0;
  background: var(--color-sage);
}

.testimonials-brand-main + .brand-footer {
  margin-top: 0;
}

.testimonials-brand {
  --testimonials-quotation-font-family: var(--font-display);
  --testimonials-quotation-font-style: normal;
  --testimonials-attribution-font-family: var(--font-display);
  --testimonials-attribution-font-style: normal;
  --testimonials-photo-attribution-color: var(--color-ivory);
  --testimonials-text-attribution-color: var(--color-cream);
  min-width: 0;
  color: var(--color-coffee);
  background: var(--color-sage);
  font-family: var(--font-interface);
}

.testimonials-brand h1,
.testimonials-brand h2,
.testimonials-brand p,
.testimonials-brand blockquote {
  margin-top: 0;
}

.testimonials-brand h1,
.testimonials-brand h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-wrap: balance;
}

.testimonials-hero .testimonials-picture,
.testimonials-contact .testimonials-picture,
.testimonials-media-fallback {
  display: block;
  width: 100%;
  height: 100%;
}

.testimonials-hero .testimonials-picture__image,
.testimonials-contact .testimonials-picture__image {
  display: block;
  max-width: 100%;
}

.testimonials-picture--cover,
.testimonials-picture--cover .testimonials-picture__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.testimonials-media-fallback--hero {
  background: radial-gradient(
      circle at 72% 24%,
      color-mix(in srgb, var(--color-cream) 28%, transparent),
      transparent 34%
    ),
    linear-gradient(145deg, var(--color-sage), var(--color-forest));
}

.testimonials-media-fallback--contact {
  background: linear-gradient(145deg, var(--color-coffee), var(--color-forest));
}

.testimonials-hero,
.testimonials-contact {
  color: var(--color-ivory);
  background: var(--section-base);
}

.testimonials-contact {
  position: relative;
  display: grid;
  isolation: isolate;
  overflow: hidden;
}

.testimonials-hero {
  align-items: end;
  text-align: center;
}

.testimonials-hero__media,
.testimonials-hero__veil,
.testimonials-contact__media,
.testimonials-contact__veil {
  position: absolute;
  inset: 0;
}

.testimonials-hero__media,
.testimonials-contact__media {
  z-index: -2;
}

.testimonials-hero__veil,
.testimonials-contact__veil {
  z-index: -1;
  background: var(--section-veil);
}

.testimonials-hero__content {
  max-width: 48rem;
  padding-block: clamp(9rem, 18vh, 13rem) clamp(3rem, 7vh, 5rem);
}

.testimonials-hero h1 {
  margin-bottom: var(--space-2);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 0.98;
  text-shadow: 0 0.2rem 1.4rem var(--color-coffee);
}

.testimonials-hero__subtitle {
  max-width: 36rem;
  margin: 0 auto;
  color: var(--color-cream);
  font-family: var(--font-script);
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  line-height: 1.15;
}

.testimonials-photo-section {
  padding-block: clamp(4.5rem, 10vw, 8rem);
  background: var(--color-sage);
}

.testimonials-photo-section__inner {
  width: 100%;
}

.testimonials-photo-list {
  display: grid;
  gap: clamp(2.5rem, 4vw, 3.5rem);
}

.testimonials-photo-card__ornament,
.testimonials-photo-card__separator {
  opacity: 0.82;
}

.testimonials-photo-card blockquote,
.testimonials-text-entry blockquote {
  font-family: var(--testimonials-quotation-font-family);
  font-style: var(--testimonials-quotation-font-style);
  font-weight: 400;
}

.testimonials-photo-card blockquote {
  margin: 0;
  width: 100%;
  max-width: none;
  overflow-wrap: anywhere;
}

.testimonials-photo-card blockquote p {
  width: 100%;
  max-width: none;
  margin-bottom: var(--space-3);
  white-space: normal;
  overflow-wrap: anywhere;
  font-size: clamp(0.95rem, 1.25vw, 1.075rem);
  line-height: 1.75;
}

.testimonials-photo-card__client,
.testimonials-text-entry__client {
  font-family: var(--testimonials-attribution-font-family);
  font-style: var(--testimonials-attribution-font-style);
}

.testimonials-photo-card__client {
  display: block;
  margin-bottom: 0;
  color: var(--testimonials-photo-attribution-color);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.testimonials-read-more {
  display: flex;
  justify-content: center;
  margin-top: clamp(3rem, 8vw, 6rem);
}

.testimonials-empty-state {
  max-width: 38rem;
  margin: 0 auto;
  text-align: center;
}

.testimonials-text-section {
  color: var(--color-ivory);
  background: var(--color-forest);
}

.testimonials-text-section__inner {
  width: 100%;
  container-type: inline-size;
}

.testimonials-frame .brand-ornament-frame__ornament {
  opacity: 0.72;
}

.testimonials-text-entry {
  min-width: 0;
}

.testimonials-text-entry blockquote {
  margin: 0;
  color: var(--color-cream);
  font-weight: 400;
  text-align: center;
  overflow-wrap: anywhere;
}

.testimonials-text-entry__client {
  display: block;
  margin-bottom: var(--space-3);
  color: var(--testimonials-text-attribution-color);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 400;
  line-height: 1.2;
}

.testimonials-text-entry blockquote p {
  margin-bottom: 0;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.7;
}

.testimonials-text-entry blockquote p + p {
  margin-top: 1em;
}

.testimonials-empty-state--light {
  color: var(--color-cream);
}

.testimonials-contact {
  align-items: end;
  min-height: clamp(32rem, 72svh, 48rem);
}

.testimonials-contact__veil {
  background: var(--section-veil);
}

.testimonials-contact__content {
  padding-block: clamp(7rem, 16vh, 11rem) clamp(4rem, 8vh, 6rem);
}

.testimonials-contact__content h2 {
  max-width: 38rem;
  margin-bottom: var(--space-3);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.98;
}

.testimonials-contact__content p {
  max-width: 40rem;
  margin-bottom: var(--space-5);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.7;
}

@media (max-width: 80rem) {
  .testimonials-photo-list {
    gap: 0;
  }
}

@media (max-width: 48rem) {
  .testimonials-contact__veil {
    background: var(--section-veil);
  }
}
