/* concerts: the opening hang, the roster of facts, the side-wing strip, the way on. Loads after site.css. */

/* ---------- opening hang ---------- */
.the-foyer-band { padding-top: clamp(1rem, 3vh, 2rem); padding-bottom: clamp(1.5rem, 5vh, 3rem); }

/* the h1 is a real box across the wall; its two halves sit on the wall's own columns */
.the-when {
  --the-hang: 1 / -1; --the-rung: 1;
  display: grid; grid-template-columns: subgrid;
  align-items: end;
}
.the-when-a {
  grid-column: 2 / span 14;
  font-size: clamp(1.75rem, 1rem + 2.1vw, 2.75rem);
}
.the-when-b {
  grid-column: 16 / -1;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.875rem);
  line-height: 1.15;
}

.the-foyer-wide { --the-hang: 1 / span 14; --the-rung: 2; --the-narrow: 1 / -1; --the-shape: 16 / 9; }
.the-foyer-wide img { max-height: 52vh; }
.the-foyer-scene { --the-hang: 2 / span 12; --the-rung: 3; max-width: 36rem; }
.the-foyer-scene { font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); }

.the-foyer-chairs {
  --the-hang: 16 / -1; --the-rung: 2 / span 2; --the-narrow: 1 / -1; --the-shape: 1 / 1;
  position: relative; align-self: stretch;
}
.the-foyer-chairs img { height: 100%; }
/* the stamp is pressed over the print's left edge, half on the wall */
.the-foyer-chairs .the-stamp {
  position: absolute; top: 1.25rem; left: -4.25rem;
}

/* ---------- roster of facts ---------- */
.the-roster-a { --the-hang: 2 / span 9; --the-rung: 1; }
.the-roster-b { --the-hang: 2 / span 9; --the-rung: 2; }
.the-roster-facts { --the-hang: 12 / span 12; --the-rung: 1 / span 2; align-self: center; }
.the-roster-facts dd { font-size: 1.0625rem; line-height: 1.5; }
.the-roster-facts a { text-decoration-thickness: 0.125rem; text-decoration-color: var(--the-brass); }

/* ---------- the side-wing strip ---------- */
.the-wing-head { align-items: end; padding-bottom: 1.25rem; }
.the-wing-q { --the-hang: 2 / span 13; --the-rung: 1; }
.the-wing-why { --the-hang: 16 / span 8; --the-rung: 1; }

.the-wing-box {
  --the-reach: clamp(13rem, 54vh, 24rem);
  display: flex; align-items: flex-start; gap: 0.5rem;
  padding: 0.5rem var(--the-edge) 1rem;
  overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-width: thin; scrollbar-color: var(--the-brass) var(--the-shade);
}
.the-wing-box:focus-visible { outline-offset: -0.25rem; }
.the-wing-cell {
  flex: none; width: min-content; margin: 0;
  transition: transform var(--the-quick);
}
.the-wing-cell:hover { transform: translate(0.125rem, -0.125rem); }
.the-wing-cell img {
  display: block; width: auto; max-width: none;
  height: var(--the-reach); aspect-ratio: var(--the-shape, 3 / 2);
  object-fit: cover;
}
.the-wing-cell figcaption { padding-top: 0.5rem; font-size: 0.95rem; line-height: 1.4; }

/* walking controls: only drawn when script is there to work them */
.the-wing-walk {
  display: none; align-items: center; gap: 1.5rem;
  padding: 0.25rem var(--the-edge) 0;
}
.js .the-wing-walk { display: flex; }
.the-wing-walk .the-brass { min-height: 2.75rem; }
.the-wing-track {
  position: relative; flex: 1; min-width: 0;
  height: 0.125rem; background: rgba(236, 230, 214, 0.4);
}
.the-wing-mark {
  position: absolute; top: -0.1875rem; left: 0;
  width: 20%; height: 0.5rem; background: var(--the-brass);
}
.the-spent-on { opacity: 0.5; }

/* ---------- the way on ---------- */
.the-exit { align-items: center; }
.the-exit-text { --the-hang: 2 / span 10; --the-rung: 1; }
.the-exit-text > .the-stencil { margin-bottom: 0.9rem; }
.the-exit-print { --the-hang: 13 / -1; --the-rung: 1; --the-narrow: 1 / -1; }
.the-exit-links { display: flex; flex-wrap: wrap; gap: 0.25rem 2rem; margin-top: 1rem; }

/* ---------- when the band is narrow: one column, the h1 whole, the picture right under it ---------- */
@container band (max-width: 44rem) {
  .the-when, .the-when-a, .the-when-b { display: block; }
  .the-when-b { padding-top: 0.4rem; }
  .the-foyer-wide img { max-height: none; }
  .the-foyer-chairs img { height: auto; }
  .the-foyer-chairs .the-stamp { top: 0.75rem; right: 0.75rem; left: auto; width: 7rem; }
  .the-foyer-chairs .the-stamp-word { font-size: 0.8rem; }
  .the-wing-box { --the-reach: 15rem; }
  .the-wing-walk { gap: 1rem; }
}
