/* Shared product screenshot gallery ("See it in action").
   Used on every app page and in the Feature Atlas. Markup is generated by
   scripts/build-feature-atlas.mjs; behavior lives in /js/shots.js. */
.shots-section { overflow: clip; }
.shots-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 40px; margin-bottom: clamp(24px, 3.4vw, 44px); }
.shots-head .section-title { margin-bottom: 0; }
.shots-head > p { max-width: 42ch; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }

.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 48px) clamp(18px, 2.6vw, 36px); margin: 0; padding: 0; }
.shots--single { grid-template-columns: minmax(0, 1fr); }
.shot { min-width: 0; margin: 0; perspective: 1400px; }

.shot-frame {
  --rx: 0deg; --ry: 0deg; --lift: 0px; --scale: 1; --gx: 50%; --gy: 50%;
  position: relative; display: block; width: 100%; margin: 0; padding: 0; overflow: hidden;
  border: 1px solid var(--line, #e7e7e2); border-radius: 18px; background: #fff; color: inherit; font: inherit; text-align: left; cursor: zoom-in;
  box-shadow: 0 1px 2px rgba(31, 29, 61, 0.06), 0 22px 48px -26px rgba(31, 29, 61, 0.34);
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift)) scale(var(--scale));
  transform-style: preserve-3d; -webkit-tap-highlight-color: transparent;
  transition: transform 520ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)), box-shadow 520ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1));
}
.shot-frame.is-tilting { transition: transform 140ms linear, box-shadow 520ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)); }
.shot-chrome { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; border-bottom: 1px solid var(--line, #e7e7e2); background: #f7f7f3; }
.shot-chrome i { width: 8px; height: 8px; border-radius: 50%; background: #deded8; }
.shot-chrome i:first-child { background: #f3c9b6; }
.shot-chrome i:nth-child(2) { background: #f3e28a; }
.shot-chrome i:nth-child(3) { background: #c8e6cd; }
.shot-frame img { display: block; width: 100%; height: auto; aspect-ratio: 1536 / 784; background: #f7f7f3; }
/* Soft light that follows the cursor, plus a one-time glint sweep on hover. */
.shot-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 400ms ease;
  background: radial-gradient(520px circle at var(--gx) var(--gy), rgba(255, 255, 255, 0.28), transparent 60%);
}
.shot-glint {
  position: absolute; inset: -20% -60%; pointer-events: none; opacity: 0; transform: translateX(-60%) skewX(-18deg);
  background: linear-gradient(90deg, transparent 38%, rgba(255, 255, 255, 0.5) 50%, transparent 62%);
}
.shot-frame:focus-visible { outline: 3px solid var(--explore-lilac-border, #6f4bd8); outline-offset: 4px; }

.shot figcaption { display: grid; gap: 4px; margin-top: 16px; }
.shot figcaption strong { color: var(--ink, #050505); font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.shot figcaption span { color: var(--muted, #64645f); font-size: 15px; line-height: 1.5; }
.shot figcaption a { justify-self: start; margin-top: 4px; color: var(--ink, #050505); font-size: 14px; font-weight: 560; text-decoration: none; border-bottom: 1px solid currentColor; }
.shot figcaption a:hover { border-bottom-color: transparent; }
/* Page stylesheets style bare paragraphs and headings; keep captions identical everywhere. */
.shots-section .shot figcaption { font-family: inherit; }

@media (hover: hover) and (pointer: fine) {
  .shot-frame:hover { --lift: -8px; box-shadow: 0 2px 4px rgba(31, 29, 61, 0.06), 0 44px 80px -30px rgba(31, 29, 61, 0.45); }
  .shot-frame:hover::after { opacity: 1; }
  .shot-frame:hover .shot-glint { opacity: 1; transform: translateX(60%) skewX(-18deg); transition: transform 1100ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)), opacity 200ms ease; }
}
@media (hover: none) {
  .shot-frame { transition: transform 260ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)), box-shadow 260ms ease; }
  .shot-frame:active { --scale: 1.015; box-shadow: 0 2px 4px rgba(31, 29, 61, 0.06), 0 34px 64px -28px rgba(31, 29, 61, 0.42); }
}
@media (prefers-reduced-motion: reduce) {
  .shot-frame, .shot-frame.is-tilting { transform: none; transition: box-shadow 200ms ease; }
  .shot-frame:active { transform: none; }
  .shot-glint, .shot-frame::after { display: none; }
}
@media (max-width: 760px) {
  .shots { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .shot-frame { border-radius: 14px; }
  .shot-chrome { height: 20px; padding: 0 10px; }
  .shot-chrome i { width: 6px; height: 6px; }
}

/* ---------------------------------------------------------------- lightbox */
html.shot-lightbox-open { overflow: hidden; }
.shot-lightbox {
  width: min(1480px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0 auto; padding: 0; border: 0;
  background: transparent; color: #fff; overflow: hidden;
}
.shot-lightbox::backdrop { background: rgba(12, 11, 28, 0.86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.shot-lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: shot-lightbox-in 260ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)); }
.shot-lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(12px, 3vw, 28px); }
.shot-lightbox-count { color: rgba(255, 255, 255, 0.66); font-family: "Geist Mono", monospace; font-size: 12px; letter-spacing: 0.08em; }
.shot-lightbox-stage { position: relative; display: grid; min-height: 0; place-items: center; padding: 0 clamp(12px, 5vw, 76px); }
.shot-lightbox-stage img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 12px; box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5); object-fit: contain; }
.shot-lightbox-caption { max-width: 72ch; margin: 0 auto; padding: 16px clamp(16px, 4vw, 32px) 22px; text-align: center; }
.shot-lightbox-caption strong { display: block; font-size: 17px; font-weight: 600; }
.shot-lightbox-caption span { display: block; margin-top: 4px; color: rgba(255, 255, 255, 0.72); font-size: 15px; line-height: 1.5; }
.shot-lightbox button {
  display: grid; width: 44px; height: 44px; place-items: center; padding: 0; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); color: #fff; font: inherit; font-size: 20px; line-height: 1; cursor: pointer; transition: background-color 160ms ease, transform 160ms ease;
}
.shot-lightbox button:hover { background: rgba(255, 255, 255, 0.18); }
.shot-lightbox button:active { transform: scale(0.96); }
.shot-lightbox button:focus-visible { outline: 3px solid #c5b0f4; outline-offset: 3px; }
.shot-lightbox-prev, .shot-lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); }
.shot-lightbox-prev { left: clamp(8px, 1.6vw, 20px); }
.shot-lightbox-next { right: clamp(8px, 1.6vw, 20px); }
.shot-lightbox-prev:active, .shot-lightbox-next:active { transform: translateY(-50%) scale(0.96); }
.shot-lightbox[data-single] .shot-lightbox-prev, .shot-lightbox[data-single] .shot-lightbox-next, .shot-lightbox[data-single] .shot-lightbox-count { visibility: hidden; }
@media (max-width: 640px) {
  .shot-lightbox-stage { padding: 0 6px; }
  .shot-lightbox-prev, .shot-lightbox-next { width: 38px; height: 38px; background: rgba(12, 11, 28, 0.6); }
  .shot-lightbox-prev { left: 10px; }
  .shot-lightbox-next { right: 10px; }
}
@keyframes shot-lightbox-in { from { opacity: 0; transform: scale(0.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .shot-lightbox[open] { animation: none; } }
