/* pairs: the gap control, three stepped notes, one stepped pair */

.pairs-open{max-width:none;margin-bottom:1.25rem}
.pairs-open .opening__title{max-width:none;margin-bottom:0.5rem}
.pairs-open .opening__lede{max-width:40rem}

/* the gap control: --gap is the bare mint between the two mounts */
.gapset{
  --gap:clamp(6rem,11vw,9rem);
  max-width:calc(112vh + var(--gap));
  margin:0 0 clamp(3rem,7vw,5rem);
}
.gapset[data-gap="fingers"]{--gap:clamp(4rem,7vw,5.5rem)}
.gapset[data-gap="hand"]{--gap:clamp(6rem,11vw,9rem)}
.gapset[data-gap="forearm"]{--gap:clamp(8rem,17vw,14rem)}
.gapset h2{margin-bottom:0.9rem}
.gapset .pair{
  grid-template-columns:minmax(0,1fr) var(--gap) minmax(0,1fr);
  align-items:start;margin-bottom:1.1rem;
}
.gapset .pair__note{align-self:center}

/* the tick ruler: ticks run under each print, a bracket spans the gutter */
.ruler{
  display:grid;grid-template-columns:minmax(0,1fr) var(--gap) minmax(0,1fr);
  align-items:end;height:1.5rem;margin:0 var(--drop) 1.25rem 0;
}
.ruler__l,.ruler__r{
  height:0.6rem;border-bottom:var(--rule) solid var(--ink);
  background:repeating-linear-gradient(90deg,var(--ink) 0 0.125rem,transparent 0.125rem 0.75rem);
}
.ruler__g{
  height:1.5rem;border:var(--rule) solid var(--ink);border-top:0;
}

.gapctl{display:flex;flex-wrap:wrap;gap:0.9rem 1.1rem;margin:0 0 1rem}
html:not(.js) .gapctl{display:none}
.gapset__status{margin:0;font-size:var(--t--1);line-height:1.4}

/* three notes, stepped across the grid like a pair */
.notes-block{margin:0 0 clamp(3rem,7vw,5rem)}
.notes-block__lede{max-width:34rem;margin-bottom:1.75rem}
.notes{row-gap:1.75rem;margin-bottom:clamp(2rem,5vw,3.5rem)}
.note{max-width:24rem}
.note h3{margin-bottom:0.5rem}
.note--1{grid-column:1 / 5}
.note--2{grid-column:4 / 8}
.note--3{grid-column:7 / 11}

/* the tall print beside the wide one, tops left uneven */
.pair--step{
  grid-template-columns:minmax(0,4fr) var(--pair-gap) minmax(0,6fr);
  align-items:start;max-width:62rem;margin-bottom:0;
}
.pair--step .pair__note{align-self:center}
.pair--step .mount--sink{margin-top:clamp(2rem,7vw,5rem)}

/* closing block */
.close{max-width:36rem}
.close__acts{display:flex;flex-wrap:wrap;gap:1rem;margin-top:1.25rem}

@media (max-width:47.99rem){
  .gapset{max-width:none}
  .gapset[data-gap="fingers"]{--gap:0.5rem}
  .gapset[data-gap="hand"]{--gap:1.25rem}
  .gapset[data-gap="forearm"]{--gap:2.5rem}
  .gapset .pair{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:var(--gap)}
  .gapset .pair__note{align-self:start}
  .note--1,.note--2,.note--3{grid-column:1 / -1;max-width:none}
  .pair--step{
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"left" "note" "right";
  }
  .pair--step .mount--tall{width:72%}
  .pair--step .mount--sink{margin-top:0}
  .pair--step .pair__note{text-align:left;align-self:start}
}
