/* Keep each complete photograph inside the existing portrait column.
   Rotation belongs to the wrapper; the stable image reveal owns transform. */
.about-collage {
  position:relative;
  isolation:isolate;
  width:100%;
  aspect-ratio:7 / 10;
}
.about-collage__photo {
  position:absolute;
  display:block;
  rotate:var(--photo-angle);
}
.about-collage__photo img {
  width:100%;
  height:auto;
  border-radius:var(--portrait-radius);
  box-shadow:0 3px 12px #10150f14;
  animation-delay:var(--photo-delay);
}
.about-collage__photo:nth-child(1) {
  left:3%;top:2%;width:55%;z-index:2;
  --photo-angle:-4deg;--photo-delay:0ms;
  --photo-x:-18px;--photo-y:68px;--photo-turn:-3deg;
}
.about-collage__photo:nth-child(2) {
  left:58%;top:6%;width:39%;z-index:1;
  --photo-angle:4deg;--photo-delay:140ms;
  --photo-x:18px;--photo-y:54px;--photo-turn:2deg;
}
.about-collage__photo:nth-child(3) {
  left:4%;top:53%;width:48%;z-index:3;
  --photo-angle:-3deg;--photo-delay:280ms;
  --photo-x:-12px;--photo-y:78px;--photo-turn:-2deg;
}
.about-collage__photo:nth-child(4) {
  left:48%;top:48%;width:48%;z-index:4;
  --photo-angle:3deg;--photo-delay:420ms;
  --photo-x:22px;--photo-y:60px;--photo-turn:3deg;
}
/* Visible by default; this self-finishing entrance also works without JS. The
   shared controller replaces it only before paint or behind the logo intro. */
@media(prefers-reduced-motion:no-preference) {
  .about-collage__photo img:not([data-reveal-state]) {
    animation:about-photo-enter 1050ms cubic-bezier(.22,.61,.36,1) var(--photo-delay) backwards;
  }
  .logo-intro-active .about-collage__photo img { animation-play-state:paused; }
}
.about-collage__photo img[data-reveal-state] { animation:none; }
@keyframes about-photo-enter {
  from { opacity:0;transform:translate(var(--photo-x),var(--photo-y)) rotate(var(--photo-turn)) scale(.93);filter:blur(2px); }
  to { opacity:1;transform:translate(0,0) rotate(0deg) scale(1);filter:blur(0); }
}
@media(max-width:620px) {
  .about-collage { max-width:460px;margin-inline:auto; }
  .about-collage__photo:nth-child(1) { --photo-angle:-3deg; }
  .about-collage__photo:nth-child(2) { --photo-angle:3deg; }
  .about-collage__photo:nth-child(3) { --photo-angle:-2deg; }
  .about-collage__photo:nth-child(4) { --photo-angle:2deg; }
}
