/* Bigger builds wear a picture of the real app on top (Dan, 2026-11-21: "a
   cool screenshot on top of them so people can see how cool the apps are"),
   and any picture opens full size. Music plays a short loop of its room: the
   record out and spinning, the equalizer lighting its name. Nothing in them
   points at a person: names blurred, employers made up. Tokens only. */

.big-card { overflow: hidden; }
.big-card .app-coin { grid-row: 2 / span 2; }
.app-shot {
  all: unset; box-sizing: border-box; cursor: zoom-in; position: relative; display: block;
  grid-column: 1 / -1; grid-row: 1;
  margin: -1.2em -1.3em 0.9em; aspect-ratio: 16 / 10; overflow: hidden;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  background: color-mix(in srgb, var(--paper) 80%, black);
}
.big-music .app-shot { aspect-ratio: 16 / 7; }
.app-shot img, .app-shot video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 700ms var(--ease-calm, ease); }
.app-shot:hover img, .app-shot:hover video { transform: scale(1.025); }
.app-shot-open {
  position: absolute; right: 12px; bottom: 12px; font: 600 var(--text-xs)/1 var(--body); font-style: normal; letter-spacing: 0.02em;
  padding: 0.6em 0.9em; border-radius: var(--radius-xl, 999px); color: var(--ink);
  background: color-mix(in srgb, var(--paper) 70%, transparent); border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0.85; transition: opacity 300ms ease;
}
.app-shot:hover .app-shot-open, .app-shot:focus-visible .app-shot-open { opacity: 1; }
.app-shot:focus-visible { outline: 2px solid var(--lamp, var(--ink)); outline-offset: -2px; }

/* the full-size view */
.shot-modal {
  border: 0; padding: 0; background: transparent; max-width: min(96vw, 1600px); max-height: 94vh; overflow: visible;
}
.shot-modal::backdrop { background: color-mix(in srgb, black 78%, transparent); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.shot-modal figure { margin: 0; display: grid; gap: 12px; }
.shot-modal img, .shot-modal video { display: block; max-width: min(96vw, 1600px); max-height: 84vh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 30px 80px -20px black; margin: 0 auto; }
.shot-modal figcaption { max-width: 70ch; margin: 0 auto; text-align: center; font: var(--text-sm)/1.45 var(--body); color: var(--ink-2); }
.shot-close {
  all: unset; cursor: pointer; position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--paper); color: var(--ink); border: 1px solid color-mix(in srgb, var(--ink) 20%, transparent);
  font: 500 22px/1 var(--body);
}
.shot-close:focus-visible { outline: 2px solid var(--lamp, var(--ink)); outline-offset: 2px; }
@media (max-width: 760px) { .shot-close { top: -48px; right: 0; } }
@media (prefers-reduced-motion: reduce) { .app-shot img, .app-shot video { transition: none; } }
