/* V16 — About redesign (G12) + Contact fixes (H13). Scoped to body.page-about /
 * body.page-contact only. Loaded last, after v15-responsive.css.
 * Direction: white formal, orange accent (#FF5A1F family), Manrope (unchanged).
 * No global rules; header / nav / footer / breadcrumb untouched.
 */

/* ============ SHARED: white heroes (both pages) ============ */
.page-about .page-hero.stage5-hero,
.page-contact .page-hero {
  background: #fff !important;
  background-image: none !important;
}
.page-about .page-hero.stage5-hero .h-display,
.page-contact .page-hero .h-display {
  color: #0b1220 !important;
}
/* Hero headings/ledes are split into .pq-word spans by the reveal script;
 * those spans carry the old dark-hero white colour, so force them too. */
.page-about .page-hero.stage5-hero .h-display *,
.page-contact .page-hero .h-display * {
  color: #0b1220 !important;
}
.page-about .page-hero.stage5-hero .lede *,
.page-contact .page-hero .lede * {
  color: #3f434a !important;
}
/* Ghost button on the About hero was white-on-dark; make it dark-on-white. */
.page-about .page-hero.stage5-hero .btn-dark {
  color: #0b1220 !important;
  border-color: rgba(11, 18, 32, .4) !important;
  background: transparent !important;
}
.page-about .page-hero.stage5-hero .lede,
.page-contact .page-hero .lede {
  color: #3f434a !important;
}
/* Stage-5 hero decorative ring: keep, but soften on white. */
.page-about .page-hero.stage5-hero::after {
  opacity: .55;
}

/* ============ ABOUT (G12): premium two-column hero, generous rhythm ============ */
@media (min-width: 768px) {
  .page-about .page-hero.stage5-hero .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    column-gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
  }
  .page-about .page-hero.stage5-hero .wrap > :not(.page-hero-figure) {
    grid-column: 1;
    min-width: 0;
  }
  .page-about .page-hero.stage5-hero .page-hero-figure {
    grid-column: 2;
    grid-row: 1 / span 6;
    align-self: center;
    min-width: 0;
    margin: 0 !important;
  }
}
.page-about .page-hero.stage5-hero .page-hero-figure {
  overflow: hidden;
  border-radius: 20px;
  background: #e8e5df;
  box-shadow: 0 24px 60px -34px rgba(14, 14, 15, .32);
}
.page-about .page-hero.stage5-hero .page-hero-figure img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.page-about .page-hero.stage5-hero .stage5-proofline {
  margin-top: 1.75rem;
}
/* Generous whitespace + calm section rhythm; content unchanged. */
.page-about main .section {
  padding-top: clamp(3.5rem, 7vw, 5.5rem) !important;
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem) !important;
}
.page-about .page-hero.stage5-hero {
  padding-bottom: clamp(2.5rem, 5vw, 4rem) !important;
}
.page-about .stage5-pillars {
  gap: 20px;
}
.page-about .stage5-pillars article {
  padding: 32px 30px;
}
@media (max-width: 767px) {
  .page-about .page-hero.stage5-hero .page-hero-figure {
    margin-top: 1.5rem !important;
  }
  .page-about .page-hero.stage5-hero .page-hero-figure img {
    aspect-ratio: 16 / 10;
    max-height: 300px;
  }
  .page-about .page-hero.stage5-hero .stage5-proofline {
    margin-top: 1.25rem;
  }
}

/* ============ CONTACT (H13): smaller top image, tighter spacing ============ */
.page-contact .page-hero {
  padding-bottom: 1.25rem !important;
}
.page-contact .page-hero .page-hero-figure {
  max-width: 620px;
  margin: 1.5rem auto 0 !important;
  overflow: hidden;
  border-radius: 18px;
  background: #e8e5df;
  box-shadow: 0 24px 48px -20px rgba(14, 14, 15, .18);
}
.page-contact .page-hero .page-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  border-radius: 0 !important;
  box-shadow: none !important;
}
/* "Not the right fit" box sits directly under the image: close the gap. */
.page-contact .page-hero .not-fit {
  margin: 1rem 0 0 !important;
}
/* REVIEW-PASS (2026-11-09): contact void under the form — fixed as a
   LAYOUT decision, not a patch. The "Prefer email?" card used to sit in
   the left column, which made that column ~214px taller than the form and
   left a dead white void under the form. The card is now the third grid
   child, spanning the full width as a band under both columns (see
   contact/index.html); the section height is set by the form, so no void
   sits under it. The band lays its contents out in a wrapping row instead
   of a tall box; on mobile it stacks under the form, in reading order. */
.page-contact .split > .contact-card {
  grid-column: 1 / -1;
  margin-top: 0 !important;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .4rem 2rem;
}
.page-contact .split > .contact-card h3 { margin: 0; }
.page-contact .split > .contact-card > p { margin: 0; }
.page-contact .split > .contact-card .check-list {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.5rem;
  margin: 0;
}
.page-contact .split > .contact-card .contact-links { margin: 0 0 0 auto; }
@media (max-width: 767px) {
  .page-contact .page-hero .page-hero-figure {
    max-width: 100%;
    margin-top: 1.25rem !important;
  }
  .page-contact .page-hero .page-hero-figure img {
    max-height: 260px;
  }
}
