/* Shared project-story layout. Copy and photo choices live in the story data. */
.story-container { max-width: 1200px; }
.story-breadcrumb { padding: 2rem 0; color: var(--ink-soft); font-size: .82rem; display: flex; gap: .65rem; flex-wrap: wrap; }
.story-breadcrumb a { text-underline-offset: .25em; }
.story-hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: 1rem 0 3.5rem; }
.story-intro { min-width: 0; }
.story-intro h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1.06; max-width: 13ch; margin: .6rem 0 1.5rem; text-wrap: balance; }
.story-intro .lede { font-size: clamp(1.06rem, 1.6vw, 1.22rem); line-height: 1.75; }
.story-service { display: inline-block; margin-top: 1rem; font-weight: 700; text-underline-offset: .3em; }
.story-photo { margin: 0; min-width: 0; }
.story-photo picture { display: block; border-radius: 3px; }
.story-photo img { display: block; width: 100%; height: auto; filter: none; }
.story-hero .story-photo img { max-height: 680px; object-fit: contain; }
.story-photo figcaption { margin-top: .8rem; color: var(--ink-soft); font-size: .9rem; line-height: 1.6; max-width: 64ch; }
.story-facts { display: flex; flex-wrap: wrap; gap: 2rem 4rem; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); padding: 1.6rem 0; margin: 0 0 1rem; }
.story-facts dt { text-transform: uppercase; letter-spacing: .13em; font-size: .68rem; font-weight: 800; color: var(--ink-soft); margin-bottom: .4rem; }
.story-facts dd { margin: 0; font-size: 1rem; }
.story-chapter { display: grid; grid-template-columns: 1fr 1.65fr; gap: clamp(1.5rem, 6vw, 6rem); padding: clamp(2rem, 4vw, 3.5rem) 0; border-bottom: 1px solid var(--line); }
.story-chapter h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.2; text-wrap: balance; }
.story-chapter p { max-width: 66ch; margin: 0 0 1.2rem; font-size: 1.03rem; line-height: 1.85; }
.story-chapter p:last-child { margin-bottom: 0; }
.story-gallery-section { padding-top: clamp(2.5rem, 5vw, 4.5rem); }
.story-gallery-section > h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin: 0 0 1.7rem; }
.story-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 2.5rem 2rem; }
.story-gallery-single { max-width: 780px; grid-template-columns: minmax(0, 1fr); }
.story-gallery .story-photo img { max-height: 600px; object-fit: contain; }
.story-cta { display: flex; justify-content: space-between; align-items: center; gap: 2rem; margin: clamp(3rem, 6vw, 5rem) 0 0; padding: clamp(1.5rem, 4vw, 3rem); background: var(--bg-alt); border-left: 3px solid var(--accent-deep); }
.story-cta h2 { margin: .5rem 0 1rem; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.2; }
.story-cta p { max-width: 57ch; }
.story-cta .btn { flex-shrink: 0; max-width: 100%; white-space: normal; text-align: center; }
.story-related { padding: 3.5rem 0 5rem; }
.story-related h2 { font-size: 1.6rem; }
.story-related ul { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; }
.story-related li { padding: 1rem 0; border-top: 1px solid var(--line); }
.story-related a { font-weight: 700; text-underline-offset: .25em; }
.story-related span { display: block; margin-top: .3rem; color: var(--ink-soft); font-size: .8rem; }
@media (max-width: 760px) {
  .story-breadcrumb { padding: 1.3rem 0; }
  .story-hero, .story-chapter { grid-template-columns: minmax(0, 1fr); }
  .story-hero { gap: 2rem; padding-bottom: 2rem; }
  .story-intro h1 { max-width: 18ch; }
  .story-chapter { gap: 1rem; }
  .story-facts { gap: 1.3rem 2rem; }
  .story-gallery { grid-template-columns: minmax(0, 1fr); }
  .story-gallery .story-photo img { max-height: none; }
  .story-cta { align-items: flex-start; flex-direction: column; }
  .story-related ul { grid-template-columns: minmax(0, 1fr); }
}
@media print {
  .story-breadcrumb, .story-cta, .story-related { display: none; }
  .story-hero, .story-chapter { break-inside: avoid; }
  .story-photo { break-inside: avoid; }
}
