.study-lead,
.study-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  justify-content: space-between;
  gap: clamp(34px, 6vw, 104px);
  padding-block: clamp(44px, 6.2vw, 88px);
}

.study-lead {
  align-items: center;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
}

.study-lead h1 {
  font-size: clamp(60px, 7.25vw, 104px);
  text-wrap: initial;
}

.study-date,
.study-byline {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.study-date { margin-bottom: 16px; }
.study-byline { margin-top: 18px; }

.study-deck {
  max-width: 48ch;
  margin-top: 22px;
  font-size: clamp(18px, 1.65vw, 22px);
  line-height: 1.45;
}

.study-figure {
  --match-absent: #256256;
  --match-present: #61813d;
  --match-other: #aab9a1;
  --match-unresolved: #c38345;
  padding: clamp(16px, 3.1vw, 34px);
  background: var(--chalk);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--ink);
}

.study-figure figcaption {
  display: block;
  padding: 0;
}

.study-figure figcaption strong {
  display: block;
  font: 400 clamp(56px, 6vw, 76px)/.92 var(--serif);
  letter-spacing: -.04em;
  color: var(--ink);
}

.study-figure figcaption span {
  display: block;
  margin-top: 7px;
  font: 600 15px/1.35 "DM Sans", Arial, sans-serif;
}

.sample-bar {
  display: flex;
  gap: 2px;
  height: 14px;
  margin-top: 22px;
}

.bar-absent { flex: 687; }
.bar-present { flex: 99; }
.bar-other { flex: 1542; }
.bar-unresolved { flex: 72; }
.bar-absent, .key-absent { background: var(--match-absent); }
.bar-present, .key-present { background: var(--match-present); }
.bar-other, .key-other { background: var(--match-other); }
.bar-unresolved, .key-unresolved { background: var(--match-unresolved); }

.study-key { margin: 14px 0 0; }
.study-key div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding-block: 7px;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  line-height: 1.35;
}

.study-key dt {
  display: grid;
  grid-template-columns: 9px 1fr;
  gap: 8px;
}

.study-key dt span {
  width: 9px;
  height: 9px;
  margin-top: .36em;
  border: 1px solid #284b4170;
}

.study-key dd {
  margin: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.study-caption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.study-results { background: var(--chalk); }
.study-section h2 { text-wrap: initial; }
.study-section-intro {
  max-width: 40ch;
  margin-top: 14px;
  color: var(--muted);
}

.study-copy { max-width: 65ch; }
.study-copy > * + * { margin-top: 16px; }
.study-copy p { color: var(--muted); }

.study-estimate {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}

.study-estimate strong {
  display: block;
  margin-bottom: 9px;
  font: 400 clamp(49px, 5.4vw, 76px)/.92 var(--serif);
  letter-spacing: -.04em;
  color: var(--ink);
}

.study-copy .study-method {
  padding-left: 0;
  list-style-position: outside;
}

.study-method li {
  margin-left: 21px;
  padding-left: 3px;
}

.study-method li + li { margin-top: 18px; }
.study-method li::marker { font-weight: 700; }
.study-method p { margin-top: 4px; }
.study-method p + p { margin-top: 10px; }

.study-details { border-block: 1px solid #a7b9ac; }
.study-details[open] { padding-bottom: 15px; }
.study-details summary {
  min-height: 44px;
  padding-block: 12px;
  cursor: pointer;
  font-weight: 700;
}
.study-details summary:focus-visible { outline: 3px solid #8a4d07; outline-offset: 3px; }
.study-details p + p { margin-top: 8px; }

.study-table {
  width: 100%;
  margin-block: 15px;
  border-collapse: collapse;
  font-size: 14px;
}

.study-table caption {
  padding-bottom: 8px;
  text-align: left;
  color: var(--muted);
}

.study-table th, .study-table td {
  padding: 8px 5px;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}

.study-table tbody th { font-weight: 400; }
.study-table td { min-width: 6ch; font-variant-numeric: tabular-nums; }
.study-download { margin-top: 16px; }
.study-sources { margin: 0; padding: 0; list-style: none; color: var(--muted); }
.study-sources li { padding-block: 9px 12px; border-bottom: 1px solid var(--rule); }
.study-sources li:first-child { padding-top: 0; }
.study-sources a { display: inline; }

@media (max-width: 780px) {
  .study-lead, .study-section { grid-template-columns: 1fr; gap: 24px; }
  .study-lead h1 { font-size: clamp(48px, 11vw, 83px); max-width: 13ch; }
  .study-figure { margin: 0; }
}
