/* Yorkville herringbone, Mist Oak chevron, Forest Hill straight plank.
   Chrome, type, and the spec list live in projects-show.css. These rules are the
   three gallery rhythms only. They never become the Mississauga stack or the
   Hamilton four-across run. */

.pc-caption {
  background: var(--fx-paper);
  padding: 28px 0 32px;
}

.pc-lead {
  max-width: 48ch;
  margin: 16px 0 0;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--fx-ink-soft);
}

.pc-sheet {
  padding: clamp(48px, 6vw, 80px) 0 8px;
}

.pc-sheet .ps-spec {
  max-width: 36rem;
}

.pc-sheet .ps-spec:first-child {
  margin-top: 0;
}

.pc-shared {
  max-width: 62ch;
  margin: 18px 0 0;
  color: var(--fx-ink-soft);
}

.pc-page .fx-faq h2 {
  font-size: clamp(28px, 3vw, 44px);
  max-width: 18ch;
}

.pc-page .ps-truth + .fx-faq {
  padding-top: 0;
}

.pc-field,
.pc-quiet {
  height: calc(100svh - 64px);
}

.pc-mitre {
  display: grid;
  grid-template-rows: 1fr 1fr;
  height: calc(100svh - 64px);
  gap: 1px;
  background: var(--fx-line);
}

.pc-mitre .fx-frame,
.pc-weave .fx-frame,
.pc-pairs .fx-frame,
.pc-four .fx-frame {
  min-width: 0;
  min-height: 0;
}

.pc-weave,
.pc-pairs,
.pc-four {
  display: grid;
  gap: 8px;
  padding-top: 8px;
}

.pc-pairs,
.pc-four {
  grid-template-columns: 1fr 1fr;
}

.pc-weave .fx-frame,
.pc-pairs .fx-frame,
.pc-four .fx-frame {
  aspect-ratio: 1600 / 1067;
}

.pc-weave .fx-frame:nth-child(3),
.pc-weave .fx-frame:nth-child(6) {
  margin-top: 40px;
}

.pc-page .pc-field img,
.pc-page .pc-quiet img,
.pc-page .pc-mitre .fx-frame img,
.pc-page .pc-weave .fx-frame img,
.pc-page .pc-pairs .fx-frame img,
.pc-page .pc-four .fx-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pc-forest .pc-sheet {
  background: var(--fx-paper);
  padding: clamp(48px, 6vw, 88px) 0;
}

.pc-forest .ps-truth {
  background: var(--fx-linen);
}

@media (min-width: 800px) {
  .pc-field,
  .pc-quiet,
  .pc-mitre {
    height: calc(100svh - 80px);
  }

  .pc-page .pc-quiet {
    margin-left: var(--fx-margin);
    margin-right: var(--fx-margin);
  }

  .pc-mitre {
    grid-template-rows: none;
    grid-template-columns: 1fr 1fr;
  }

  .pc-weave {
    grid-template-columns: 1fr 1fr;
  }

  .pc-weave .fx-frame:nth-child(3),
  .pc-weave .fx-frame:nth-child(6) {
    grid-column: 1 / -1;
    margin-top: 0;
  }
}

@media (min-width: 1440px) {
  .pc-pairs,
  .pc-four,
  .pc-weave {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pc-page .pc-field,
  .pc-page .pc-mitre,
  .pc-page .pc-quiet,
  .pc-page .pc-weave .fx-frame,
  .pc-page .pc-pairs .fx-frame,
  .pc-page .pc-four .fx-frame,
  .pc-page .fx-frame img,
  .pc-page .fx-acc summary::after {
    transition: none;
    animation: none;
  }
}
