/* Riverforge v4 version B: About, Case studies and Pricing pages (the blog is in article.css).
   Loaded after ../styles.css and ../services/services.css. */

/* Shorter hero for index-style pages */
.pg-hero { display: grid; gap: 22px; align-content: end; padding: calc(var(--header) + 12vh) var(--gutter) 9vh; background: var(--paper); }
.pg-hero h1 { font-size: clamp(36px, 5vw, 92px); max-width: 13em; }
.pg-hero .svc-lede { margin-top: 4px; }
.pg-hero .actions { margin-top: 14px; }

/* About */
.about-story { display: grid; gap: 28px; padding: 14vh var(--gutter); background: var(--white); }
.about-story h2 { font-size: clamp(32px, 4vw, 68px); max-width: 12em; }
.about-story .prose-block { display: grid; gap: 22px; max-width: 40rem; }
.about-story .prose-block p { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.65; color: var(--ink-2); }

.about-founder { display: grid; gap: 40px; padding: 14vh var(--gutter); background: var(--paper); }
.about-founder figure { margin: 0; max-width: 360px; }
.about-founder img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; box-shadow: 0 30px 60px -36px rgba(14, 17, 22, .5), 0 0 0 1px var(--line); }
.about-founder figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.about-founder h2 { font-size: clamp(32px, 4vw, 68px); }
.about-founder .prose-block { display: grid; gap: 20px; max-width: 38rem; margin-top: 26px; }
.about-founder .prose-block p { font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.about-founder blockquote { margin-top: 30px; padding-left: 22px; border-left: 3px solid var(--copper); max-width: 34rem; font-stretch: 112%; font-weight: 600; font-size: clamp(19px, 1.7vw, 25px); line-height: 1.3; letter-spacing: -.015em; }

.quote-pair { display: grid; gap: 40px; padding: 12vh var(--gutter); background: var(--white); }
.quote-pair blockquote { display: grid; gap: 16px; max-width: 36rem; }
.quote-pair blockquote p { font-stretch: 112%; font-weight: 600; font-size: clamp(19px, 1.7vw, 25px); line-height: 1.3; letter-spacing: -.015em; }
.quote-pair cite { font-style: normal; font-size: 15px; color: var(--muted); }
.quote-pair cite b { display: block; color: var(--ink); font-weight: 650; }

/* Case studies */
.work-grid-sec { padding: 14vh var(--gutter); background: var(--paper); }
.work-grid-sec > h2 { font-size: clamp(32px, 4vw, 68px); max-width: 13em; }
.work-grid { display: grid; gap: 22px; margin-top: 40px; }
.work-card { display: flex; flex-direction: column; background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); color: inherit; text-decoration: none; transition: box-shadow .2s, transform .2s; }
a.work-card:hover { box-shadow: 0 0 0 1.5px var(--ink); transform: translateY(-2px); }
.work-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.work-card div { display: grid; gap: 6px; padding: 20px 24px 24px; }
.work-card b { font-stretch: 112%; font-weight: 660; font-size: 21px; letter-spacing: -.02em; line-height: 1.15; }
.work-card small { font-size: 14.5px; color: var(--muted); }
.work-card p { font-size: 15.5px; line-height: 1.5; color: var(--ink-2); margin-top: 6px; }
.work-card i { font-style: normal; font-weight: 650; color: var(--copper); }

.proof-sec { padding: 14vh var(--gutter); background: var(--white); }
.proof-sec > h2 { font-size: clamp(32px, 4vw, 68px); max-width: 13em; }
.proof-grid { display: grid; gap: 28px; margin-top: 40px; }
.proof-grid figure { margin: 0; }
.proof-grid img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 0 0 1px var(--line); }
.proof-grid figcaption { margin-top: 10px; font-size: 14.5px; color: var(--muted); line-height: 1.4; }
.proof-sec .proof-more { margin-top: 36px; }
.proof-sec .proof-more a { font-weight: 650; text-decoration-color: var(--copper); text-underline-offset: 3px; }

