/* Transparent project objects. Keep the hit areas still while their artwork moves. */
.sv-cinematic .swc-current {
  --swc-tile-ratio: 1;
  --swc-size: 52px;
  --swc-object-size: 58px;
  position: relative;
  flex: 0 0 auto;
  width: min(100%, 486px);
  padding: 18px 5px 3px;
  color: #fff1e7;
  isolation: isolate;
}
.sv-cinematic .swc-heading {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0 5px 16px 0;
  font: 400 10px/1.4 var(--svs-mono, 'Space Mono', monospace);
  letter-spacing: .045em;
  transition: opacity .16s;
}
.swc-heading::before {
  content: '';
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: #d7ff8a;
  box-shadow: 0 0 9px #d7ff8a55;
}
.sv-cinematic .swc-rail {
  display: grid;
  grid-template-columns: repeat(9, var(--swc-size));
  justify-content: end;
  gap: 0;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  touch-action: pan-y;
}
.swc-item { position: relative; min-width: 0; padding: 0; margin: 0; }
.sv-cinematic .swc-project {
  appearance: none;
  display: grid;
  place-items: center;
  position: relative;
  width: var(--swc-size);
  height: 55px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 13px;
  background: none;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.swc-project::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #d696f6;
  opacity: 0;
  transition: opacity .18s;
}
.swc-project[data-current-active]::after { opacity: 1; }
.swc-project:focus-visible { outline: 1px solid #e0b1ff; outline-offset: 3px; }
.swc-object {
  display: block;
  width: var(--swc-object-size);
  aspect-ratio: var(--swc-tile-ratio);
  position: relative;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  transform-origin: 50% 85%;
  transform: translate3d(var(--swc-x, 0px), var(--swc-y, 0px), 0) scale(var(--swc-scale, 1));
  transition: transform .34s cubic-bezier(.2,.82,.25,1);
  filter: drop-shadow(0 5px 4px #02080655);
}
.swc-object > img {
  position: absolute;
  display: block;
  max-width: none;
  width: 300%;
  height: 300%;
  left: calc(var(--swc-col) * -100%);
  top: calc(var(--swc-row) * -100%);
  object-fit: fill;
  pointer-events: none;
  -webkit-user-drag: none;
}
.swc-tooltip {
  position: absolute;
  z-index: 4;
  top: var(--swc-label-top, 30px);
  left: var(--swc-label-left, 50%);
  max-width: calc(100% - 12px);
  padding: 8px 11px;
  border: 1px solid #ead2f233;
  border-radius: 9px;
  background: #271432f2;
  color: #fff1e7;
  box-shadow: 0 5px 18px #0003;
  font: 500 12px/1.35 var(--svs-body, sans-serif);
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -100%) translateY(5px);
  transition: opacity .16s, transform .24s cubic-bezier(.22,1,.36,1), left .2s cubic-bezier(.22,1,.36,1);
}
.swc-current[data-current-open] .swc-tooltip { opacity: 1; transform: translate(-50%, -100%) translateY(0); }
.swc-current[data-current-open] .swc-heading { opacity: 0; }
.swc-current[data-current-entered] .swc-item { animation: swc-drop .65s cubic-bezier(.22,1,.36,1) calc(var(--swc-index) * 45ms) both; }
@keyframes swc-drop {
  0% { opacity: 0; translate: 0 -22px; }
  65% { opacity: 1; translate: 0 2px; }
  100% { opacity: 1; translate: 0 0; }
}
@media (min-width: 456px) {
  .sv-cinematic .sv-hero-foot:has(.swc-current) { padding-bottom: 64px; }
}
@media (min-width: 701px) {
  body.sonder-film-home .sv-cinematic:has(.swc-current) .sv-hero-copy { padding-bottom: 0; }
  .sv-cinematic .sv-hero-foot:has(.swc-current) { align-items: flex-end; }
  .sv-cinematic .sv-hero-foot:has(.swc-current) > p { padding-bottom: 14px; }
}
@media (min-width: 701px) and (max-width: 1000px) {
  .sv-cinematic .swc-current { --swc-size: 44px; --swc-object-size: 50px; width: 406px; }
  .sv-cinematic .sv-hero-foot:has(.swc-current) > p { max-width: 160px; }
}
@media (max-width: 700px) {
  .sv-cinematic .sv-hero-foot:has(.swc-current) { flex-direction: column; align-items: stretch; gap: 13px; }
  .sv-cinematic .swc-current { --swc-size: 44px; --swc-object-size: 48px; width: 100%; padding: 13px 0 0; order: -1; }
  .sv-cinematic .swc-heading { justify-content: flex-start; margin: 0 0 13px; font-size: 9px; }
  .sv-cinematic .swc-rail { grid-template-columns: repeat(9, 1fr); justify-content: stretch; }
  .sv-cinematic .swc-project { width: 100%; height: 48px; }
  .sv-cinematic .sv-hero-foot:has(.swc-current) > p { font-size: 10px; }
}
@media (max-width: 455px) {
  .sv-cinematic .swc-rail { grid-template-columns: repeat(10, 1fr); row-gap: 6px; justify-content: center; }
  .swc-item { grid-column: span 2; }
  .swc-item:nth-child(6) { grid-column: 1 / span 2; }
  .sv-cinematic .swc-current { --swc-object-size: 46px; }
  .sv-cinematic .swc-heading { margin-bottom: 12px; }
}
body:is(.svs-motion-paused, .motion-paused, .reduced-motion) .swc-object { transform: none !important; transition: none !important; }
body:is(.svs-motion-paused, .motion-paused, .reduced-motion) .swc-item { animation: none !important; }
body:is(.svs-motion-paused, .motion-paused, .reduced-motion) .swc-tooltip { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .swc-object { transform: none !important; transition: none !important; }
  .swc-item { animation: none !important; }
  .swc-tooltip { transition: none !important; }
}
