/* Styles used only by individual project pages. */
body:has(.project-page) .site-header { padding-block: 20px; }
.project-page { padding-top: 4px; }
.back-to-work { font-size: 11px; letter-spacing: .1em; }
.project-heading { padding-block: 12px 16px; }
.project-heading + .project-section > h2 { margin-bottom: 12px; }
.project-heading p { margin-top: 8px; font-size: 14px; }
.project-heading p + p { margin-top: 2px; }
.project-section { margin-bottom: 88px; }
.project-page video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.project-page img { display: block; width: 100%; height: auto; }
.project-description { max-width: 680px; font-size: 16px; line-height: 1.7; }
.project-description p + p { margin-top: 24px; }
.project-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.stills-gallery img:first-child { grid-column: 1 / -1; }
.film-poster { max-width: 560px; margin-inline: auto; }
.film-laurels { max-width: 960px; margin-inline: auto; }
.film-credits dl { margin: 0; max-width: 880px; }
.film-credits dl > div { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 18px; font-size: 14px; }
.film-credits dd { margin: 0; }
@media (min-width: 701px) {
  .project-page video, .stills-gallery { width: 80%; margin-inline: auto; }
}
@media (max-width: 700px) {
  body:has(.project-page) .site-header { padding-block: 18px; }
  .project-heading { padding-block: 12px; }
  .project-section { margin-bottom: 56px; }
  .project-description { font-size: 14px; }
  .project-gallery { grid-template-columns: 1fr; gap: 20px; }
  .film-credits dl > div { grid-template-columns: 1fr; gap: 4px; }
}
