/* R09: gallery mats, with each photograph displayed in its full proportions. */
.photo.photo-framed,
.intro .intro-shot.photo-framed,
.character-photos > div:nth-child(n) .photo.photo-framed {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  margin: 0;
  padding: clamp(9px, 1.1vw, 17px);
  overflow: hidden;
  background: #eeeae2;
  border: 1px solid #bdb5a9;
  box-shadow: 0 0 0 1px #252321, 0 12px 28px rgb(0 0 0 / 12%);
}
.photo.photo-framed picture {
  position: relative;
  display: block;
  overflow: hidden;
  outline: 1px solid rgb(48 43 36 / 15%);
  background: #e7e4df;
}
.photo.photo-framed img {
  position: relative;
  display: block;
  inset: auto;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  filter: none;
}
.intro-with-photo {
  grid-template-columns: 1fr .85fr;
  gap: 44px 6vw;
  align-items: center;
}
.intro-with-photo > .eyebrow { grid-column: 1 / -1; }
.intro-with-photo h2 { font-size: clamp(54px, 6.3vw, 102px); }
.intro .intro-with-photo .intro-shot {
  grid-column: 2;
  grid-row: 2;
  max-width: 520px;
  justify-self: end;
}
.character-photos { column-gap: clamp(16px, 2vw, 30px); }
.character-photos .photo-tag { padding-top: 15px; }
.gallery-grid .photo.photo-framed,
.gallery-grid2 .photo.photo-framed,
.gallery-grid > figure.photo-framed:nth-child(n),
.gallery-grid2 > figure.photo-framed:nth-child(n) {
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  height: auto;
}
.gallery-grid2 { grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 30px); }
@media (max-width: 760px) {
  .gallery-grid2 { grid-template-columns: 1fr; }
}
/* Softer frame on the light section; no graphite outer line. */
.intro .intro-shot.photo-framed,
.together .photo.photo-framed,
.free .free-photo.photo-framed {
  background: #f7f4ee;
  border-color: #ded8ce;
  box-shadow: 0 8px 24px rgb(60 48 32 / 6%);
}
.intro .intro-shot.photo-framed picture,
.together .photo.photo-framed picture,
.free .free-photo.photo-framed picture { outline-color: rgb(80 66 47 / 8%); }
/* Keep the mat sized to the image instead of stretching to the text column. */
.together .main-photo.photo-framed { align-self: start; }
.gaze.gaze-with-photo { min-height: 0; background: var(--ink, #171615); }
.gaze-with-photo .gaze-in {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 42px 6vw;
  min-height: 0;
  align-items: center;
}
.gaze-with-photo .brow { grid-column: 1 / -1; }
.gaze-with-photo h2 {
  grid-column: 1;
  margin: 0;
  max-width: 100%;
  font-size: clamp(54px, 6.8vw, 108px);
}
.gaze-with-photo .gaze-portrait {
  grid-column: 2;
  grid-row: 2 / 4;
  max-width: 540px;
  justify-self: end;
}
.gaze-with-photo .gaze-bottom { display: block; grid-column: 1; margin: 0; }
.gaze-with-photo .question { font-size: clamp(36px, 4vw, 64px); }
.gaze-with-photo .answer { margin: 24px 0 0; max-width: 430px; }
@media (max-width: 760px) {
  .intro-with-photo { display: block; }
  .intro-with-photo h2 { font-size: clamp(47px, 10.8vw, 78px); }
  .intro .intro-with-photo .intro-shot {
    margin: 36px auto 0;
    max-width: 520px;
  }
  .character-photos { row-gap: 32px; }
  .gaze-with-photo .gaze-in { display: flex; min-height: 0; gap: 32px; }
  .gaze-with-photo h2 { font-size: clamp(48px, 12vw, 80px); width: 100%; }
  .gaze-with-photo .gaze-portrait { max-width: 480px; align-self: center; }
  .gaze-with-photo .gaze-bottom { margin: 0; width: 100%; }
  .gaze-with-photo .question { font-size: clamp(38px, 9vw, 60px); }
}

/* R12: preserve the full portrait in the free-tempo section. */
.free .free-photo.photo-framed { aspect-ratio: auto; min-height: 0; max-height: none; height: auto; }

.gallery-more { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(16px,2vw,30px); margin-top:30px; align-items:start; }
@media (max-width:1180px) { .gallery-more { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:760px) { .gallery-more { grid-template-columns:1fr; gap:20px; margin-top:20px; } }
