.cases-page {
  --case-navy: #102c42;
  --case-ink: #19354a;
  --case-muted: #496275;
  --case-teal: #12677c;
  --case-ice: #a1e6f1;
  --case-line: #d5e2e9;
  --case-paper: #f3f7fa;
  background: #fff;
}
.case-wrap { width: min(1180px, calc(100% - 12%)); margin-inline: auto; }
.cases-page :is(a, summary):focus-visible { outline: 3px solid #18839f; outline-offset: 4px; }
.case-hero, .case-consult { color: #fff; background-color: #0a2335; }
.case-hero {
  background-image: radial-gradient(ellipse at 86% 5%, #175674, transparent 62%),
    linear-gradient(#c4e6f410 1px, transparent 1px), linear-gradient(90deg, #c4e6f410 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px;
}
.case-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(30px, 6vw, 80px); padding-block: clamp(48px, 7vw, 96px); }
.case-eyebrow { color: var(--case-ice); font: 700 11px/1.6 Arial, sans-serif; letter-spacing: .16em; }
.case-hero h1 { margin: 14px 0 18px; color: #fff; font: 700 clamp(35px, 5.1vw, 72px)/1.17 var(--sans); letter-spacing: -.06em; }
.hero-count { margin-left: .25em; color: var(--case-ice); font-family: Arial, sans-serif; font-variant-numeric: tabular-nums; }
.hero-count span { margin-left: .16em; font: 700 .48em var(--sans); }
.case-hero-lead { color: #f1faff; font: 600 clamp(19px, 2.15vw, 29px)/1.6 var(--serif); letter-spacing: .025em; }
.case-hero-text { max-width: 500px; margin-top: 10px; color: #cedfe9; font-size: 14px; line-height: 1.85; }
.case-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.case-button { display: inline-flex; justify-content: space-between; align-items: center; gap: 15px; min-height: 48px; padding: 10px 14px; border: 1px solid transparent; font-size: 13px; font-weight: 700; line-height: 1.4; }
.case-button span { flex: none; font-size: 16px; }
.case-button-light { background: #eefaff; color: #102c42; }
.case-button-light:hover { background: #d2f2fa; }
.case-button-ghost { color: #e6f7fd; border-color: #749aaf; background: #09243680; }
.case-button-ghost:hover { background: #245571; }
.case-spotlight { min-width: 0; border: 1px solid #7099af82; padding: 16px clamp(15px, 2.2vw, 29px); background: #0e3045cc; }
.case-spotlight-label { color: var(--case-ice); font-size: 12px; font-weight: 700; padding-block: 3px 10px; }
.case-spotlight a { display: grid; grid-template-columns: minmax(0, 1fr) auto 14px; gap: 9px; align-items: center; min-height: 78px; padding-block: 10px; border-top: 1px solid #86b0c25c; color: #fff; }
.case-spotlight a:hover { color: var(--case-ice); }
.case-spotlight a > span:first-child { font-size: 14px; font-weight: 700; line-height: 1.45; }
.case-spotlight a > span:first-child small { display: block; margin-top: 5px; color: #c9dfeb; font-size: 11px; font-weight: 500; }
.case-spotlight strong { color: #fff; font: 600 clamp(24px, 3.15vw, 46px)/1 Arial, sans-serif; letter-spacing: -.05em; white-space: nowrap; }
.case-spotlight strong > span { font-size: .6em; padding-inline: .09em; }
.case-spotlight strong small { margin-left: .22em; color: var(--case-ice); font: 700 12px var(--sans); }
.case-spotlight a > span:last-child { align-self: start; padding-top: 3px; color: var(--case-ice); font-size: 12px; }
.case-library { padding-block: clamp(42px, 6vw, 80px) clamp(38px, 6vw, 78px); }
.case-library-head h2, .case-group-head h2 { color: var(--case-navy); font: 700 clamp(24px, 3vw, 39px)/1.32 var(--sans); letter-spacing: -.03em; }
.case-library-head p, .case-group-head p { margin-top: 8px; color: var(--case-muted); font-size: 14px; line-height: 1.75; }
.case-jump { display: grid; grid-template-columns: repeat(2, minmax(0, .85fr)) minmax(0, 1.3fr) minmax(0, .8fr); gap: 9px; margin-top: 22px; }
.case-jump a { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 52px; padding: 9px 12px; color: var(--case-navy); background: var(--case-paper); border: 1px solid var(--case-line); font-size: 13px; font-weight: 700; line-height: 1.4; }
.case-jump a:hover { border-color: #72a9bd; background: #e6f3f7; }
.case-jump small { color: var(--case-teal); white-space: nowrap; }
.case-group { margin-top: clamp(42px, 5.8vw, 76px); }
.case-group-head { padding-left: 13px; border-left: 3px solid #21829a; }
.case-group-head h2 { font-size: clamp(21px, 2.55vw, 33px); }
.case-list { display: grid; gap: 9px; margin-top: 20px; }
.case-entry { border: 1px solid var(--case-line); background: white; }
.case-entry:target { border-color: #25839a; box-shadow: 0 0 0 3px #d7eef3; }
.case-entry summary { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(130px, .68fr) minmax(130px, .74fr) 112px; align-items: center; gap: 13px; min-height: 96px; padding: 15px clamp(12px, 2.2vw, 25px); cursor: pointer; list-style: none; }
.case-entry summary::-webkit-details-marker { display: none; }
.case-entry summary:hover { background: #f5fafc; }
.case-entry[open] summary { background: #f1f7fa; }
.case-info { display: grid; gap: 4px; }
.case-info strong { color: var(--case-ink); font-size: clamp(15px, 1.55vw, 19px); line-height: 1.48; }
.case-info > span, .case-period, .case-target { color: var(--case-muted); font-size: 12px; line-height: 1.5; }
.case-stats { display: grid; gap: 4px; }
.case-number { color: var(--case-teal); white-space: nowrap; line-height: 1.2; }
.case-number b { font: 700 clamp(24px, 2.65vw, 37px)/1 Arial, sans-serif; letter-spacing: -.045em; }
.case-number b.case-no-cap { font: 700 clamp(17px, 1.9vw, 24px)/1.25 var(--sans); letter-spacing: -.04em; }
.case-number small { font-weight: 700; font-size: 10px; }
.case-target { display: grid; gap: 4px; font-weight: 650; }
.case-target small { color: var(--case-teal); font-size: 10px; }
.case-toggle { display: flex; align-items: center; justify-content: flex-end; gap: 8px; color: var(--case-teal); font-size: 11px; font-weight: 700; white-space: nowrap; }
.case-chevron { width: 9px; height: 9px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.case-entry[open] .case-chevron { transform: translateY(2px) rotate(225deg); }
.case-entry:not([open]) .case-hide, .case-entry[open] .case-show { display: none; }
.case-story { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--case-line); }
.case-story > div { padding: 16px clamp(13px, 2.2vw, 25px) 20px; }
.case-story > div + div { border-left: 1px solid var(--case-line); background: #f4fafb; }
.case-story h3 { margin: 0 0 5px; color: var(--case-teal); font: 700 13px/1.5 var(--sans); }
.case-story p { margin: 0; color: var(--case-ink); font-size: 13px; line-height: 1.8; }
.case-facts { display: grid; gap: 12px; margin: 12px 0 0; }
.case-facts dt, .case-story-ec h4 { color: var(--case-teal); font: 700 12px/1.6 var(--sans); }
.case-facts dd { margin: 3px 0 0; color: var(--case-ink); font-size: 13px; line-height: 1.8; }
.case-story-ec h4 { margin: 18px 0 5px; }
.case-story .case-result-heading { margin-top: 22px; }
.case-story-ec strong { color: var(--case-teal); }
.case-footnote { margin-top: 18px; color: var(--case-muted); font-size: 12px; line-height: 1.75; }
.case-consult { background-image: radial-gradient(ellipse at 92% 0%, #174a65, transparent 65%); }
.case-consult-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px; align-items: center; padding-block: clamp(36px, 6vw, 73px); }
.case-consult h2 { margin: 8px 0; font: 600 clamp(24px, 3.65vw, 45px)/1.4 var(--serif); }
.case-consult p:not(.case-eyebrow) { max-width: 635px; color: #d3e4ee; font-size: 14px; line-height: 1.8; }
.case-consult-actions { display: grid; gap: 13px; }
.case-platform-link { color: #d6eaf1; font-size: 12px; font-weight: 700; }
.case-platform-link:hover { color: white; }
.case-footer { background: #f3f7fa; }
.case-footer > div { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 22px; padding-block: 24px; }
.case-footer a:not(.brand), .case-footer small:not(.brand small) { color: var(--case-muted); font-size: 12px; }
@media (max-width: 820px) {
  .case-hero-grid, .case-consult-grid { grid-template-columns: 1fr; }
  .case-jump { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-spotlight { max-width: 620px; }
  .case-consult-actions { justify-self: start; }
  .case-entry summary { grid-template-columns: minmax(0, 1.4fr) minmax(128px, .75fr) minmax(110px, .72fr) 86px; gap: 9px; }
  .case-toggle { white-space: normal; }
}
@media (max-width: 630px) {
  .case-wrap { width: calc(100% - 32px); }
  .case-desktop { display: none; }
  .case-hero-grid { gap: 25px; }
  .case-hero h1 { font-size: clamp(32px, 9vw, 48px); }
  .case-hero-text, .case-library-head p, .case-group-head p { font-size: 13px; }
  .case-actions { margin-top: 18px; }
  .case-jump { grid-template-columns: 1fr; }
  .case-jump a { min-height: 45px; }
  .case-entry summary { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); align-items: start; min-height: 0; }
  .case-info { grid-column: 1 / -1; }
  .case-toggle { grid-column: 1 / -1; padding-top: 7px; border-top: 1px solid var(--case-line); }
  .case-story { grid-template-columns: 1fr; }
  .case-story > div + div { border-left: 0; border-top: 1px solid var(--case-line); }
}
