.jvav-home-cases { padding:clamp(38px,5.5vh,72px) 0; background-color:#d3e4f0; background-image:linear-gradient(rgba(226,238,247,.84),rgba(211,228,240,.82)),var(--jvav-cases-background); background-position:center; background-repeat:no-repeat; background-size:cover; color:var(--jvav-navy); scroll-margin-top:85px; }
.jvav-home-cases__inner { width:var(--jvav-wrap); margin:0 auto; }
.jvav-home-cases__intro { margin:0 0 clamp(28px,2.8vw,42px); }
.jvav-home-cases h2 { margin:0; color:#082746; font-size:var(--type-section-title); font-weight:var(--type-section-title-weight); letter-spacing:var(--type-section-title-letter-spacing); line-height:var(--type-section-title-line-height); }
.jvav-home-cases__grid { display:grid; min-height:clamp(360px,29vw,450px); grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(8px,.85vw,16px); }
.jvav-home-cases__card { position:relative; display:flex; min-width:0; align-items:flex-end; overflow:hidden; border-radius:clamp(18px,1.4vw,28px); background-color:#25384a; background-image:var(--jvav-case-image); background-position:center; background-repeat:no-repeat; background-size:cover; cursor:pointer; }
.jvav-home-cases__card:focus-visible { outline:2px solid var(--jvav-blue); outline-offset:-2px; }
.jvav-home-cases__copy { width:100%; box-sizing:border-box; padding:clamp(20px,1.9vw,30px); background:transparent; color:var(--jvav-white); }
.jvav-home-cases__copy h3 { margin:0; color:var(--jvav-white); font-size:var(--type-module-title); font-weight:var(--type-module-title-weight); letter-spacing:var(--type-module-title-letter-spacing); line-height:var(--type-module-title-line-height); text-shadow:0 2px 14px rgba(3,18,32,.85); }
.jvav-home-cases__copy p { display:block; max-height:0; overflow:hidden; margin:0; color:var(--jvav-white); font-size:var(--type-body); font-weight:var(--type-body-weight); letter-spacing:var(--type-body-letter-spacing); line-height:var(--type-body-line-height); opacity:0; text-shadow:0 2px 14px rgba(3,18,32,.85); transition:max-height .25s ease, margin .25s ease, opacity .2s ease; }
.jvav-home-cases__card:nth-child(2) .jvav-home-cases__copy,.jvav-home-cases__card:nth-child(2) .jvav-home-cases__copy h3,.jvav-home-cases__card:nth-child(2) .jvav-home-cases__copy p { color:#082746; text-shadow:0 1px 10px rgba(255,255,255,.72); }
.jvav-home-cases__card.is-selected .jvav-home-cases__copy p { max-height:5em; margin-top:10px; opacity:1; }

@media (max-width:820px) { .jvav-home-cases { padding:54px 0 48px; scroll-margin-top:72px; }.jvav-home-cases__grid { min-height:540px; grid-template-columns:repeat(2,minmax(0,1fr)); }.jvav-home-cases__copy { padding:22px; } }
@media (max-width:560px) { .jvav-home-cases__intro { margin-bottom:28px; }.jvav-home-cases__grid { min-height:580px; }.jvav-home-cases__copy { padding:18px; }.jvav-home-cases__card.is-selected .jvav-home-cases__copy p { max-height:5.6em; margin-top:8px; } }
@media (prefers-reduced-motion:reduce) { .jvav-home-cases__copy p { transition:none; } }
