/* Research stories use the shared corporate palette and type families. */
.case-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.55fr);gap:24px 32px;margin:0 0 30px;padding:26px;background:var(--paper);border:1px solid var(--line)}
.case-tools[hidden],.case-empty[hidden],.case-search-field button[hidden]{display:none}
.case-tools label{display:block;margin:0 0 10px;color:var(--ink);font:700 12px/1.4 var(--sans)}
.case-search-field{display:flex;align-items:center;min-height:48px;border:1px solid var(--line-dark);background:var(--paper)}
.case-search-field:focus-within{outline:2px solid var(--red);outline-offset:3px}
.case-search-field svg{flex:none;width:20px;height:20px;margin:0 14px;fill:none;stroke:var(--muted-strong);stroke-width:1.5}
.case-search-field input{min-width:0;flex:1;align-self:stretch;padding:12px 0;border:0;border-radius:0;background:transparent;color:var(--ink);font:400 15px/1.4 var(--sans);outline:none}
.case-search-field input::placeholder{color:var(--muted-strong);opacity:1}
.case-search-field input::-webkit-search-cancel-button{display:none}
.case-search-field button{flex:none;min-width:44px;min-height:44px;padding:0 12px;border:0;background:transparent;color:var(--red);font:400 24px var(--sans)}
.case-tools__hint{display:block;margin-top:9px;color:var(--muted-strong);font:400 12px/1.5 var(--sans)}
.case-tools select{width:100%;min-height:48px;border:1px solid var(--line-dark);border-radius:0;padding:11px 36px 11px 14px;background:var(--paper);color:var(--ink);font:400 15px/1.4 var(--sans)}
.case-tools .filter-row{grid-column:1/-1;margin:0;padding-top:20px;border-top:1px solid var(--line)}
.case-tools .filter-row button{min-height:44px;text-transform:none;letter-spacing:0;font-size:12px}
.case-tools .filter-row button[aria-pressed="true"]{background:var(--red);border-color:var(--red);color:var(--paper)}
.case-tools .case-count{font-size:12px}
.story-card[id]{scroll-margin-top:115px}
.story-card:target{background:var(--paper);box-shadow:inset 4px 0 var(--red)}
.story-visual--study{display:grid;place-items:center;height:auto;background:var(--sand)}
.story-visual--study img{width:100%;height:auto;max-height:320px;object-fit:contain;filter:none}
.story-card:hover .story-visual--study img{transform:scale(1.025);filter:none}
.story-deliverables{display:flex;flex-wrap:wrap;gap:12px 25px;margin-top:14px;padding-top:18px;border-top:1px solid var(--line)}
.story-deliverables a{display:inline-flex;align-items:center;gap:12px;min-height:44px;color:var(--red);font:700 12px/1.4 var(--sans);text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}
.story-deliverables a:hover{text-decoration-thickness:2px}
.case-empty{padding:56px 30px;text-align:center;border:1px solid var(--line);background:var(--paper)}
.case-empty h3{margin:0 0 14px;color:var(--ink);font:700 clamp(24px,2.6vw,32px)/1.2 var(--display)}
.case-empty p{margin:0 0 22px;color:var(--muted-strong);font:400 15px/1.6 var(--sans)}
.case-empty button{min-height:44px;border:0;background:transparent;cursor:pointer}
.study-teasers .teaser-card{min-width:0;overflow:hidden}
.study-teasers .teaser-case-image{display:block;width:calc(100% + 48px);max-width:none;height:200px;margin:-24px -24px 25px;object-fit:cover;object-position:center;background:var(--sand)}
.study-teasers h3{font-size:clamp(25px,2.4vw,32px);line-height:1.2}
.case-tools button:focus-visible,.case-tools select:focus-visible,.story-details summary:focus-visible,.story-deliverables a:focus-visible,.case-empty button:focus-visible{outline:2px solid var(--red);outline-offset:4px}
@media(max-width:900px){
  .case-tools{grid-template-columns:minmax(0,1fr) minmax(220px,.65fr);gap:24px;padding:22px}
  .story-visual--study img{max-height:290px}
}
@media(max-width:600px){
  .case-tools{grid-template-columns:minmax(0,1fr);gap:22px;padding:20px}
  .case-tools .filter-row{gap:8px}
  .case-tools .filter-row button{padding:10px 12px}
  .case-tools .case-count{width:100%;margin:6px 0 0}
  .story-visual--study{height:220px;min-height:220px}
  .story-visual--study img{height:100%;width:auto;max-width:100%}
  .story-deliverables{flex-direction:column;gap:6px}
  .case-empty{padding:38px 22px}
  .study-teasers .teaser-case-image{height:190px}
}
@media(prefers-reduced-motion:reduce){
  .story-card:hover .story-visual--study img{transform:none}
}
