/* A standalone portfolio chapter, sharing JFNYC's type, palette and gutters. */
.hands-section {
  max-width: 1800px;
  margin-inline: auto;
  padding: clamp(2.5rem, 5vw, 5rem) var(--gutter) clamp(5rem, 9vw, 9rem);
  scroll-margin-top: 2rem;
}

.hands-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem 3rem;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.hands-heading h2 {
  min-width: 0;
  margin: 0;
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.055em;
}

.hands-intro {
  min-width: 0;
  max-width: 34rem;
}

.hands-intro p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: .025em;
  text-wrap: pretty;
}

.hands-inquiry {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: .625rem;
  font-size: .8125rem;
  line-height: 1.6;
  letter-spacing: .09em;
  text-decoration: underline;
  text-underline-offset: .4em;
  text-decoration-thickness: 1px;
}

.hands-inquiry:hover {
  color: var(--muted);
}

.hands-editorial {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.5vw, 2.5rem);
  row-gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.hands-image {
  min-width: 0;
  margin: 0;
}

/* Intrinsic proportions preserve every part of each supplied photograph. */
.hands-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.hands-image--hero {
  grid-column: 1 / 8;
  grid-row: 1;
}

.hands-image--extended {
  grid-column: 9 / 13;
  grid-row: 1;
  align-self: end;
  margin-bottom: clamp(3rem, 8vw, 8rem);
}

.hands-image--gesture {
  grid-column: 2 / 6;
  grid-row: 2;
}

.hands-image--detail {
  grid-column: 9 / 12;
  grid-row: 2;
  margin-top: clamp(4rem, 8vw, 8rem);
}

@media (min-width: 801px) and (max-width: 1100px) {
  .hands-image--gesture {
    grid-column: 1 / 6;
  }

  .hands-image--detail {
    grid-column: 8 / 12;
  }
}

/* Portrait tablets and phones get a vertical sequence with alternating insets. */
@media (max-width: 800px) {
  .hands-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.5rem;
  }

  .hands-heading h2 {
    font-size: clamp(3.5rem, 12vw, 6rem);
  }

  .hands-editorial {
    grid-template-columns: minmax(0, 1fr);
    row-gap: clamp(3rem, 10vw, 5rem);
  }

  .hands-image {
    grid-column: 1;
    grid-row: auto;
    margin: 0;
  }

  .hands-image--hero {
    width: 100%;
  }

  .hands-image--extended {
    width: 92%;
    justify-self: end;
  }

  .hands-image--gesture {
    width: 86%;
    justify-self: start;
  }

  .hands-image--detail {
    width: 92%;
    justify-self: end;
  }
}
