/* Block 2: five reasons. A wall of real venue prints, larger than the screen, drifts past diagonally (desktop);
   the five reason prints light up from wine-toned to full colour as they cross the middle */
/* the background (drifting sand, the evening from sand to night) belongs to the shared stage behind it */
/* text runs cream on the dark skies and ink on the light ones, following the stage's --ink */
.b2 { --fg: color-mix(in srgb, var(--papyrus-ink) calc(var(--ink) * 100%), var(--cream)); --gold-on: color-mix(in srgb, #7A5512 calc(var(--ink) * 100%), var(--gold));
  position: relative; z-index: 1; height: 440vh; color: var(--fg); }
.b2__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
/* wall units: x and w in vw, y in vh */
.b2__wall { position: absolute; left: 0; top: 0; width: 170vw; height: 330vh; will-change: transform; }

.b2__intro { position: absolute; left: 25vw; top: 0; width: 50vw; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.b2__kicker { font: 600 13px/1 var(--sans); color: var(--gold-on); margin-bottom: 22px; }
.b2__h { font: 700 clamp(44px, 5.2vw, 96px)/.98 var(--serif); text-transform: uppercase; letter-spacing: .01em; }
.b2__h em { font-style: normal; font-weight: 900; color: var(--gold-on); }
.b2__lede { max-width: 40ch; margin-top: 26px; font: 500 16px/1.6 var(--sans); color: color-mix(in srgb, currentColor 82%, transparent); }
.js .b2__intro > * { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js .b2__intro.is-in > * { opacity: 1; transform: none; }
.js .b2__intro.is-in > :nth-child(2) { transition-delay: .1s; }
.js .b2__intro.is-in > :nth-child(3) { transition-delay: .2s; }

/* a print: the figure box is the photo; captions hang outside it. Unlit prints are muted, never tinted, so they stay photos */
.pr { position: absolute; left: calc(var(--x) * 1vw); top: calc(var(--y) * 1vh); width: calc(var(--w) * 1vw); margin: 0; }
.pr img { display: block; width: 100%; height: auto; box-shadow: 0 24px 48px -18px rgba(0, 0, 0, .55); }
.pr figcaption { position: absolute; font: 500 11px/1.4 var(--sans); color: color-mix(in srgb, var(--fg) 65%, transparent); }
.pr--s figcaption { top: calc(100% + 8px); left: 0; }
/* side prints are faded right back, black-and-white and see-through, so the five reasons carry the colour */
.pr--s img { filter: grayscale(1) contrast(.75) brightness(1.08); opacity: .36; box-shadow: none; }

.pr--f figcaption { bottom: 0; width: 230px; font-size: 14px; line-height: 1.55; color: color-mix(in srgb, var(--fg) 85%, transparent); opacity: .35; transition: opacity 1s var(--ease-out); }
.pr--r figcaption { left: calc(100% + 26px); }
.pr--l figcaption { right: calc(100% + 26px); text-align: right; }
.pr__n { display: block; font: 700 30px/1 var(--serif); color: var(--gold-on); margin-bottom: 10px; }
.pr--f figcaption b { display: block; font: 700 17px/1.2 var(--sans); color: var(--fg); margin-bottom: 6px; }
.pr.is-lit figcaption { opacity: 1; }

@media (max-width: 760px) {
  /* phone: the prints run down the page as a loose collage, no pin */
  .b2 { height: auto; }
  .b2__pin { position: relative; height: auto; overflow: visible; }
  .b2__wall { position: relative; width: auto; height: auto; padding: 16vh 16px 14vh; display: flex; flex-direction: column; }
  .b2__intro { position: relative; left: auto; top: auto; width: auto; height: auto; margin-bottom: 10vh; }
  .b2__h { font-size: 11vw; }
  .b2__lede { font-size: 15px; }
  .pr { position: relative; left: auto; top: auto; order: var(--o); }
  .pr--f { width: 72vw; margin-bottom: 16vh; }
  .pr--r { align-self: flex-start; }
  .pr--l { align-self: flex-end; }
  .pr--f figcaption { position: static; display: block; width: auto; margin-top: 14px; text-align: left; font-size: 14px; }
  .pr--s { width: 30vw; margin: -12vh 0 8vh; align-self: var(--ma, flex-end); z-index: 1; }
  .pr--wide { display: none; }
  .pr--s figcaption { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pr img { filter: none; }
  .pr figcaption { opacity: 1; }
}
