/* Page-scoped, permission-based homeowner letter. No platform rating implied. */
.homeowner-testimonial-section {
  background: var(--paper);
  padding: clamp(56px, 7vw, 104px) 0 0;
  scroll-margin-top: 112px;
}

.homeowner-testimonial {
  border: 1px solid #d8d0c1;
  display: grid;
  grid-template-columns: minmax(250px, .78fr) minmax(0, 1.6fr);
}

.homeowner-testimonial-intro {
  background: #181919;
  color: #f7f4ed;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: clamp(32px, 4vw, 60px);
}

.homeowner-testimonial-intro .overline {
  color: var(--gold-light);
  font-size: .64rem;
  letter-spacing: .15em;
  line-height: 1.7;
}

.homeowner-testimonial-quote-mark {
  color: var(--gold-light);
  display: block;
  font-family: Georgia, serif;
  font-size: 7.5rem;
  line-height: .8;
  margin: 38px 0 8px -5px;
}

.homeowner-testimonial-intro h2 {
  color: #f7f4ed;
  font-size: clamp(2.75rem, 4.2vw, 4.4rem);
  line-height: 1.03;
  margin: 0;
  max-width: 10ch;
  text-wrap: balance;
}

.homeowner-testimonial-context {
  border-top: 1px solid #514939;
  margin-top: 60px;
  padding-top: 28px;
}

.homeowner-testimonial-context p {
  color: #c8c4ba;
  font-size: .82rem;
  line-height: 1.85;
  margin: 0;
}

.homeowner-testimonial-context .homeowner-testimonial-project {
  color: var(--gold-light);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.homeowner-testimonial-letter {
  background: #fcfaf5;
  margin: 0;
  min-width: 0;
  padding: clamp(32px, 4.5vw, 64px);
}

.homeowner-testimonial-label {
  border-bottom: 1px solid #dbd2c2;
  color: #765a24;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1.7;
  margin: 0 0 28px;
  padding-bottom: 18px;
  text-transform: uppercase;
}

.homeowner-testimonial-letter blockquote {
  margin: 0;
  max-width: 68ch;
}

.homeowner-testimonial-letter blockquote p {
  color: #383b3a;
  font-family: var(--body);
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.85;
  margin: 0 0 22px;
  padding: 0;
  text-transform: none;
}

.homeowner-testimonial-letter blockquote .homeowner-testimonial-permission {
  color: #69665f;
  font-size: .81rem;
  line-height: 1.8;
  margin: 26px 0 0;
}

.homeowner-testimonial-letter figcaption {
  border-top: 1px solid #dbd2c2;
  margin-top: 32px;
  padding-top: 24px;
}

.homeowner-testimonial-letter figcaption strong,
.homeowner-testimonial-letter figcaption span {
  display: block;
}

.homeowner-testimonial-letter figcaption strong {
  color: #212524;
  font-size: 1.05rem;
  font-weight: 600;
}

.homeowner-testimonial-letter figcaption span {
  color: #69665f;
  font-size: .7rem;
  line-height: 1.8;
  margin-top: 7px;
}

@media (max-width: 1000px) {
  .homeowner-testimonial { grid-template-columns: minmax(230px, .75fr) minmax(0, 1.25fr); }
  .homeowner-testimonial-intro, .homeowner-testimonial-letter { padding: 36px; }
  .homeowner-testimonial-intro h2 { font-size: 3.1rem; }
}

@media (max-width: 900px) {
  .homeowner-testimonial-section { scroll-margin-top: 90px; }
  .homeowner-testimonial { grid-template-columns: minmax(0, 1fr); }
  .homeowner-testimonial-intro, .homeowner-testimonial-letter { padding: 30px 24px; }
  .homeowner-testimonial-quote-mark { font-size: 6rem; margin-top: 20px; }
  .homeowner-testimonial-intro h2 { font-size: clamp(2.75rem, 10vw, 4rem); max-width: 15ch; }
  .homeowner-testimonial-context { margin-top: 30px; padding-top: 22px; }
  .homeowner-testimonial-context > p:last-child { display: none; }
  .homeowner-testimonial-context .homeowner-testimonial-project { margin-bottom: 0; }
  .homeowner-testimonial-letter blockquote p { font-size: 1rem; line-height: 1.8; }
  .homeowner-testimonial-letter figcaption strong { font-size: 1rem; }
}

@media print {
  .homeowner-testimonial-intro { background: #fff; color: #111; }
  .homeowner-testimonial-intro h2, .homeowner-testimonial-context p,
  .homeowner-testimonial-intro .overline, .homeowner-testimonial-context .homeowner-testimonial-project {
    color: #111;
  }
}
