/* About page production photography — branch-owned, loaded after the main-site
 * sheets (it is the last stylesheet on the About page).
 *
 * What this file has to fix for the real browsers:
 *   1. styles.css and motion-repair.css hide hero text and fade hero photos
 *      while `data-motion-boot="pending"`. The About page never loads the
 *      motion module, so that pending state only delays reading; the opening
 *      is released immediately for this page.
 *   2. styles.css makes the closing `.production-feature` photo an absolutely
 *      positioned child of a `min-height`-only figure. Its photo is moved into
 *      normal flow, so the band height comes from the image itself instead of a
 *      percentage chain WebKit can drop.
 *
 * The About opening is a `page-hero--scene` hero (hero-scene.css): its photo
 * wrapper is absolutely positioned with a definite height, so the main-site
 * cover sizing is sound and is deliberately left in charge here. Only the
 * object-position is nudged for the workshop photo.
 *
 * The woven photo pair uses a 12-column editorial grid: a wide photo on the
 * left and a smaller, lower photo on the right, collapsing to one column on
 * small screens. No animation, placeholder, decorative overlay or new
 * component library is involved.
 */

/* --- About hero: keep the scene cover sizing, centre the workshop crop. --- */
html body[data-page="about"] .page-hero.page-hero--scene .page-hero-media img {
  object-position: 50% 50%;
}

/* --- The About opening must not wait for a motion module it never loads. -- */
html[data-motion-boot="pending"] body[data-page="about"] .page-hero :is(.page-kicker, h1, .page-lede, .page-hero-meta) {
  visibility: visible;
}
html[data-motion-boot="pending"] body[data-page="about"] .page-hero .page-hero-media img {
  opacity: 1;
  transform: none;
}

/* --- Production story: two real photos in an asymmetric spread. ---------- */
html body[data-page="about"] .about-production {
  padding-block: clamp(3rem, 5vw, 4.5rem) clamp(2.5rem, 4vw, 3.5rem);
}
html body[data-page="about"] .about-production-head {
  max-width: 46rem;
}
html body[data-page="about"] .about-production-head h2 {
  margin: .6rem 0 0;
  font-size: clamp(1.6rem, 2.6vw, 2.5rem);
  line-height: 1.2;
}
html body[data-page="about"] .about-production-head p {
  margin: .9rem 0 0;
  color: var(--light-muted, #596052);
  line-height: 1.7;
}
html body[data-page="about"] .about-production-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  align-items: start;
  margin-top: clamp(2rem, 3.5vw, 3.25rem);
}
html body[data-page="about"] .about-production-photo {
  margin: 0;
}
html body[data-page="about"] .about-production-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #efeee6;
}
html body[data-page="about"] .about-production-photo figcaption {
  margin-top: .8rem;
  padding-top: .7rem;
  border-top: 1px solid var(--light-line, #d3d7cb);
  color: var(--light-muted, #596052);
  font-size: .82rem;
  line-height: 1.6;
}
html body[data-page="about"] .about-production-photo--press {
  grid-column: 1 / span 7;
}
html body[data-page="about"] .about-production-photo--assembly {
  grid-column: 8 / span 5;
  margin-top: clamp(2.5rem, 7vw, 6.5rem);
}
@media (max-width: 900px) {
  html body[data-page="about"] .about-production-photo--press,
  html body[data-page="about"] .about-production-photo--assembly {
    grid-column: 1 / -1;
  }
  html body[data-page="about"] .about-production-photo--assembly {
    margin-top: 0;
  }
}

/* --- Closing band before the contact CTA: photo sizes the band. ---------- */
html body[data-page="about"] .production-feature {
  min-height: 0;
  background: #10140f;
}
html body[data-page="about"] .production-feature img {
  position: static;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: min(76vw, 860px);
  object-fit: cover;
  object-position: center;
  filter: none;
}

/* On narrow screens the caption is taller than a 16:9 band, so it moves under
   the photo into a solid panel instead of overlapping it. */
@media (max-width: 760px) {
  html body[data-page="about"] .production-feature::after {
    display: none;
  }
  html body[data-page="about"] .production-feature img {
    aspect-ratio: 4 / 3;
  }
  html body[data-page="about"] .production-feature figcaption {
    position: static;
    width: auto;
    margin: 0;
    background: #10140f;
  }
}
