/* V54 — Founder final polish + spacing refinement
   Scope: Home + About, VI/EN, desktop/mobile. Team portraits remain V52. */

/* Quieter founder signature: slightly smaller image block and subtler sage reveal. */
body[data-page="home"] .home-founder .portrait-frame,
body[data-page="about"] .founder .portrait-frame{
  max-width:575px;
  padding:0 6px 6px 0;
}
body[data-page="home"] .home-founder .portrait-frame::after,
body[data-page="about"] .founder .portrait-frame::after{
  inset:4px 0 0 4px;
  background:rgba(223,232,224,.72);
  border-color:rgba(31,77,67,.06);
  border-radius:5px;
}
body[data-page="home"] .home-founder .portrait-frame img,
body[data-page="about"] .founder .portrait-frame img{
  border-color:rgba(31,77,67,.14);
  box-shadow:0 5px 12px rgba(31,77,67,.025);
}

/* More breathing room at the end of the founder copy/CTA. */
body[data-page="home"] .home-founder .founder>div:last-child,
body[data-page="about"] .founder>div:last-child{
  padding-bottom:26px;
}
body[data-page="home"] .home-founder .founder .actions,
body[data-page="about"] .founder .text-link{
  margin-top:22px;
}

@media(min-width:1000px){
  body[data-page="home"] .home-founder .founder,
  body[data-page="about"] .founder{
    grid-template-columns:minmax(0,.90fr) minmax(0,1.10fr);
    align-items:center;
  }
}

@media(max-width:600px){
  body[data-page="home"] .home-founder .portrait-frame,
  body[data-page="about"] .founder .portrait-frame{
    max-width:470px;
    padding:0 5px 5px 0;
  }
  body[data-page="home"] .home-founder .portrait-frame::after,
  body[data-page="about"] .founder .portrait-frame::after{
    inset:4px 0 0 4px;
  }
  body[data-page="home"] .home-founder .founder>div:last-child,
  body[data-page="about"] .founder>div:last-child{
    padding-bottom:16px;
  }
}
