/* Shared project-page layout — the Garden of Living Bells format */
.project-hero-text { padding: 70px 0 10px; }
.project-hero-text .kicker {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
}
.project-hero-text h1 { font-size: 56px; font-weight: 600; line-height: 1.25; margin-top: 14px; max-width: 900px; }
.project-hero-text .lede {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--grey-1);
  max-width: 720px;
}
.facts { display: flex; flex-wrap: wrap; gap: 14px; padding: 40px 0 20px; }
.fact { border: 1.5px solid var(--ink); border-radius: 999px; padding: 10px 22px; font-size: 13px; font-weight: 500; }
.fact.blue { border-color: var(--blue); color: var(--blue); }

.project-body-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px 80px; padding: 50px 0 40px; }
.project-body-grid h2 { font-size: 24px; font-weight: 700; margin-bottom: 18px; }
.project-body-grid p { font-size: 15px; line-height: 1.85; color: var(--grey-1); }
.project-body-grid p + p { margin-top: 16px; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr));
  gap: 24px;
  padding: 10px 0 60px;
}
.gallery figure {
  background: var(--card);
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; }
/* diagram plates: never crop the drawing */
.gallery--diagram figure { background: #fff; border: 1px solid #ececec; }
.gallery--diagram img { object-fit: contain; padding: 12px; box-sizing: border-box; }

.story-nav {
  display: flex;
  justify-content: space-between;
  margin: 20px 0 70px;
  font-size: 15px;
  font-weight: 500;
}
.story-nav a { color: var(--blue); }
.story-nav a:hover { opacity: 0.7; }

@media (max-width: 900px) {
  .project-hero-text h1 { font-size: 34px; }
  .project-body-grid { grid-template-columns: 1fr; gap: 40px; }
}
