.case-page .case-hero {
  background: #f2f6f3;
  border-bottom: 1px solid var(--line);
}

.case-hero-grid,
.case-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 94px);
  align-items: center;
}

.case-hero-grid {
  padding-top: clamp(42px, 6vw, 90px);
  padding-bottom: clamp(44px, 6vw, 90px);
}

.case-page .case-hero h1 {
  color: var(--navy);
  font-size: clamp(38px, 4.5vw, 67px);
  line-height: 1.08;
}

.case-lead,
.case-section-lead {
  max-width: 740px;
  margin-top: 20px;
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--muted);
}

.case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 27px;
}

.case-dossier {
  background: var(--navy);
  color: #fff;
  border-top: 4px solid #a9c8b7;
  padding: clamp(20px, 3vw, 38px);
  box-shadow: 0 18px 38px #11283f19;
}

.case-dossier-label,
.case-record,
.case-dossier dt,
.case-test dt {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.case-dossier-label {
  color: #d4e7dc;
  margin-bottom: 14px;
}

.case-dossier dl > div {
  border-top: 1px solid #ffffff38;
  padding: 15px 0;
}

.case-dossier dl > div:last-child {
  padding-bottom: 0;
}

.case-dossier dt {
  color: #c8dcd0;
}

.case-dossier dd {
  margin: 5px 0 0;
  font: 600 clamp(19px, 2vw, 27px)/1.25 "Source Serif", Georgia, serif;
}

.case-section {
  padding: clamp(43px, 6vw, 82px) 0;
}

.case-two-col {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: start;
}

.case-assumption-note {
  border-left: 3px solid var(--green);
  background: #f2f6f3;
  padding: 22px 26px;
}

.case-premise {
  font: 600 clamp(23px, 2.4vw, 34px)/1.25 "Source Serif", Georgia, serif;
  color: var(--navy);
}

.case-evidence {
  background: #f7f9f8;
  border-block: 1px solid var(--line);
}

.case-matrix {
  width: 100%;
  margin-top: 28px;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
}

.case-matrix caption {
  text-align: left;
  padding: 0 0 10px;
  color: var(--muted);
  font-size: 16px;
}

.case-matrix th,
.case-matrix td {
  border: 1px solid var(--line);
  padding: 16px 18px;
  font-size: 16px;
  vertical-align: middle;
}

.case-matrix thead th {
  background: var(--navy);
  color: #fff;
  text-align: left;
  font-weight: 600;
}

.case-matrix thead th:first-child {
  width: 36%;
  text-align: left;
}

.case-matrix tbody th {
  text-align: left;
  font-weight: 400;
  background: #f0f5f1;
}

.case-matrix td {
  text-align: left;
  vertical-align: top;
}

.case-record {
  display: block;
  margin-bottom: 5px;
  color: var(--green);
}

.case-cell-label {
  display: none;
}

.case-assessment {
  display: flex;
  align-items: center;
  gap: 8px;
}

.case-explanation {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.4;
}

.case-weight {
  display: inline-block;
  border-radius: 3px;
  padding: 4px 8px;
  color: #43515c;
  background: #edf0f2;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.case-supports {
  color: #0b3b2e;
  background: #dbebe0;
}

.case-weakens {
  color: #623c21;
  background: #f4e9dd;
}

.case-reading {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-top: 26px;
}

.case-reading > div {
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px 24px;
}

.case-reading h3,
.case-shift h3 {
  font: 600 25px/1.25 "Source Serif", Georgia, serif;
  margin-bottom: 9px;
}

.case-reading .eyebrow {
  margin-bottom: 10px;
}

.case-shift {
  display: grid;
  grid-template-columns: minmax(0, .8fr) auto minmax(0, 1.2fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 28px;
}

.case-shift > div {
  padding: 25px;
}

.case-shift-original {
  background: #f2f6f3;
  border: 1px solid var(--line);
}

.case-shift-revised {
  color: #fff;
  background: var(--green);
}

.case-shift-revised .case-record {
  color: #d3e8dc;
}

.case-shift-arrow {
  align-self: center;
  color: var(--green);
  font-size: 30px;
}

.case-test {
  display: grid;
  grid-template-columns: .8fr 1fr 1.2fr;
  gap: 25px;
  border-block: 1px solid var(--line);
  margin-top: 24px;
  padding: 23px 0;
}

.case-test dt {
  color: var(--green);
}

.case-test dd {
  margin: 7px 0 0;
}

.case-counterfactual {
  border: 1px solid var(--line);
  background: #f4f7f5;
  margin-top: 25px;
  padding: 0 20px;
}

.case-counterfactual summary {
  min-height: 48px;
  padding: 15px 0;
  font-weight: 600;
  color: var(--green);
  cursor: pointer;
}

.case-counterfactual p {
  padding: 0 0 17px;
}

.case-report-bridge {
  margin-top: 24px;
  color: var(--muted);
}

.case-report-bridge a {
  color: var(--green);
  font-weight: 600;
}

@media (max-width: 850px) {
  .case-hero-grid,
  .case-two-col {
    grid-template-columns: minmax(0, 1fr);
  }

  .case-dossier dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .case-matrix th,
  .case-matrix td {
    padding: 12px;
  }
}

@media (max-width: 630px) {
  .case-page .case-hero h1 {
    font-size: clamp(33px, 8.7vw, 44px);
  }

  .case-dossier dl,
  .case-reading,
  .case-shift,
  .case-test {
    grid-template-columns: minmax(0, 1fr);
  }

  .case-dossier dl {
    gap: 0;
  }

  .case-actions .btn {
    width: 100%;
  }

  .case-matrix,
  .case-matrix caption,
  .case-matrix tbody,
  .case-matrix tr,
  .case-matrix th {
    display: block;
    width: 100%;
  }

  .case-matrix {
    background: transparent;
  }

  .case-matrix thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .case-matrix tbody tr {
    border: 1px solid var(--line);
    margin-bottom: 14px;
    background: #fff;
  }

  .case-matrix tbody th {
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .case-matrix td {
    display: block;
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .case-matrix td:last-child {
    border-bottom: 0;
  }

  .case-cell-label {
    display: inline;
    text-align: left;
    min-width: 0;
    font-weight: 600;
  }

  .case-assessment {
    justify-content: space-between;
  }

  .case-shift-arrow {
    justify-self: center;
    transform: rotate(90deg);
    line-height: 1;
  }
}
