/* People Archive | WORKING visual draft. Does not alter established site CSS. */
.people-hero {
  width: min(1030px, calc(100% - 2.8rem));
  margin: 0 auto;
  padding: clamp(3.6rem, 7vw, 6rem) 0 2.5rem;
}
.people-hero .eyebrow a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.people-hero h1 {
  font-weight: 500;
  font-size: clamp(3.5rem, 8vw, 7rem);
  letter-spacing: -.065em;
  line-height: 1;
  margin: 0 0 1.2rem;
}
.people-intro {
  color: var(--ink-soft);
  max-width: 40rem;
  margin: 0 0 2.4rem;
  font-size: clamp(1.06rem, 1.8vw, 1.19rem);
  line-height: 1.72;
}
.memorial-link {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .8rem 1.7rem;
  border-top: 1px solid rgba(97,96,90,.21);
  border-bottom: 1px solid rgba(97,96,90,.21);
  padding: 1.1rem .1rem 1.1rem;
  margin: 0 0 1rem;
}
.memorial-label {
  color: #9b6763;
  font-size: .73rem;
  letter-spacing: .12em;
  font-weight: 700;
  text-transform: uppercase;
}
.memorial-link a {
  color: var(--ink);
  font-size: 1.03rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: rgba(149,112,100,.58);
}
.memorial-link a:hover, .memorial-link a:focus-visible { color: #916362; }
.memorial-link a span { font-size: .92rem; margin-left: .45rem; }
.scrapbook {
  max-width: 1210px;
  margin: 0 auto;
  padding: 1rem 2.35rem 6rem;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 12%, rgba(241,233,219,.30), transparent 64%);
}
.scrapbook-cluster {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  gap: 2.5%;
  margin: 4rem auto 5rem;
  min-height: 14rem;
}
.scrapbook-cluster:first-child { margin-top: 1.8rem; }
.scrapbook-cluster:last-of-type { justify-content: center; }
.scrap-photo {
  margin: var(--rise) 0 0 0;
  flex: 0 0 var(--photo-width);
  max-width: var(--photo-width);
  padding: clamp(6px, 1vw, 12px) clamp(6px, 1vw, 12px) clamp(10px, 1.3vw, 17px);
  background: #fffefa;
  box-shadow: 0 17px 34px rgba(67,56,43,.14), 0 2px 5px rgba(67,56,43,.09);
  border: 1px solid rgba(78,68,60,.1);
  transform: rotate(var(--turn));
  transform-origin: center;
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
}
.scrap-photo img {
  display: block;
  width: 100%;
  height: auto;
}
.scrap-photo.paper-warm { background: #f9f3e9; }
.scrap-photo.paper-cool { background: #f4f6f1; }
.scrap-photo:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 24px 46px rgba(67,56,43,.18), 0 3px 6px rgba(67,56,43,.08);
  z-index: 1;
}
.cluster-2 { padding-left: 3%; }
.cluster-3 { padding-right: 2%; gap: 3%; }
.cluster-4 { padding-left: 8%; }
.cluster-5 { padding-right: 5%; }
.cluster-6 { padding-left: 3%; }
.cluster-7 { padding-right: 4%; }
.cluster-8 { padding-left: 5%; }
.cluster-9 { padding-right: 2%; }
.scrapbook-ending {
  margin: 5rem auto 0;
  text-align: center;
  color: #8c867b;
  font-size: .98rem;
  font-style: italic;
}
@media (max-width: 760px) {
  .people-hero { width: min(100% - 2rem, 1030px); padding-top: 3.7rem; }
  .scrapbook { padding: 1rem 1rem 4rem; }
  .scrapbook-cluster {
    gap: 1rem;
    margin: 3.2rem auto;
    min-height: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .scrap-photo {
    flex: 0 0 calc(var(--photo-width) + 3%);
    max-width: calc(var(--photo-width) + 3%);
    margin-top: 0;
  }
  .cluster-3 .scrap-photo { flex-basis: 42%; max-width: 42%; }
  .cluster-3 .scrap-photo:last-child { margin-top: 1rem; flex-basis: 54%; max-width: 54%; }
}
@media (max-width: 475px) {
  .people-hero h1 { font-size: 3.9rem; }
  .memorial-link { align-items: flex-start; gap: .38rem; flex-direction: column; }
  .scrapbook-cluster { gap: 2rem; margin: 2rem auto; }
  .scrap-photo, .cluster-3 .scrap-photo, .cluster-3 .scrap-photo:last-child {
    flex: 0 0 84%;
    max-width: 84%;
  }
  .scrap-photo:nth-child(2) { margin-left: 5%; }
  .scrap-photo:nth-child(3) { margin-right: 4%; }
  .scrapbook-ending { margin-top: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .scrap-photo { transition: none; }
  .scrap-photo:hover { transform: rotate(var(--turn)); }
}

/* Captions added for v51 working review. Each belongs to its photographic source. */
.scrap-caption {
  padding: .75rem .18rem .1rem;
  color: #3d403c;
  font-size: clamp(.78rem,1.15vw,.91rem);
  line-height: 1.53;
  letter-spacing: .005em;
  overflow-wrap: break-word;
}
.scrap-caption-text { display:block; }
.scrap-credit {
  display:block;
  margin-top: .38rem;
  color: #77736c;
  font-size: .82em;
  line-height: 1.4;
}
.scrapbook-cluster { align-items: flex-start; }
.scrapbook-cluster:last-of-type { justify-content:center; margin-top: 5.5rem; }
.scrap-photo.closing-photo { max-width: 46%; width: 46%; }
@media (max-width: 760px) {
  .scrap-caption { font-size: .86rem; line-height: 1.48; }
  .scrap-photo.closing-photo { max-width: 72%; width: 72%; flex-basis: 72%; }
}
@media (max-width: 475px) {
  .scrap-caption { font-size: .93rem; }
  .scrap-photo.closing-photo { max-width: 84%; width: 84%; flex-basis: 84%; }
}
