/* ============================================================
   TACHI_DESK — real app screenshots
   Framed captures (reuse .window chrome) + click-to-expand
   lightbox + %-positioned hotspots. Brutalist, hard shadows.
   ============================================================ */

/* ---------- framed capture ---------- */
.shot-frame { margin: 26px 0 0; }
.shot-holder {
  position: relative;
  line-height: 0;
  background: var(--sunken);
  overflow: hidden;
}
.shot {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
}
.shot-real {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  background: var(--orange); color: var(--ink);
  border: 2px solid var(--ink); padding: 1px 7px;
}
.shot-expand {
  position: absolute; right: 10px; bottom: 10px;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--bone);
  border: var(--bw) solid var(--ink);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.35);
  font-size: 15px; line-height: 1;
  opacity: 0; transition: opacity 0.18s ease;
  pointer-events: none;
}
.shot-holder:hover .shot-expand { opacity: 1; }
.shot-cap {
  font-family: var(--font-mono);
  font-size: 12.5px; line-height: 1.55;
  color: var(--grey);
  border-left: 3px solid var(--purple);
  padding: 5px 0 5px 12px;
  margin-top: 12px;
}
.section-dark .shot-cap { color: #b8b2ac; }

/* ---------- motion capture (same window chrome as a still) ----------
   Muted + looping + playsinline so it behaves like an animated still and
   never grabs audio focus; controls stay on for reduced-motion users who
   want to stop it. No lightbox — a <video> is already its own viewer. */
.shot-vid {
  display: block;
  width: 100%;
  height: auto;
  background: var(--sunken);
}
.shot-live {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  background: var(--purple); color: #fff;
  border: 2px solid var(--ink); padding: 1px 7px;
}
@media (prefers-reduced-motion: reduce) {
  /* autoplay is dropped in markup for these users by the attribute below;
     this keeps the poster frame from implying motion. */
  .shot-vid { outline: none; }
}

/* ---------- hotspots (one dense shot only) ---------- */
.shot-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 3;
}
.shot-pin-dot {
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  background: var(--orange); color: var(--ink);
  border: var(--bw) solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  border-radius: 50%;
  font-family: var(--font-mono); font-weight: 700; font-size: 12px;
}
.shot-callout {
  position: absolute;
  width: max-content; max-width: 220px;
  background: var(--ink); color: var(--bone);
  border: var(--bw) solid var(--orange);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.45);
  font-family: var(--font-mono); font-size: 11px; line-height: 1.45;
  letter-spacing: 0.01em; text-transform: none;
  padding: 7px 10px;
}
.shot-callout b { color: var(--orange); font-weight: 700; }
.shot-callout--br { top: 32px; left: 4px; }
.shot-callout--bl { top: 32px; right: 4px; }

@media (max-width: 720px) {
  .shot-pin { display: none; }
}

/* ---------- lightbox ---------- */
.shot-lb {
  position: fixed; inset: 0; z-index: 999;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8, 8, 8, 0.92);
  padding: 4vh 4vw;
}
.shot-lb[hidden] { display: none; }
.shot-lb-fig {
  display: flex; flex-direction: column; gap: 12px;
  max-width: 94vw; max-height: 90vh;
  margin: 0;
}
.shot-lb-img {
  display: block;
  max-width: 94vw; max-height: 80vh;
  width: auto; height: auto;
  background: var(--paper);
  border: var(--bw) solid var(--ink);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.5);
}
.shot-lb--anim .shot-lb-img { animation: shot-zoom 0.2s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes shot-zoom {
  from { transform: scale(0.96); opacity: 0.4; }
  to   { transform: scale(1); opacity: 1; }
}
.shot-lb-cap {
  font-family: var(--font-mono); font-size: 12.5px; line-height: 1.55;
  color: #cfc9c3; text-align: center;
  max-width: 760px; margin: 0 auto;
}
.shot-lb-btn {
  position: absolute;
  background: var(--paper); color: var(--ink);
  border: var(--bw) solid var(--ink);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
  font-family: var(--font-mono); font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.shot-lb-btn:hover { background: var(--purple); color: #fff; }
.shot-lb-close { top: 4vh; right: 4vw; width: 42px; height: 42px; font-size: 18px; }
.shot-lb-nav { top: 50%; transform: translateY(-50%); width: 46px; height: 60px; font-size: 26px; }
.shot-lb-prev { left: 2vw; }
.shot-lb-next { right: 2vw; }
.shot-lb-nav[hidden] { display: none; }

@media (max-width: 600px) {
  .shot-lb-nav { width: 38px; height: 48px; font-size: 20px; }
  .shot-lb-close { width: 36px; height: 36px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .shot-lb--anim .shot-lb-img { animation: none; }
}
