/* Home: seven hangs on one denim wall. The first breaks the stencil h1 over three corners of five prints, with the $0 stamp already pressed. Two of the question hangs (cost, join) are the sparse hang of two big prints. */

/* the home page body: body.the-wall-home */
.the-wall-home { overflow-x: clip; }

/* the opening hang fills the window under the binder: --the-shout sizes the three stencil words */
.the-band-open {
  padding-block: 0 var(--the-breath);
  --the-shout: clamp(2rem, 5vw, 4.75rem);
}
.the-opening {
  height: calc(100svh - 5.9rem); min-height: 38rem; max-height: 60rem;
  grid-template-rows: auto minmax(0, 1fr) minmax(0, 1fr) auto minmax(0, 1fr) auto auto;
}
.the-opening > h1 { display: contents; }

/* the h1 broken into three case markings: span.the-word placed by --the-hang / --the-rung */
.the-word {
  display: block;
  grid-column: var(--the-hang); grid-row: var(--the-rung);
  padding-inline: var(--the-edge);
  font-size: var(--the-shout); line-height: 1;
}
.the-word-top { --the-hang: 1 / 12; --the-rung: 1; padding-top: clamp(0.75rem, 2.5vh, 1.5rem); }
.the-word-mid { --the-hang: 18 / -1; --the-rung: 4; justify-self: end; text-align: right; }
.the-word-low { --the-hang: 1 / 15; --the-rung: 6; }

/* the five prints fill their cells, cropped, touching the window edges */
.the-opening > .the-print { position: relative; align-self: stretch; overflow: hidden; }
.the-opening > .the-print img { position: absolute; inset: 0; height: 100%; }
.the-first { --the-hang: 1 / 11; --the-rung: 2 / 6; }
.the-first video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.the-the-cases { --the-hang: 15 / -1; --the-rung: 1 / 3; --the-shape: 16 / 9; }
.the-the-stand { --the-hang: 11 / 15; --the-rung: 2 / 6; --the-shape: 2 / 3; }
.the-the-sheet { --the-hang: 15 / 19; --the-rung: 5 / -1; --the-shape: 4 / 5; }
.the-the-drum { --the-hang: 19 / -1; --the-rung: 5 / -1; --the-shape: 1 / 1; }

/* the one small chalk line in the central gap */
.the-motto {
  --the-hang: 15 / 21; --the-rung: 3;
  align-self: center;
  margin: 0; padding-inline: 0.75rem;
  font-size: 1.0625rem; line-height: 1.45;
}

/* the stamp pressed over the bottom edge of the top-right print */
.the-opening > .the-stamp {
  --the-hang: 21 / -1; --the-rung: 3;
  justify-self: center; align-self: start;
  translate: 0 -50%;
}

/* the action under 'school, chicago' */
.the-way {
  --the-hang: 1 / 15; --the-rung: 7;
  position: relative; z-index: 3;
  margin: 0; padding-inline: var(--the-edge);
}

/* a caption that sits on the bottom line of the print beside it */
.the-low { align-self: end; }

/* the owner speaking, first person, set a size up from the captions */
.the-said { max-width: 44rem; padding-block: 0.5rem; }

/* site names under the four doorway prints */
.the-label a {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  font: 400 clamp(1.0625rem, 0.95rem + 0.5vw, 1.375rem)/1.2 var(--the-stencil);
  text-transform: lowercase;
}
.the-chalk h3 a { text-decoration: underline 0.125rem var(--the-brass); text-underline-offset: 0.22em; }
.the-chalk h3 a:hover, .the-chalk h3 a:focus-visible { color: var(--the-gleam); }

/* phone: the opening is a short block - three stencil lines, a low crop of the cello case, then the slogan and the action in clear denim beside the stamp, then a two-column hang */
@container band (max-width: 44rem) {
  .the-opening { height: auto; min-height: 0; max-height: none; grid-template-rows: none; }
  .the-opening > h1 { display: block; order: -1; padding-block: 1rem 0.25rem; }
  .the-word, .the-word-top, .the-word-mid, .the-word-low { padding: 0; text-align: left; }
  .the-opening > .the-print { position: static; overflow: visible; }
  .the-opening > .the-print img { position: static; height: auto; }
  .the-first { --the-narrow: 1 / -1; --the-shape: 2 / 1; }
  .the-first img { object-position: 50% 0; }
  .the-first video { position: static; height: auto; aspect-ratio: 2 / 1; object-position: 50% 0; }
  .the-opening > .the-motto {
    --the-narrow: 1 / 2;
    align-self: end;
    padding-inline: var(--the-edge) 0; padding-top: 0.5rem;
  }
  .the-opening > .the-stamp {
    --the-narrow: 2 / 3;
    grid-row: span 2;
    justify-self: center; align-self: center; translate: none;
    width: 7rem; padding-inline: 0;
  }
  .the-opening > .the-way {
    --the-narrow: 1 / 2;
    align-self: start;
    padding-inline: var(--the-edge) 0; padding-bottom: 0.75rem;
  }
  .the-low { align-self: auto; }
}
