/* The booking section occupies the last screen of the portrait runway. */
#band.in-portrait-journey {
  --portrait-screen: 100svh;
  --portrait-travel: min(166svh, 1700px);
  display: block;
  z-index: 1;
  min-height: 0;
  height: calc(var(--portrait-screen) + var(--portrait-travel));
  padding: 0;
  margin-bottom: calc(-1 * var(--portrait-screen));
  overflow: visible;
  pointer-events: none;
  background: none;
  scroll-margin-top: calc(-.5 * var(--portrait-travel));
}
#band.in-portrait-journey::before { content: none; }
.portrait-stage, .portrait-slot, .portrait-image-plane { display: contents; }
.portrait-soft { display: none; }
.in-portrait-journey .portrait-stage {
  position: sticky;
  top: 0;
  isolation: isolate;
  display: grid;
  align-items: center;
  height: var(--portrait-screen);
  overflow: clip;
  opacity: var(--portrait-matte, 1);
  background: radial-gradient(ellipse at 34% 50%, #513020, transparent 65%),
    linear-gradient(120deg, #1a120f, #100c0a 70%, #0c0a09);
}
.in-portrait-journey .portrait-slot {
  display: block;
  min-width: 0;
  width: 120%;
  justify-self: center;
}
.in-portrait-journey .portrait-image-plane {
  position: relative;
  display: block;
  transform-origin: 0 0;
  transform: var(--portrait-pose, none);
  mask-image: linear-gradient(180deg, #000 81%, transparent 100%);
}
#band.in-portrait-journey .band-photo {
  width: 100%;
  mask-image: none;
  opacity: calc(1 - var(--portrait-defocus, 0));
}
/* Composite a fixed soft layer during the exit. Its blur kernel and raster size
   stay constant while the parent carries both copies of the photo together. */
.in-portrait-journey .portrait-soft {
  display: block;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 50%;
  max-width: none;
  transform-origin: 0 0;
  transform: scale(2);
  filter: blur(2px);
  opacity: var(--portrait-defocus, 0);
}
#band.in-portrait-journey .band-content {
  opacity: var(--portrait-type, 1);
  transform: translate3d(0, var(--portrait-type-rise, 0), 0);
}
#band.in-portrait-journey .lineup li {
  opacity: var(--name-opacity, 1);
  transform: translate3d(var(--name-shift, 0), 0, 0);
}
.in-portrait-journey .portrait-stage.can-select .band-content { pointer-events: auto; }
@media (max-width: 850px) {
  #band.in-portrait-journey { --portrait-travel: min(212svh, 2000px); }
  .in-portrait-journey .portrait-slot { width: min(105%, 62svh, 600px); }
}
@media print {
  #band.in-portrait-journey { height: auto; margin: 0; }
  #band.in-portrait-journey .portrait-stage { position: static; height: auto; opacity: 1; }
  #band.in-portrait-journey :is(.portrait-image-plane, .band-photo, .band-content, .lineup li) { transform: none; opacity: 1; }
  #band.in-portrait-journey .portrait-soft { display: none; }
}
