/* Project narratives: quiet typography, original photography, no shared-header overrides. */
.project-story { color: var(--page-text); }
.story-section {
  display: grid;
  grid-template-columns: minmax(180px, .7fr) minmax(0, 1.5fr);
  column-gap: clamp(38px, 6vw, 100px);
  padding: clamp(42px, 5vw, 74px) var(--pad);
}
.story-section + .story-section { border-top: 1px solid var(--rule); }
.story-section h2 {
  max-width: 19ch;
  margin: 0;
  font-size: clamp(25px, 2.2vw, 32px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.035em;
}
.story-copy { min-width: 0; max-width: 72ch; }
.story-copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  text-wrap: pretty;
}
.story-copy p + p { margin-top: 20px; }
.story-copy .story-lead { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.65; letter-spacing: -.015em; }
.story-copy .story-lead + p { margin-top: 26px; }
.story-scope { margin-top: 38px; }
.story-scope > .eyebrow { display: block; color: var(--text-muted); margin-bottom: 15px; }
.story-scope-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; row-gap: 0; list-style: none; padding: 0; margin: 0; }
.story-scope-list > li { border-top: 1px solid var(--rule); padding: 19px 0 22px; min-width: 0; }
.story-scope-list h3 { margin: 0 0 8px; font-size: 16px; line-height: 1.5; font-weight: 500; letter-spacing: -.015em; }
.story-scope-list p { font-size: 14px; line-height: 1.8; color: var(--text-muted); }
.story-scope-list > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.project-story .case-detail-photos { padding-bottom: 0; gap: 24px; }
.project-story .case-detail-photos img { display: block; }
.story-technology { margin-top: 32px; border-block: 1px solid var(--rule); }
.story-technology summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  min-height: 58px; padding: 15px 0; cursor: pointer; list-style: none;
  font-size: 14px; line-height: 1.6;
}
.story-technology summary::-webkit-details-marker { display: none; }
.story-technology summary > .story-disclosure-icon { color: var(--text-accent); font: 300 25px/1 Supply, monospace; }
.story-technology[open] summary > .story-disclosure-icon { transform: rotate(45deg); }
.story-technology summary:focus-visible { outline: 2px solid var(--text-accent); outline-offset: 5px; }
.story-technology dl { margin: 0; padding: 0 0 16px; }
.story-technology dl > div { display: grid; grid-template-columns: minmax(110px, .65fr) minmax(0, 1.35fr); gap: 24px; padding: 17px 0; border-top: 1px solid var(--rule); }
.story-technology dt { font-size: 13px; font-weight: 500; line-height: 1.8; }
.story-technology dd { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.8; }
.story-credits { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--rule); }
.story-credits .integration-credits { margin: 0; }
.story-credits .integration-credits dt { font-size: 11px; }
.story-credits .integration-credits dd { font-size: 14px; line-height: 1.7; }
.story-related { padding: 0 var(--pad) 40px; }
.story-related > .eyebrow { color: var(--text-muted); display: block; margin-bottom: 14px; }
.story-related ul { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0; padding: 0; list-style: none; }
.story-related a { display: inline-flex; align-items: center; gap: 22px; min-height: 44px; font-size: 14px; border-bottom: 1px solid var(--rule); }
.story-related a:hover { border-color: var(--text-accent); color: var(--text-accent); }
.story-related a:focus-visible { outline: 2px solid var(--text-accent); outline-offset: 5px; }
@media (max-width: 900px) {
  .story-section { grid-template-columns: minmax(140px, .55fr) minmax(0, 1.45fr); column-gap: 36px; }
  .story-scope-list { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .story-section { grid-template-columns: minmax(0, 1fr); padding: 36px 24px; gap: 24px; }
  .story-section h2 { font-size: 26px; max-width: 25ch; }
  .story-copy p { font-size: 15px; line-height: 1.85; }
  .story-copy .story-lead { font-size: 19px; line-height: 1.7; }
  .story-copy p + p { margin-top: 18px; }
  .story-scope { margin-top: 28px; }
  .story-scope-list > li { padding: 17px 0 20px; }
  .story-scope-list h3 { font-size: 16px; }
  .story-scope-list p { font-size: 14px; }
  .project-story .case-detail-photos { gap: 16px; }
  .story-technology { margin-top: 26px; }
  .story-technology dl > div { grid-template-columns: minmax(0, 1fr); gap: 5px; }
  .story-technology dt, .story-technology dd { font-size: 14px; }
  .story-related { padding: 0 24px 32px; }
  .story-related ul { display: block; }
  .story-related li + li { margin-top: 9px; }
  .story-related a { justify-content: space-between; width: 100%; }
}
