/*
 * Plumfind type-scale experiment - 2026-07-20
 *
 * This is intentionally loaded after the site styles so it remains an isolated,
 * reversible typography pass. Remove its link from page() and regenerate the
 * output to return to the pre-experiment type scale.
 */

/* Keep the display scale intact; increase the text visitors spend time reading. */
body {
  font-size: 18px;
  line-height: 1.6;
}

.lead {
  font-size: clamp(1.14rem, 1.6vw, 1.36rem);
  line-height: 1.56;
}

.hero .lead {
  font-size: clamp(1.18rem, 1.7vw, 1.4rem);
  line-height: 1.5;
}

.card h3 {
  font-size: 1.36rem;
}

.card p {
  font-size: 0.96rem;
  line-height: 1.56;
}

.approach-step h3 {
  font-size: 1.3rem;
}

.approach-step p,
.row-copy p,
.row-link p,
.faq-item p {
  font-size: 1.04rem;
  line-height: 1.56;
}

.row-copy h3,
.row-link h3 {
  font-size: clamp(1.65rem, 2.8vw, 2.42rem);
}

.detail-section .rich-text {
  font-size: 1.12rem;
  line-height: 1.6;
}

/* Case studies retain their editorial display moments while gaining readability. */
.case-study-lead {
  font-size: 1.22rem;
  line-height: 1.56;
}

.work-feature-copy dd,
.case-overview-ledger dd {
  font-size: 1.04rem;
  line-height: 1.45;
}

.case-challenge-statement p {
  font-size: 1.52rem;
  line-height: 1.32;
}

.case-solution-heading > p:not(.section-label),
.case-architecture-heading > p:not(.section-label),
.case-technologies-heading > p:not(.section-label) {
  font-size: 1.09rem;
}

.case-solution-list p,
.case-architecture-notes p,
.case-implementation-stages p,
.case-lessons li {
  font-size: 0.96rem;
  line-height: 1.56;
}

.case-architecture-notes h3 {
  font-size: 1.06rem;
}

.case-technology-groups h3 {
  font-size: 1.06rem;
}

.case-technology-groups strong,
.case-technology-groups p {
  font-size: 0.9rem;
  line-height: 1.52;
}

@media (max-width: 620px) {
  body,
  .page-main {
    font-size: 17px;
  }

  .lead {
    font-size: 1.1rem;
    line-height: 1.58;
  }

  .hero .lead {
    font-size: 1.14rem;
  }

  .card h3 {
    font-size: 1.36rem;
  }

  .card p,
  .approach-step p,
  .row-copy p,
  .row-link p,
  .faq-item p {
    font-size: 0.98rem;
  }

  .detail-section .rich-text {
    font-size: 1.05rem;
  }

  .case-study-lead {
    font-size: 1.12rem;
  }

  .work-feature-copy dd,
  .case-overview-ledger dd,
  .case-solution-list p,
  .case-architecture-notes p,
  .case-implementation-stages p,
  .case-lessons li {
    font-size: 0.94rem;
  }

  .case-challenge-statement p {
    font-size: 1.34rem;
  }
}
