/* American Textures closing statement.
   Source wording is unchanged; only placement and spacing are adjusted. */
@media (min-width: 901px){
  .workShell[data-work="american-textures"] .american-reflection{
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 30px);
    width: min(1180px, 92vw);
    max-width: min(1180px, 92vw);
    padding-top: clamp(24px, 2.6vw, 36px);
  }

  .workShell[data-work="american-textures"] .american-reflection > div{
    display: contents;
  }

  .workShell[data-work="american-textures"] .american-reflection > div:first-child .pairText{
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .workShell[data-work="american-textures"] .american-reflection > div:first-child .pairText:nth-child(1){
    grid-column: 1 / span 4;
    grid-row: 1;
  }

  .workShell[data-work="american-textures"] .american-reflection > div:first-child .pairText:nth-child(2){
    grid-column: 5 / span 4;
    grid-row: 1;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .workShell[data-work="american-textures"] .american-reflection > div:first-child .pairText:nth-child(3){
    grid-column: 9 / span 4;
    grid-row: 1;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .workShell[data-work="american-textures"] .american-reflection > div:last-child .pairText{
    grid-column: 3 / span 8;
    grid-row: 2;
    max-width: 62ch;
    margin: clamp(28px, 3vw, 44px) auto 0;
    padding-top: clamp(20px, 2vw, 28px);
    border-top: 1px solid rgba(245, 237, 208, 0.18);
    text-align: center;
    color: rgba(245, 237, 208, 0.76);
  }
}

@media (max-width: 900px){
  .workShell[data-work="american-textures"] .american-reflection{
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .workShell[data-work="american-textures"] .american-reflection > div{
    display: contents;
  }

  .workShell[data-work="american-textures"] .american-reflection .pairText{
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    max-width: 34ch;
    margin: 0;
    padding-block: 16px;
    border-top: 1px solid rgba(245, 237, 208, 0.12);
  }

  .workShell[data-work="american-textures"] .american-reflection > div:first-child .pairText:nth-child(1),
  .workShell[data-work="american-textures"] .american-reflection > div:first-child .pairText:nth-child(2),
  .workShell[data-work="american-textures"] .american-reflection > div:first-child .pairText:nth-child(3),
  .workShell[data-work="american-textures"] .american-reflection > div:last-child .pairText{
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    max-width: 34ch;
  }

  .workShell[data-work="american-textures"] .american-reflection > div:last-child .pairText{
    margin-top: 12px;
    color: rgba(245, 237, 208, 0.76);
  }
}

/* Quiet sequencing marks keep the prose visually varied without introducing
   boxes or altering the statement. */
.workShell[data-work="american-textures"] :is(
  .american-middle-copy,
  .american-ongoing-note,
  .american-film-note,
  .american-fragments-note
){
  counter-reset: american-copy-column;
}

.workShell[data-work="american-textures"] :is(
  .american-middle-copy,
  .american-ongoing-note,
  .american-film-note,
  .american-fragments-note
) .textBody{
  counter-increment: american-copy-column;
  position: relative;
  padding-top: 30px;
  background: linear-gradient(90deg, rgba(186, 215, 151, 0.68), rgba(110, 138, 166, 0.18), transparent) 0 20px / 44px 1px no-repeat;
}

.workShell[data-work="american-textures"] :is(
  .american-middle-copy,
  .american-ongoing-note,
  .american-film-note,
  .american-fragments-note
) .textBody::before{
  content: "0" counter(american-copy-column);
  position: absolute;
  left: 0;
  top: 0;
  font: 600 9px/1 "Montserrat", "Didact Gothic", var(--sans);
  letter-spacing: 0.28em;
  color: rgba(186, 215, 151, 0.76);
}

@media (min-width: 901px){
  .workShell[data-work="american-textures"] .american-atlas-ongoing-stage{
    --atlas-top: clamp(54px, 7vh, 78px);
    margin-top: clamp(6px, 1vw, 14px);
    padding-top: calc(var(--atlas-top) + 8px);
  }

  .workShell[data-work="american-textures"] .american-atlas-ongoing-stage .blockHeader{
    place-items: start center;
    box-sizing: border-box;
    padding-top: clamp(120px, 17vh, 172px);
  }

  .workShell[data-work="american-textures"] .american-atlas-ongoing-stage .blockTitle{
    transform:
      translate3d(0, calc((1 - var(--atlas-title)) * 28px), 0)
      scale(calc(0.94 + (var(--atlas-title) * 0.06)));
  }
}

@media (max-width: 900px){
  .workShell[data-work="american-textures"] :is(
    .american-middle-copy,
    .american-ongoing-note,
    .american-film-note,
    .american-fragments-note
  ) .textBody{
    padding-top: 28px;
  }

  .workShell[data-work="american-textures"] .american-atlas-ongoing-stage{
    margin-top: 8px;
  }
}
