/* Keep each project photograph together with the story it illustrates. */
html body :is(main,#main) section[data-story-layout] {
  display: grid !important;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr) !important;
  grid-template-rows: auto !important;
  align-items: start !important;
  gap: clamp(24px, 4vw, 64px) !important;
}
html body :is(main,#main) section[data-story-layout] > :is([data-story-copy],[data-story-media]) {
  display: block !important;
  grid-area: auto !important;
  min-width: 0;
  width: 100% !important;
  max-width: none !important;
  align-self: start !important;
}
html body :is(main,#main) [data-story-copy] h2 {
  max-width: none !important;
  margin: 0 !important;
}
html body :is(main,#main) [data-story-copy] > div {
  margin-top: clamp(16px, 2vw, 28px) !important;
}
html body :is(main,#main) [data-story-copy] .home-planning-points {
  display: grid !important;
  grid-template-columns: 1fr !important;
  columns: auto !important;
  gap: 12px !important;
}
html body :is(main,#main) [data-story-media] :is(figure,picture,img) {
  display: block !important;
  position: static !important;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
}
@media (max-width: 760px) {
  html body :is(main,#main) section[data-story-layout] {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px !important;
  }
}

/* Project stories share the page gutter, a comfortable reading measure and an intact photograph. */
html body :is(main,#main) section[data-story-layout] {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) !important;
  column-gap: clamp(32px, 4vw, 72px) !important;
  padding-block: clamp(32px, 3.8vw, 60px);
}
html body :is(main,#main) section[data-story-layout] > [data-story-copy],
html body :is(main,#main) section[data-story-layout] > [data-story-media] {
  align-self: center !important;
}
html body :is(main,#main) section[data-story-layout] [data-story-copy] h2 {
  font-size: clamp(1.65rem, 2.35vw, 2.25rem);
  line-height: 1.14; text-wrap: balance;
}
html body :is(main,#main) section[data-story-layout] [data-story-copy] .intro-body {max-width: 58ch}
html body.homepage #main .home-restored-planning #home-planning-heading {
  background: none;
  padding: 0;
  max-width: 18ch !important;
}
html body.homepage #main .home-restored-planning .eyebrow {
  display: flex; align-items: center; gap: .65rem; margin: 0 0 .8rem;
}
html body.homepage #main .home-restored-planning .eyebrow::before {
  content: ''; width: 2rem; height: 2px; background: var(--sheet-orange,#f78c1e);
}
html body.homepage #main .home-restored-planning .home-planning-points {
  padding: 0; gap: 0 !important; list-style: none; max-width: 52ch;
  border-block-end: 1px solid var(--sheet-line,#bdb5a9);
}
html body.homepage #main .home-restored-planning .home-planning-points > li {
  margin: 0; padding: .7em 0; border-block-start: 1px solid var(--sheet-line,#bdb5a9);
  line-height: 1.45; font-size: clamp(.98rem, 1.15vw, 1.08rem);
}
@media (max-width:760px) {
  html body :is(main,#main) section[data-story-layout] {
    grid-template-columns: minmax(0,1fr) !important; gap: 1.25rem !important;
    padding-block: clamp(27px,7vw,40px);
  }
  html body :is(main,#main) section[data-story-layout] [data-story-copy] > div {margin-top: .85rem !important}
}

/* Keep the photograph’s space reserved while its responsive source downloads. */
html body #main section[data-story-layout] [data-story-media] img[width][height] {
  aspect-ratio: revert-layer !important;
}
@media (min-width: 761px) and (max-width: 1024px) {
  html body.homepage #main .home-restored-planning .eyebrow {
    width: auto;
    max-width: none;
    text-wrap: nowrap;
  }
}
