/* depth-v1 r07 adapter of the own-code Cosmos card rail 0.1.1.
   Source: visualizations/designspells/desktop-26-50/wave-1/a/depth-carousel/style.css
   Preserve its stable card geometry and pan-y; let actual website heroes lead. */
.scene-projects .project-gallery.is-project-rail {
  --project-gap: 22px;
  position: relative;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  isolation: isolate;
}
.scene-projects .project-gallery.is-project-rail.is-dragging { cursor: grabbing; }
.scene-projects .project-gallery.is-project-rail .project-track {
  position: relative;
  display: block;
  padding: 0 var(--gutter, 24px);
  column-gap: var(--project-gap);
  perspective: none;
  transform-style: flat;
}
.scene-projects .project-gallery.is-project-rail .project {
  position: absolute;
  top: 0;
  left: 0;
  width: calc((100% - var(--gutter, 24px) - var(--gutter, 24px) - 22px) / 1.75);
  max-width: none;
  min-width: 0;
  transition: none;
  transform-origin: center;
  pointer-events: auto;
}
.scene-projects .project-gallery.is-project-rail .project[inert] { pointer-events: none; }
.scene-projects .project-gallery.is-project-rail .project-visual {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid #e1d7c32b;
  border-radius: 9px;
  background: #12232a;
}
.scene-projects .project-gallery.is-project-rail .project-preview-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  -webkit-user-drag: none;
}
.scene-projects .project-gallery.is-project-rail.is-dragging .project-preview-link { cursor: grabbing; }
.scene-projects .project-gallery.is-project-rail .project-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  -webkit-user-drag: none;
}
.scene-projects .project-gallery.is-project-rail .project-info {
  display: block;
  padding: 18px 2px 4px;
  opacity: 1;
}
.scene-projects .project-gallery.is-project-rail .project-info h3 {
  font-size: clamp(21px, 1.8vw, 30px);
  line-height: 1.12;
  margin-top: 6px;
}
.scene-projects .project-gallery.is-project-rail .project-info p {
  max-width: 39ch;
  font-size: 14px;
  line-height: 1.5;
}
.scene-projects .project-gallery.is-project-rail .project-link {
  display: inline-flex;
  margin-top: 14px;
  min-height: 44px;
  padding: 11px 17px;
  font-size: 13px;
  white-space: normal;
}
.scene-projects .project-gallery.is-project-rail .project-preview-link:focus-visible {
  outline: 3px solid var(--brass, #e4bc7c);
  outline-offset: -4px;
}
@media (min-width: 1700px) {
  .scene-projects .project-gallery.is-project-rail .project {
    width: calc((100% - var(--gutter, 24px) - var(--gutter, 24px) - 22px) / 2.2);
  }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .scene-projects .project-gallery.is-project-rail .project {
    width: calc((100% - var(--gutter, 24px) - var(--gutter, 24px) - 22px) / 1.2);
  }
}
@media (max-width: 760px) {
  .scene-projects .project-gallery.is-project-rail { --project-gap: 16px; }
  .scene-projects .project-gallery.is-project-rail .project {
    width: calc(100% - var(--gutter, 24px) - var(--gutter, 24px) - 12px);
  }
  .scene-projects .project-gallery.is-project-rail .project-info { padding-top: 15px; }
  .scene-projects .project-gallery.is-project-rail .project-info h3 { font-size: 24px; }
  .scene-projects .project-gallery.is-project-rail .project-info p { font-size: 13px; }
  .scene-projects .project-gallery.is-project-rail .project-link { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .scene-projects .project-gallery.is-project-rail .project { transition: none; }
}
@media (min-width: 761px) and (max-height: 760px) {
  .journey-stage[data-scene="2"] .journey-hint { visibility: hidden; }
  .is-enhanced .scene-projects .project-gallery.is-project-rail .project-visual {
    height: min(28vh, 210px);
    aspect-ratio: auto;
  }
  .is-enhanced .scene-projects .project-gallery.is-project-rail .project-info p { display: none; }
  .is-enhanced .scene-projects .project-gallery.is-project-rail .project-info h3 { font-size: 23px; }
  .is-enhanced .scene-projects .project-controls {
    position: absolute;
    right: var(--gutter);
    bottom: 82px;
    margin: 0;
    gap: 24px;
  }
}
