/* ══ Orbit cards ═══════════════════════════════════════════
   The frame holds the perspective, the ring the 3D; the cards are
   placed on the ring once and the component writes only the
   ring's turn and each card's outline. */
.pob {
  position: relative;
  perspective: 900px;
  perspective-origin: 50% 40%;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;}

.pob:active { cursor: grabbing; }

.pob-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  transform-style: preserve-3d;
  will-change: transform;}

/* one narrow upright slice of a card, standing on the curve: the
   fill's slab, flat — a shade here melted the edges into the wall */
.pob-strip {
  position: absolute;
  left: 0;
  top: 0;
  /* Bencho --fill-slab maps directly to VLYNH's existing light surface. */
  background: var(--paper);
  overflow: hidden;
  /* seen from the front, so the far side never shows its backs */
  backface-visibility: hidden;}

/* All slices share the same photo size; only their crop offset differs. */
.pob-strip-image {
  position: absolute;
  top: 0;
  max-width: none;
  object-fit: cover;
  pointer-events: none;}

/* VLYNH integration: scale the entire original 420 × 300 stage,
   including its camera, so dragging and curvature keep the same proportions. */
.group-heading--orbit {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  margin-bottom: 42px;}
.group-heading-copy { min-width: 0; }
.group-heading-copy > p {
  font-size: 14px;
  line-height: 2.2;
  color: var(--muted);
  margin-top: 24px;}
.group-orbit-host { width: 100%; max-width: 420px; min-width: 0; justify-self: end; }
.group-orbit-host > .orbit-fallback { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; border-radius: 16px; }
.orbit-feature { width: 100%; font-family: var(--jp); color: var(--ink); }
.orbit-frame { position: relative; width: 100%; aspect-ratio: 7 / 5; overflow: clip; }
.orbit-frame > .pob {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%) scale(var(--orbit-scale, 1));
  transform-origin: 50% 0;}
.pob[data-paused] { cursor: default; }
.pob[data-running="false"] .pob-ring { will-change: auto; }
@media (max-width: 800px) {
  .group-heading--orbit { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 30px; }
  .group-orbit-host { justify-self: center; max-width: 380px; }
  .group-heading-copy > p { margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) { .pob { cursor: default; } }
html.motion-reduced .pob { cursor: default; }

/* Match the closer framing when the same photo appears on a curved card. */
.pob-strip-image.is-portrait{transform:scale(3);transform-origin:55% 80%}
