.brick-project {
  max-width: 78rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4.75rem) var(--page-gutter) clamp(3rem, 5vw, 5rem);
}

.project-intro { max-width: 44rem; }
.project-type {
  margin: 1rem 0 .45rem;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .06em;
}
.project-intro h1 {
  margin: 0;
  font-size: clamp(3.4rem, 9.4vw, 8rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.085em;
}
.project-lede { margin: 1rem 0 1.2rem; font-size: clamp(1.1rem, 2vw, 1.35rem); }
.project-visuals {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 4.7fr);
  gap: clamp(1rem, 4vw, 3.25rem);
  align-items: center;
  margin: clamp(1.8rem, 5vw, 3.5rem) 0;
  padding: clamp(1rem, 4.5vw, 3.5rem);
  border: 1px solid var(--border);
  background: var(--surface, #ecece6);
}
.project-visuals figure { min-width: 0; margin: 0; }
.project-visuals figcaption { margin: .8rem 0 0; font-size: .875rem; color: var(--muted); }
.project-visuals a {
  display: block;
  color: #17191b;
  text-decoration: none;
  box-shadow: 1px 2px 0 #bfc5c7, 3px 4px 0 #e1e3e3, 4px 12px 19px -12px #263c4880;
}
.project-visuals img { display: block; width: 100%; height: auto; }
.project-cover { position: relative; container-type: inline-size; }
.project-cover span {
  position: absolute;
  inset: 5% 3% auto;
  text-align: center;
  font: 900 14.5cqw/1 Arial, Helvetica, sans-serif;
  letter-spacing: -.085em;
}
.project-visuals .project-spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  container-type: inline-size;
  background: #fcfcfa;
}
.sample-story,
.sample-gallery { padding: 4cqw; }
.sample-story {
  display: grid;
  align-content: space-between;
  gap: 1rem;
  background: linear-gradient(270deg, #e6e9e8, #fcfcfa 10px);
}
.sample-story > span { font: 800 clamp(.45rem, 2.25cqw, .85rem)/1 Arial, sans-serif; }
.sample-story p {
  margin: 0 0 .65em;
  font: clamp(.65rem, 4.1cqw, 1.5rem)/1.1 Georgia, serif;
  letter-spacing: -.03em;
}
.sample-story dl { margin: 0; font: clamp(.4rem, 2.4cqw, .78rem)/1.35 Arial, sans-serif; }
.sample-story dl > div { border-top: 1px solid #c8ced0; padding: .35em 0; }
.sample-story dt { font-weight: 700; }
.sample-story dd { margin: 0; }
.sample-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 19%;
  gap: 1.4cqw;
  background: linear-gradient(90deg, #e3e6e5, #fcfcfa 9px);
}
.sample-gallery strong { display: block; margin: .45em 0 0; font: 700 clamp(.7rem, 3.5cqw, 1.3rem)/1.1 Arial, sans-serif; }
.sample-thumbs { display: grid; gap: 1.4cqw; align-content: start; }

.project-notes { max-width: 43rem; }
.project-notes section + section { margin-top: 2rem; }
.project-notes h2 { margin: 0 0 .45rem; font-size: 1.45rem; letter-spacing: -.04em; }
.project-notes p { margin: 0 0 .85rem; }
.project-notes .project-credit { display: flex; flex-wrap: wrap; gap: .25rem .75rem; margin: 1.5rem 0 1rem; }

@media (max-width: 46rem) {
  .project-visuals { grid-template-columns: 1fr; gap: 1.7rem; }
  .project-visuals figure:not(.spread-figure) { width: min(70%, 16rem); margin-inline: auto; }
}
