.project_intro{display:grid;grid-template-columns:630px 1fr;gap:90px;margin-bottom:clamp(24px, 5vw, 72px)}
.project_main_photo img{width:100%;aspect-ratio:63/41}
.project_intro.no-project-photo { grid-template-columns: minmax(0, 1fr); }
.project_intro > .project_intro_copy{padding-top:20px}
.project_intro h2 {
  font-size: clamp(25px, 2.5vw, 29px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.project_description{line-height:34px;margin:20px 0 30px}
.gallery{--gallery-gap:clamp(12px, 3vw, 36px);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--gallery-gap);max-width:1050px;margin:auto}
.gallery_column{display:flex;flex-direction:column;gap:var(--gallery-gap)}
.gallery_image, .project_gallery_photo img { width: 100%; }
.back_link{max-width:1050px;margin:40px auto 0;display:flex;justify-content:flex-end}
@media (max-width: 1080px) {
.project_intro{grid-template-columns:1fr 1fr;gap:50px}
}
@media (max-width: 768px) {
.project_intro{grid-template-columns:1fr;gap:30px}
}
.gallery_column:first-child > a:nth-child(1) > img,.gallery_column:first-child > a:nth-child(3) > img{aspect-ratio:500/310}
.gallery_column:first-child > a:nth-child(2) > img,.gallery_column:first-child > a:nth-child(4) > img{aspect-ratio:1}
.gallery_column:last-child > a:nth-child(1) > img,.gallery_column:last-child > a:nth-child(3) > img{aspect-ratio:500/495}
.gallery_column:last-child > a:nth-child(2) > img{aspect-ratio:500/390}
.gallery_column:last-child > a:nth-child(4) > img{aspect-ratio:500/310}
.gallery_column > a.lightbox { display: block; cursor: zoom-in; }

.gallery_column > a.lightbox { overflow: hidden; }
.gallery_column > a.lightbox > img { transition: transform .4s ease, filter .4s ease; }
.gallery_column > a.lightbox:is(:hover, :focus-visible) > img { transform: scale(1.055); }
.gallery_column > a.lightbox:is(:hover, :focus-visible) > img { filter: brightness(.9); }
body.firefox .gallery_column > a.lightbox > img { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .gallery_column > a.lightbox > img { transition: none; transform: none !important; }
}
@media (prefers-reduced-motion: no-preference) {

  .project_intro { --reveal-start: inset(0 100% 0 0); }
  .project_intro.pending:not(:focus-within) img,
  .project_intro.pending:not(:focus-within) > .project_intro_copy > * {
    opacity: 0;
  }
  .project_intro.active > .project_main_photo {
    animation: proud-photo-in .95s cubic-bezier(.22, 1, .36, 1) backwards;
  }
  .project_intro.active > .project_intro_copy > * {
    animation: proud-copy-in .65s cubic-bezier(.22, 1, .36, 1) .15s backwards;
  }
  .project_intro.active > .project_intro_copy > :nth-child(2) { animation-delay: .22s; }
  .project_intro.active > .project_intro_copy > :nth-child(3) { animation-delay: .29s; }
  .project_intro.active > .project_intro_copy > :nth-child(4) { animation-delay: .36s; }

  .gallery_column > a.lightbox.pending:not(:focus-within) { opacity: 0; }
  .gallery_column > a.lightbox.active:not(:focus-within) {
    animation: proud-frame-in .75s cubic-bezier(.22, 1, .36, 1) backwards;
  }
  .gallery_column + .gallery_column > a.lightbox.active:not(:focus-within) { animation-delay: .08s; }
}
