.proof-gallery {
  display: block;
  max-width: 744px;
  margin-inline: auto;
}
.proof-stage {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
}
.proof-gallery .work-pair {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: .55rem;
  margin: 0;
}
.proof-gallery .work-pair figcaption {
  margin: 0;
  color: #f4f4e6;
  font: 650 clamp(1.2rem, 2.1vw, 1.65rem)/1.2 "Kash Sans", system-ui, sans-serif;
  letter-spacing: -.025em;
}
.proof-gallery .job-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  width: 100%;
  min-height: 0;
  aspect-ratio: 1.42;
  border-radius: 10px;
  background: transparent;
}
.proof-pane {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
  border-radius: 3px;
  background: #34513b;
}
.proof-gallery .proof-pane img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 56%;
}
.proof-gallery .job-before-label,
.proof-gallery .job-after-label {
  top: .45rem;
  bottom: auto;
  padding: .32rem .55rem;
  font-size: .78rem;
  line-height: 1.1;
}
.proof-gallery .job-before-label { left: .45rem; }
.proof-gallery .job-after-label { right: .45rem; }

@media (min-width: 761px) {
  .proof-gallery .job-photos { aspect-ratio: 2; }
  .job-proof .proof-estimate { display: flex; width: fit-content; margin-inline: auto; }
}
/* Desktop: two still projects, in the document's normal scroll flow. */
@media (min-width: 940px) {
  .proof-gallery { max-width: 1080px; }
  .proof-stage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: clamp(1.25rem, 3vw, 2rem);
  }
  .proof-gallery .work-pair { min-width: 0; }
}

/* Desktop photo section: heading and captions are centered; no scroll instructions. */
@media (min-width: 761px) {
  .job-proof .job-intro { display: block; text-align: center; margin-inline: auto; }
  .job-proof .job-intro h2 { margin-top: 0; text-wrap: balance; }
  .job-proof .job-intro > .proof-mobile-description { display: none; }
  .job-proof .proof-gallery .work-pair figcaption { text-align: center; }
}
@media (min-width: 940px) {
  .job-proof .proof-gallery .job-photos { aspect-ratio: 1.65; }
}

/* A matching set of project pairs, independent of the hero stylesheet. */
.fall-home #why .proof-gallery {
  max-width: 1030px;
}
.fall-home #why .proof-stage {
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}
.fall-home #why .proof-gallery .work-pair {
  gap: .66rem;
  margin: 0;
  padding: .75rem .75rem .78rem;
  border: 1px solid #ecf4df38;
  border-radius: 16px;
  background: #f7ffe209;
}
.fall-home #why .proof-gallery .work-pair figcaption {
  min-width: 0;
  font-size: clamp(.97rem,2.15vw,1.25rem);
  line-height: 1.16;
}
.fall-home #why .proof-gallery .job-photos {
  gap: 3px;
  aspect-ratio: 1.62;
  border-radius: 9px;
}
.fall-home #why .proof-gallery .proof-pane { border-radius: 0; }
.fall-home #why .proof-gallery .proof-pane img { object-position: 50% 55%; }
.fall-home #why .proof-gallery .job-before-label,
.fall-home #why .proof-gallery .job-after-label {
  top: auto;
  bottom: .46rem;
  color: #fff;
  background: #14291ff2;
  border: 1px solid #ffffff75;
  border-radius: 999px;
  font-size: .71rem;
  font-weight: 750;
  letter-spacing: .025em;
  line-height: 1.15;
}
.fall-home #why .proof-gallery .job-after-label {
  color: #163826;
  background: #e9f2d9;
  border-color: #e9f2d9;
}
.fall-home #why .proof-swipe-tip,.fall-home #why .proof-swipe-controls { display:none; }
.fall-home #why .proof-stage:focus-visible {
  outline: 2px solid #e9f2d9;
  outline-offset: 3px;
  border-radius: 12px;
}
@media (max-width: 760px) {
  .fall-home #why .proof-swipe-tip {
    display:block;
    margin-top:.25rem;
    color:#e4eddb;
    font-size:.76rem;
    line-height:1.4;
  }
  .fall-home #why .proof-stage {
    grid-template-columns:none;
    grid-auto-flow:column;
    grid-auto-columns:100%;
    gap:.625rem;
    overflow-x:auto;
    scrollbar-width:thin;
    scrollbar-color:#b6cea5 #1c3e2b;
    padding-bottom:.55rem;
    padding-inline-end:2rem;
    overscroll-behavior-inline:contain;
    scroll-snap-type:inline mandatory;
  }
  .fall-home #why .proof-stage .work-pair {scroll-snap-align:start;}
  .fall-home #why .proof-swipe-controls:not([hidden]) {
    display:flex;
    width:fit-content;
    align-items:center;
    gap:.65rem;
    margin:.28rem auto 0;
    color:#e4eddb;
    font-size:.75rem;
    font-variant-numeric:tabular-nums;
  }
  .fall-home #why .proof-swipe-controls button {
    width:44px;height:44px;
    border:1px solid #f0f8ea5c;
    padding:0;
    border-radius:50%;
    background:#e0f0d518;
    color:#f1f7ed;
    font:1.5rem/1 sans-serif;
    cursor:pointer;
  }
  .fall-home #why .proof-swipe-controls button[aria-disabled="true"] {opacity:.52;cursor:default}
  .fall-home #why .proof-swipe-controls button:focus-visible {outline:2px solid #f1f7ed;outline-offset:3px}
}
@media (min-width: 761px) {
  .fall-home #why .proof-stage { grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(1rem,2.5vw,1.6rem); align-items: start; }
  .fall-home #why .proof-gallery .work-pair { padding: .85rem .85rem .88rem; }
  .fall-home #why .proof-gallery .job-photos { aspect-ratio: 1.72; }
}
