/* CSVM image layer: photos for pillar, impact and article cards.
   Missing photos fall back to the original placeholders automatically. */
@keyframes photoUnveil{from{clip-path:inset(0 0 100% 0)}to{clip-path:inset(0)}}
@keyframes photoSheen{to{translate:380% 0}}
.card-photo{position:relative;margin:0 0 20px;aspect-ratio:4/3;overflow:hidden;border-radius:14px;background:linear-gradient(135deg,var(--green-2,#1f5345),var(--green,#173d32));isolation:isolate;box-shadow:0 10px 26px rgba(15,46,38,.14);transition:box-shadow .4s,border-radius .4s}
.card-photo.is-empty{display:none}
.card-photo img,.art-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;scale:1.14;translate:calc(var(--px,0)*1px) calc(var(--py,0)*1px);filter:saturate(.88) contrast(1.03);transition:scale 1s cubic-bezier(.2,.7,.2,1),filter .6s;will-change:scale,translate}
.card-photo:before,.art-scrim{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(15,46,38,.05) 35%,rgba(15,46,38,.55));transition:opacity .5s}
.card-photo:after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(224,201,143,.35)}
.photo-shine{position:absolute;z-index:2;top:0;left:0;width:35%;height:100%;pointer-events:none;background:linear-gradient(115deg,transparent,rgba(255,255,255,.4),transparent);translate:-150% 0}
.pillar-card:hover .card-photo,.impact-card:hover .card-photo{box-shadow:0 18px 40px rgba(15,46,38,.28);border-radius:20px}
.pillar-card:hover .card-photo img,.impact-card:hover .card-photo img,.article-card:hover .art-photo{scale:1.24;filter:saturate(1.12) contrast(1.05)}
.pillar-card:hover .card-photo:before,.impact-card:hover .card-photo:before,.article-card:hover .art-scrim{opacity:.55}
.pillar-card:hover .photo-shine,.impact-card:hover .photo-shine{animation:photoSheen .9s ease}
.impact-card .card-photo{box-shadow:0 12px 30px rgba(0,0,0,.28)}
/* reveal: photo wipes in when its card enters the viewport */
.js .pillar-card.is-in .card-photo,.js .impact-card.is-in .card-photo{animation:photoUnveil 1.1s cubic-bezier(.7,0,.2,1) backwards .15s}
/* article cards: photo sits behind the existing art text */
.article-art{position:relative;overflow:hidden;isolation:isolate}
.art-photo{z-index:-1}
.art-scrim{z-index:-1;background:linear-gradient(180deg,rgba(15,46,38,.35),rgba(15,46,38,.78))}
.article-art.no-photo .art-photo,.article-art.no-photo .art-scrim{display:none}
@media(prefers-reduced-motion:reduce){.card-photo img,.art-photo{scale:1.05;translate:none;transition:none}.js .pillar-card.is-in .card-photo,.js .impact-card.is-in .card-photo{animation:none}.photo-shine{display:none}}