/* Pricing (b/pricing/, built by tools/build_services.py from tools/pricing_data.py) */
.pr-hero { display: grid; gap: 48px; align-content: end; padding: calc(var(--header) + 12vh) var(--gutter) 9vh; background: var(--paper); }
.pr-hero h1 { font-size: clamp(36px, 5vw, 92px); max-width: 11em; }
.pr-hero .svc-lede { margin-top: 24px; }
.pr-hero .actions { margin-top: 32px; }
.pr-glance ul { border-top: 1px solid var(--ink); }
.pr-glance li { border-bottom: 1px solid var(--line); }
.pr-glance a { display: grid; gap: 2px; padding: 14px 0; text-decoration: none; }
.pr-glance span { font-weight: 650; font-size: 15px; transition: color .2s; }
.pr-glance b { font-stretch: 125%; font-weight: 720; font-size: clamp(21px, 1.7vw, 28px); letter-spacing: -.025em; line-height: 1.15; }
.pr-glance small { font-size: 14px; color: var(--muted); }
.pr-glance a:hover span, .pr-glance a:focus-visible span { color: var(--copper); }
.pr-glance > p { margin-top: 14px; font-size: 14px; color: var(--muted); }
.svc-page .pricing .pricing-note a { white-space: nowrap; }

.pr-group { padding: 14vh var(--gutter); background: var(--white); }
.pr-group.is-paper { background: var(--paper); }
.pr-group > h2 { font-size: clamp(32px, 4vw, 68px); max-width: 13em; }
.pr-rows { margin-top: 44px; border-bottom: 1px solid var(--ink); }
.pr-row { display: grid; gap: 20px; padding: 30px 0 34px; border-top: 1px solid var(--ink); scroll-margin-top: var(--header); }
.pr-name h3 { font-size: clamp(22px, 1.9vw, 30px); }
.pr-name p { max-width: 24em; margin-top: 8px; font-size: 15.5px; color: var(--muted); }
.pr-more { display: inline-block; margin-top: 14px; padding-bottom: 2px; border-bottom: 1.5px solid var(--copper); font-size: 15px; font-weight: 650; text-decoration: none; }
.pr-more:hover, .pr-more:focus-visible { color: var(--copper); }
.pr-tiers li { padding: 16px 0; border-top: 1px solid var(--line); }
.pr-amt { font-stretch: 125%; font-weight: 720; font-size: clamp(26px, 2.2vw, 36px); letter-spacing: -.03em; line-height: 1.05; }
.pr-amt small { margin-left: 8px; font-stretch: 100%; font-weight: 500; font-size: 14px; letter-spacing: 0; color: var(--muted); white-space: nowrap; }
.pr-who { margin-top: 10px; font-weight: 650; font-size: 16px; line-height: 1.3; }
.pr-what { max-width: 30em; margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--muted); }

.pr-terms { display: grid; gap: 36px; padding: 14vh var(--gutter); background: var(--ink); color: #f5f6f8; }
.pr-terms h2 { font-size: clamp(30px, 3.4vw, 58px); }
.pr-terms .commitments { margin-top: 0; }
.pr-terms .commitments b { margin-bottom: 8px; line-height: 1.15; }

@media (min-width: 700px) {
  .pr-terms .commitments { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
  .pr-glance a { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 24px; align-items: baseline; }
  .pr-glance b, .pr-glance small { grid-column: 2; text-align: right; }
  .pr-glance span { grid-row: 1; }
  .pr-glance b { grid-row: 1; }
}
@media (min-width: 1000px) {
  .pr-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 6vw; align-items: end; }
  .pr-row { grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: 0 4vw; }
  .pr-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
  .pr-tiers li { padding: 0; border-top: 0; }
  .pr-amt small { display: block; margin: 8px 0 0; }
  .pr-who { margin-top: 16px; }
}
@media (min-width: 1100px) {
  .pr-terms .commitments { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .about-founder { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 6vw; align-items: start; }
  .quote-pair { grid-template-columns: 1fr 1fr; gap: 6vw; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1200px) {
  .work-grid { grid-template-columns: repeat(4, 1fr); }
}
