/* About page layout only. Loaded solely from about.html. */

.page-about .split,
.page-about .about-gallery {
  max-width: 1240px;
  margin: 0 auto;
}

.page-about .split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px 56px;
  align-items: start;
  padding: 72px 56px;
}

.page-about .split h1,
.page-about .split h2,
.page-about .about-gallery h2 {
  margin: 8px 0 18px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-wrap: balance;
}

.page-about .split .eyebrow,
.page-about .about-gallery .eyebrow {
  margin: 0 0 6px;
}

.page-about .split p {
  margin: 0 0 14px;
  max-width: 62ch;
}

.page-about .split p:last-child {
  margin-bottom: 0;
}

.page-about .split .note {
  margin-top: 14px;
}

/* Landscape photos sit in a square on desktop so a tall text column
   doesn't crop them into a tight portrait. */
.page-about .split-media {
  position: relative;
  align-self: start;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1 / 1;
  min-height: 0;
}

.page-about .split-media img,
.page-about .split-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 22px;
  object-fit: cover;
  aspect-ratio: auto;
}

.page-about .split-media:not(.is-portrait) img {
  object-position: 22% 35%;
}

/* Hands close-up: keep the brush and fingers in frame. */
.page-about .split:nth-of-type(3) .split-media img {
  object-position: 78% 45%;
}

/* Portrait studio wall: use the photo's tall frame, don't crop to landscape. */
.page-about .split-media.is-portrait {
  align-self: start;
  width: 100%;
  aspect-ratio: 2 / 3;
  min-height: 0;
}

.page-about .split-media.is-portrait img {
  object-position: 50% 50%;
}

/* Studio gallery */
.page-about .about-gallery {
  padding: 24px 56px 72px;
}

.page-about .about-gallery h2 {
  margin: 8px 0 24px;
}

.page-about .about-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.page-about .about-gallery-grid figure {
  margin: 0;
  min-width: 0;
}

.page-about .about-gallery-grid .featured {
  grid-column: 1 / -1;
}

.page-about .about-gallery-grid .wide {
  grid-column: auto;
}

.page-about .about-gallery-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 22px;
  display: block;
}

.page-about .about-gallery-grid .featured img {
  aspect-ratio: 16 / 10;
  object-position: 50% 42%;
}

/* Keep subjects in frame when cropped to square. */
.page-about .about-gallery-grid figure:nth-child(2) img { object-position: 70% 40%; } /* wall + sconces */
.page-about .about-gallery-grid figure:nth-child(3) img { object-position: 50% 20%; } /* scaffolding */
.page-about .about-gallery-grid figure:nth-child(4) img { object-position: 50% 55%; } /* burgundy plaster */
.page-about .about-gallery-grid figure:nth-child(5) img { object-position: 50% 50%; } /* alligator skin */
.page-about .about-gallery-grid figure:nth-child(6) img { object-position: 50% 45%; } /* dining room */
.page-about .about-gallery-grid figure:nth-child(7) img { object-position: 45% 35%; } /* stenciling */
.page-about .about-gallery-grid figure:nth-child(8) img { object-position: 50% 16%; } /* plaster ceiling */
.page-about .about-gallery-grid figure:nth-child(9) img { object-position: 50% 28%; } /* studio portrait */
.page-about .about-gallery-grid figure:nth-child(10) img { object-position: 55% 30%; } /* painting a sky */

/* Press + visit */
.page-about .about-meta {
  padding-top: 48px;
  padding-bottom: 88px;
  gap: 56px 64px;
}

.page-about .about-press-covers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 8px 0 16px;
  max-width: 400px;
}

.page-about .about-press-covers a {
  min-width: 0;
  display: block;
}

.page-about .about-press-covers img {
  position: static;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  background: #f3f3f3;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

@media (max-width: 980px) {
  .page-about .split,
  .page-about .about-gallery,
  .page-about .about-meta {
    padding-left: 22px;
    padding-right: 22px;
  }

  .page-about .split {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .page-about .split-media {
    align-self: stretch;
    aspect-ratio: 3 / 2;
    min-height: 0;
  }

  .page-about .split-media:not(.is-portrait) img {
    object-position: 30% 35%;
  }

  .page-about .split:nth-of-type(3) .split-media img {
    object-position: 78% 45%;
  }

  .page-about .split-media.is-portrait {
    aspect-ratio: 3 / 4;
  }

  .page-about .about-gallery {
    padding-top: 8px;
    padding-bottom: 48px;
  }

  .page-about .about-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-about .about-gallery-grid .featured {
    grid-column: auto;
  }

  .page-about .about-gallery-grid .featured img {
    aspect-ratio: 1 / 1;
    object-position: 50% 42%;
  }

  .page-about .about-meta {
    padding-top: 24px;
    padding-bottom: 64px;
    gap: 40px;
  }
}

@media (max-width: 560px) {
  .page-about .about-gallery-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* On a single-column phone, show each photo's natural proportions. */
  .page-about .about-gallery-grid img,
  .page-about .about-gallery-grid .featured img {
    aspect-ratio: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .page-about .about-gallery-grid .portrait img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
  }

  .page-about .split-media.is-portrait {
    aspect-ratio: 2 / 3;
    max-height: none;
  }

  .page-about .about-press-covers {
    max-width: none;
  }
}
