/* Case card covers (Home + Work): one 16:10 frame on an accent "stage": deep green in dark theme, pale lime in light.
   The screenshot (assets/card-cover.webp, pre-cropped 16:10 around the case's focal point) is enlarged,
   offset from the top-left corner and bleeds off the right and bottom edges. In light theme the shot lies on the lime plane
   as an object (thin frame + soft shadow). */
.cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: radial-gradient(100% 120% at 0 0, #2b4a22, #14200f 60%, #0d140b); }
[data-theme="light"] .cover { border-color: var(--border);
  background: radial-gradient(100% 120% at 0 0, #d9f2b8, #c9e6a0 60%, #bcdc8e); }
.cover img { position: absolute; left: 8%; top: 10%; width: 118%; height: auto; max-width: none; display: block;
  border-radius: 8px 0 0 0; border: 1px solid rgba(255,255,255,.10); border-right: 0; border-bottom: 0;
  box-shadow: 0 20px 50px rgba(0,0,0,.45); transition: transform .45s cubic-bezier(.2,1,.3,1); }
[data-theme="light"] .cover img { border-color: rgba(16,19,16,.16); box-shadow: 0 22px 44px -14px rgba(20,24,16,.42), 0 2px 6px rgba(20,24,16,.10); }
.case-card:is(:hover, :focus-within) .cover img { transform: translate(-2.5%, -3%); }
@media (prefers-reduced-motion: reduce) { .cover img { transition: none; } .case-card:is(:hover, :focus-within) .cover img { transform: none; } }

