.page-photos .photo-masthead {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #f7eff4 url('../images/photo-abstract-paint.webp') center 56% / cover no-repeat;
  border-color: #d8c7df;
}

.page-photos .photo-masthead::after {
  position: absolute;
  z-index: -1;
  inset: 10px;
  border: 1px solid #fffafd9c;
  content: '';
  pointer-events: none;
}

.page-photos .photo-masthead h1 { color: #34243e; }

.page-photos .photo-masthead h1::after {
  display: block;
  width: 76px;
  height: 9px;
  margin: 16px 0 3px;
  background: radial-gradient(circle at 72px 4px, #a281af 0 2px, transparent 2.5px),
    linear-gradient(#b99cc1, #b99cc1) 0 4px / 60px 1px no-repeat;
  content: '';
}

.page-photos .photo-masthead .folio-kicker a {
  background: #fffbfa91;
  border-color: #ccb9d4;
}

.page-photos .photo-collage figure {
  background: #fffcf7;
  box-shadow: 0 11px 24px #4733542b, 0 2px 5px #4733541c;
}

.page-photos .photo-collage figure:first-child {
  position: relative;
  transform: rotate(-4deg);
}

.page-photos .photo-collage figure:last-child {
  top: 10%;
  right: 1%;
  transform: rotate(5deg);
}

.page-photos .photo-collage figure::before {
  position: absolute;
  z-index: 1;
  top: -5px;
  left: 11%;
  width: 25%;
  height: clamp(12px, 1.3vw, 20px);
  background: #d3b8d4a1;
  transform: rotate(-8deg);
  content: '';
  pointer-events: none;
}

.page-photos .photo-collage figure:last-child::before {
  right: 9%;
  left: auto;
  background: #b9cdddaf;
  transform: rotate(8deg);
}

.page-photos .photo-index {
  margin-top: clamp(26px, 4vw, 56px);
  background: linear-gradient(148deg, #f4eaf3, #faf4f6 68%);
  border-block: 1px solid #e4d6e8;
}

.page-photos .photo-index .album-directory a {
  padding: 9px 9px 0;
  border: 1px solid #e5d9e5;
  background: #fffbf7;
}

.page-photos .photo-index .album-summary {
  padding-left: 9px;
  padding-right: 60px;
}

.page-photos .photo-index .album-action { right: 8px; }

@media (max-width: 700px) {
  .page-photos .photo-masthead {
    gap: 24px;
    background-position: 34% center;
  }
  .page-photos .photo-masthead::after { inset: 7px; }
  .page-photos .photo-masthead h1::after { margin-top: 12px; }
}
