/* Readability studies for Comp 1 / Version 2. Base typography and copy are unchanged. */
.transaction-stats { margin: 0; }
.transaction-stats__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; }
.transaction-stats__list > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; white-space: normal; }
.transaction-stats dt { order: 2; color: inherit; font-family: var(--sans); font-size: var(--digby-text-body, 16px); font-weight: 400; letter-spacing: 0; line-height: 1.35; }
.transaction-stats dd { color: inherit; font-size: 38px; line-height: 1; letter-spacing: -.035em; }
.county-graphic { display: block; margin: 0; overflow: hidden; background: var(--blue); }
.county-graphic svg { display: block; width: 100%; height: auto; }
.county-graphic svg .county-name { font-family: var(--display); font-weight: 900; }
.territory-grid { align-items: center; }

/* A: a quiet, legible footer inside the image, detached from the hero CTA cluster. */
.study--a .hero-inner { padding-bottom: 184px; }
.study--a .hero-proof { position: absolute; z-index: 2; right: 0; bottom: 42px; left: 0; }
.study--a .hero-proof .transaction-stats { max-width: 860px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.25); color: var(--digby-text-inverse-muted, #d4dce6); }
.study--a .transaction-stats dt { color: var(--digby-text-inverse-muted, #d4dce6); }
.study--a .hero-shade { background: linear-gradient(90deg,rgba(7,16,30,.92),rgba(18,37,65,.75) 39%,rgba(18,37,65,.18) 73%,rgba(7,16,30,.24)),linear-gradient(180deg,transparent 48%,rgba(8,20,38,.86)); }

/* B: an architectural transition between the image and the next panel. */
.proof-band { background: #e9e8e3; color: var(--digby-text-link, #304572); border-bottom: 1px solid #d6d8da; }
.proof-band .transaction-stats { padding-block: 30px; }
.proof-band .transaction-stats__list { gap: 40px; }
.proof-band .transaction-stats__list > div { flex-direction: row; align-items: center; gap: 20px; }
.proof-band .transaction-stats__list > div + div { border-left: 1px solid #c6cad0; padding-left: 40px; }
.proof-band .transaction-stats dd { font-size: 40px; flex-shrink: 0; }
.proof-band .transaction-stats dt { color: var(--digby-text-muted, #526070); max-width: 120px; }

/* C: evidence supports the local-knowledge narrative, leaving the hero untouched. */
.study--c .territory .transaction-stats { margin: 34px 0; padding-top: 27px; border-top: 1px solid #cbd0d7; color: var(--digby-text-link, #304572); }
.study--c .territory .transaction-stats__list { gap: 18px; }
.study--c .territory .transaction-stats dd { font-size: 36px; }
.study--c .territory .transaction-stats dt { color: var(--digby-text-muted, #526070); max-width: 145px; }
@media (max-width: 1100px) {
 .proof-band .transaction-stats__list { gap: 24px; }
 .proof-band .transaction-stats__list > div { gap: 14px; }
 .proof-band .transaction-stats__list > div + div { padding-left: 24px; }
 .proof-band .transaction-stats dd { font-size: 36px; }
}
@media (max-width: 800px) {
 .study--a .hero-inner { padding-bottom: 190px; }
 .study--a .hero-proof { bottom: 36px; }
 .transaction-stats__list { gap: 16px; }
 .transaction-stats dd { font-size: var(--digby-text-feature, 32px); }
 .proof-band .transaction-stats__list > div { flex-direction: column; align-items: flex-start; gap: 8px; }
 .proof-band .transaction-stats__list > div + div { padding-left: 16px; }
 .territory-grid { grid-template-columns: 1fr; gap: 48px; }
}
