/* Photographs and silent motion previews retain their individual proportions. */
.about-seed { position: absolute; width: 86%; height: 86%; object-fit: contain; left: 7%; top: 7%; }
#photo-stack.about-photo-stack {
  position: relative;
  isolation: isolate;
  contain: layout style;
  background: transparent;
  outline: none;
  touch-action: pan-y;
}
#photo-stack.about-photo-stack:focus-visible {
  outline: 2px solid #007aff;
  outline-offset: 5px;
  border-radius: 6px;
}
#photo-stack .about-stack-card {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 2px;
  aspect-ratio: auto;
  overflow: visible;
  background: transparent;
  opacity: 1;
  transform: translate(-50%, calc(-50% + var(--stack-depth, 0) * 5px + 12px)) rotate(var(--stack-turn, 0deg)) scale(.975);
  box-shadow: 0 12px 28px #19191418, 0 2px 7px #1919140b;
  transition: transform 300ms cubic-bezier(.22, 1, .36, 1);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
#photo-stack .about-stack-card.is-visible,
#photo-stack .about-stack-card.is-first {
  transform: translate(-50%, calc(-50% + var(--stack-depth, 0) * 5px)) rotate(var(--stack-turn, 0deg)) scale(1);
}
#photo-stack .about-stack-card[inert] { pointer-events: none; }
#photo-stack .about-stack-card:focus-visible { outline: 2px solid #007aff; outline-offset: 5px; }
#photo-stack .about-stack-card img,
#photo-stack .about-stack-card video {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: inherit;
  object-fit: contain;
  background: transparent;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
#photo-stack .about-stack-card video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: none;
}
#photo-stack .about-stack-card.is-playing video { opacity: 1; visibility: visible; }
#photo-stack .about-stack-card.is-playing > img { display: none; }
.about-stack-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
@media (prefers-reduced-motion: reduce) {
  #photo-stack .about-stack-card,
  #photo-stack .about-stack-card video { transition: none; }
  #photo-stack .about-stack-card,
  #photo-stack .about-stack-card.is-visible { transform: translate(-50%, -50%); }
}
