/* opening: its own layout, unlike the homepage hero. Title band with a
   way back to the list; the featured photo is a framed portrait on lines
   8–12 that hangs out of the navy band over the project details below. */
.cs-head{padding-bottom:0}
.cs-head .grid{align-items:start;row-gap:var(--r2);grid-template-rows:auto auto 1fr}
.crumb{grid-column:1/8;font-size:var(--t-small)}
.crumb a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-decoration-color:var(--stair);text-decoration-thickness:2px;text-underline-offset:5px}
.cs-head h1{grid-column:1/8;font-size:clamp(2.5rem,1.4rem + 3.6vw,4.5rem)}
.cs-head .lead{grid-column:3/8;max-width:none;padding-bottom:var(--r4)}
.cs-head figure{grid-column:8/13;grid-row:1/4;align-self:stretch;margin:0 0 calc(-1*var(--r6));position:relative;z-index:1;min-height:560px}
.cs-head figure img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 60%}
.cs-spec{padding:var(--r3) 0 var(--r4)}
.cs-spec h2{grid-column:1/8;font-size:var(--t-2);margin-bottom:var(--r1)}
.cs-spec .spec{grid-column:1/8}
.spec{margin:0;border-top:2px solid var(--stair)}
.spec div{display:grid;grid-template-columns:9em 1fr;gap:16px;padding:12px 0;border-bottom:1px solid var(--line)}
.spec dt{font-weight:600}
.spec dd{margin:0;color:var(--fg-2)}

/* chapters: heading on line 1, story on line 5 */
.chapter{padding:var(--r3) 0;border-top:1px solid var(--line)}
.chapter:first-child{border-top:0}
.chapter h2{font-size:var(--t-2);line-height:1.2}
.pull{grid-column:5/12;margin:var(--r2) 0 0;font-size:var(--t-stand);line-height:1.4}
.pull p{max-width:none;margin:0}
.cs-board{padding:var(--r2) 0 var(--r3)}

/* single photo set on line 5 with its caption on line 1 */
.feature{padding:var(--r2) 0 var(--r3);align-items:end}
.feature figcaption{grid-column:1/5;grid-row:1}
.feature img{grid-column:5/11;grid-row:1;width:100%;aspect-ratio:4/5;object-fit:cover}
.feature--r figcaption{grid-column:9/13}
.feature--r img{grid-column:3/9}
.closing{font-size:var(--t-1);line-height:1.5;color:var(--fg)}

.photos .board+.board{margin-top:var(--r2)}
@media (max-width:1000px){
  .crumb,.cs-head h1,.cs-head .lead,.cs-spec h2,.cs-spec .spec{grid-column:1/-1}
  .cs-head .lead{padding-bottom:0}
  .cs-head figure{grid-column:1/-1;grid-row:auto;margin-bottom:calc(-1*var(--r3))}
  .cs-head figure{min-height:0}
  .cs-head figure img{position:static;height:auto;aspect-ratio:4/5}
  .cs-spec{padding-top:calc(var(--r3)*2)}
  .pull,.feature figcaption,.feature img,.feature--r figcaption,.feature--r img{grid-column:1/-1;grid-row:auto}
}

/* WordPress: story written in the editor, laid out as chapters */
.chapter .body figure{margin:var(--r2) 0;max-width:560px}
.chapter .body figure img{width:100%;height:auto}
.chapter .body figcaption{font-size:var(--t-small);font-style:italic;color:var(--fg-2);margin-top:12px}
.chapter .body ul{padding-left:1.1em;margin:0 0 var(--r1)}
.chapter .body li{margin-bottom:8px}
.chapter .body li::marker{color:var(--stair)}
.chapter .body blockquote{margin:var(--r2) 0;font-size:var(--t-stand);line-height:1.4;color:var(--fg)}
.photos .board a{display:block}
.cs-quote blockquote{grid-column:3/11;margin:0;font-size:var(--t-pause);line-height:1.3;text-align:center}
.cs-quote footer{font-size:var(--t-small);margin-top:var(--r1);background:none}
.cs-more{padding-top:0}
