/* Shared project-page styles (same block in recollections / data-visualization / videography / social-media .css;
   rendered by src/pages/_project.js). Tokens only. */
.project-hero { display: grid; gap: clamp(16px, 2.4vw, 28px); align-items: start; }
.project-hero__panel { max-width: 900px; }
.project-hero--split { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; }
.project-hero--split .project-hero__panel { max-width: none; }
.project-hero h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.project-kicker { font: 400 clamp(1.15rem, 2vw, 1.4rem)/1.3 var(--font-display); color: var(--text-muted); margin: -.3em 0 .4em; }
.project .lede p { text-align: left; }
.project .lede p:last-child { margin-bottom: 0; }
.project-blocks { display: grid; gap: clamp(20px, 3vw, 36px); margin-top: clamp(20px, 3vw, 36px); }
.project-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(16px, 2.4vw, 28px); align-items: center; }
.project-feature--media-first { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.project-feature__text h2 { margin-bottom: .4em; }
.project-feature__text .prose p:last-child { margin-bottom: 0; }
.project-media { margin: 0; }
.project-media img, .project-media video { display: block; height: auto; }
.project-media video { background: var(--ink); }
.project-media figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.project-media__zoom { display: block; cursor: zoom-in; border-radius: var(--radius-sm); }
.project-media__full { color: var(--link); font-weight: 600; }
.project-media--wide video { aspect-ratio: 16 / 9; object-fit: contain; }
.project-media--poster { max-width: 980px; margin-inline: auto; }
.project-media--phone { width: min(100%, 360px); margin-inline: auto; padding: 10px; border-radius: 34px; }
.project-media--phone video { aspect-ratio: 9 / 16; object-fit: cover; border-radius: 26px; }
@media (max-width: 767px) {
  .project-hero--split, .project-feature, .project-feature--media-first { grid-template-columns: 1fr; }
  /* text first on mobile, whatever the desktop order */
  .project-feature--media-first .project-feature__text { order: -1; }
}
