.peoples {
  max-width: 1120px;
  padding-bottom: 4rem;
}
.peoples-intro, .peoples > section {
  padding: clamp(2rem, 6vw, 3.5rem) 0;
  border-bottom: 1px solid var(--line);
}
.peoples h1 {
  font: 500 clamp(2.05rem, 6.5vw, 4.5rem)/1.08 var(--serif);
  margin: .22rem 0 .85rem;
}
.peoples h2 {
  font: 500 clamp(1.65rem, 4.6vw, 2.7rem)/1.17 var(--serif);
  margin: 0 0 1rem;
}
.peoples p {
  max-width: 74ch;
  margin: .75rem 0 0;
}
.peoples-lead {
  color: var(--muted);
  font-size: clamp(1rem, 2.3vw, 1.25rem);
}
.peoples-jump {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem 1.4rem;
  margin: 1.25rem 0 0;
}
.peoples a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: .19em;
}
.peoples a:hover {
  color: var(--paper);
}
.peoples .peoples-plate {
  margin: 1.4rem 0 1.6rem !important;
}
.peoples .peoples-plate img {
  aspect-ratio: auto;
}
.peoples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.75rem), 1fr));
  gap: .8rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}
.peoples-grid > *, .peoples-height {
  background: #191611;
  border: 1px solid var(--line);
  padding: .9rem 1rem 1rem;
}
.peoples-grid h3 {
  color: var(--gold);
  font: 600 1.22rem/1.26 var(--serif);
  margin: 0 0 .5rem;
}
.peoples-grid p, .peoples-height > p {
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.55;
}
.peoples-grid a {
  display: inline-block;
  margin-top: .8rem;
  font-size: .89rem;
}
.peoples-height {
  width: min(100%, 46rem);
  margin: 1.4rem 0 0;
  padding: clamp(.85rem, 3vw, 1.5rem);
}
.peoples-height figcaption {
  font: 500 1.15rem/1.3 var(--serif);
}
.peoples-height ul {
  display: grid;
  gap: 1.05rem;
  list-style: none;
  margin: 1rem 0 .25rem;
  padding: 0;
  font-size: .88rem;
}
.peoples-height li > div, .peoples-axis {
  display: flex;
  justify-content: space-between;
  gap: .25rem .9rem;
  flex-wrap: wrap;
}
.peoples-height li > div {
  margin-bottom: .25rem;
}
.peoples-track {
  display: block;
  height: .85rem;
  background: #252016;
}
.peoples-track > span {
  display: block;
  width: var(--high);
  height: 100%;
  background: linear-gradient(to right, #82603d 0 var(--split), #f4cd8c var(--split) 100%);
}
.peoples-track .peoples-reference {
  background: #b1afa5;
}
.peoples-axis {
  color: var(--muted);
  font-size: .78rem;
  margin-top: .3rem;
}
.peoples-height > p {
  font-size: .84rem;
}


.peoples-gallery {
  display: grid;
  gap: 1.8rem;
  margin: 1.5rem 0;
}
.peoples-specimen {
  container-type: inline-size;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.65fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
}
.peoples-specimen > figure {
  --study-band: min(8rem, 10.7cqw);
  --study-title: 2.25rem;
  --study-label: 1.55rem;
  --study-height: calc(var(--study-band) * 2 + var(--study-title) + var(--study-label) * 2 + 2px);
  margin: 0 !important;
}
.peoples-gallery .peoples-portrait {
  justify-self: center;
  width: min(100%, calc(var(--study-height) * 2 / 3));
}
.peoples-gallery .peoples-portrait > a {
  display: grid;
  aspect-ratio: 2 / 3;
  background: #0c0e10;
}
.peoples-gallery .peoples-portrait img {
  height: 100% !important;
  object-fit: contain;
}
.peoples-specimen .peoples-study {
  display: grid;
  justify-items: center;
  grid-template-rows: var(--study-title) var(--study-label) var(--study-band) var(--study-label) var(--study-band);
  background: #0c0e10;
  text-decoration: none;
}
.peoples-study-title,
.peoples-study-label {
  display: grid;
  place-items: center;
  width: 100%;
  background: #0c0e10;
  color: #e9dfd0;
  font: 500 clamp(.7rem, 2.6cqw, .93rem)/1.15 var(--serif);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .11em;
}
.peoples-study-title {
  font-size: clamp(.92rem, 3cqw, 1.25rem);
}
.peoples-study-sample {
  display: block;
  position: relative;
  overflow: hidden;
  width: min(100%, calc(var(--study-band) * var(--source-width) / var(--source-sample-height)));
  height: var(--study-band);
}
.peoples-specimen .peoples-study-sample img {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(calc(-100% * var(--sample-offset) / var(--source-height)));
}
.peoples .peoples-research {
  max-width: 80ch;
  margin-top: 1.2rem;
  padding-left: 1rem;
  border-left: 2px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
}
.peoples-lineages {
  max-width: 75ch;
  padding-left: 1.2rem;
}
.peoples-lineages li + li {
  margin-top: .55rem;
}
@media (max-width: 640px) {
  .peoples-specimen {
    grid-template-columns: minmax(0, 1fr);
  }
  .peoples-specimen > figure {
    --study-band: min(8rem, 15.8cqw);
  }
  .peoples-gallery .peoples-portrait {
    width: min(100%, 14rem);
  }
}
.peoples-sleep-track {
  display: grid;
  grid-template-columns: 8fr 5fr 15fr 6.5fr 5.5fr;
  gap: 2px;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.peoples-sleep-track li {
  display: grid;
  align-content: center;
  min-height: 3.3rem;
  padding: .3rem .15rem;
  background: #30271c;
  color: #f4e6d1;
  font-size: clamp(.7rem, 2.4vw, .9rem);
  line-height: 1.25;
  text-align: center;
}
.peoples-sleep-track .peoples-sleep-block {
  background: #c6a575;
  color: #191611;
}
#sleep h3 {
  margin: 1.6rem 0 .3rem;
}
.peoples-sleep .peoples-axis {
  flex-wrap: nowrap;
}
.peoples-sleep-track li span {
  display: block;
}
