/* Preview only — founder-b3: seated portrait in a spacious quiet-luxury
   Swiss study, fuller solid build, turned slightly in the chair, with a
   large floor-to-ceiling mountain window directly behind him (imgnAI
   Katana gpt-image-2-5-flare MAX / UHD 4K, pose B). The head, face, hair
   and upper neck are the approved real photograph, geometrically placed
   (lock interior diff = 0 vs the warped source; no relight). Body, desk
   and environment are generated. Alias founder-b3, never --prod. */

/* Mobile: the scene sits above the copy, 4:5 crop around the figure,
   short melt into page grey. */
html body[data-home="v7"] section.founder{
  min-height: 0;
  scroll-margin-top: var(--header, 4.5rem);
  background: #d4d7db;
}
html body[data-home="v7"] section.founder .founder-media{
  aspect-ratio: 4 / 5;
  max-height: 42rem !important;
  width: 100% !important;
  background: #d4d7db !important;
  overflow: hidden !important;
}
html body[data-home="v7"] section.founder .founder-photo{
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Figure is near centre; keep the crown and the mountain window. */
  object-position: 50% 18%;
  filter: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}
html body[data-home="v7"] section.founder .founder-media::after{
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, #d4d7db 0%, rgba(212,215,219,0.55) 6%, rgba(212,215,219,0) 16%);
}
html body[data-home="v7"] section.founder .founder-copy{
  margin-top: -1.1rem !important;
  position: relative;
  z-index: 3;
}

@media (min-width: 800px){
  /* Hair crown starts ~y 385 / 3216 (12.0%). Use 0.90 so ~10% of the
     ceiling is cropped, the mountains stay visible above his head, and
     the desk is kept (object-position 50% 100%). Founder-b2's 0.86
     would clip the crown. */
  html body[data-home="v7"] section.founder{
    min-height: calc(100vw * 3216 / 2576 * 0.90);
  }
  html body[data-home="v7"] section.founder .founder-inner{
    min-height: calc(100vw * 3216 / 2576 * 0.90) !important;
  }
  html body[data-home="v7"] section.founder .founder-media{
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    aspect-ratio: auto;
    margin: 0;
    overflow: hidden !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
  html body[data-home="v7"] section.founder .founder-photo{
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    object-position: 50% 100%;
    filter: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
  /* Face left edge is ~39.4% of the scene (centre ~48%), so the copy
     column and veil must end earlier than founder-b/b2 (which ran to
     40% / 46%). Strong veil over the bright mountain snow. */
  html body[data-home="v7"] section.founder .founder-media::before{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
      to right,
      rgba(212,215,219,0.94) 0%,
      rgba(212,215,219,0.92) 28%,
      rgba(212,215,219,0.80) 33%,
      rgba(212,215,219,0.35) 36%,
      rgba(212,215,219,0) 38%
    );
  }
  html body[data-home="v7"] section.founder .founder-media::after{
    content: "" !important;
    display: block !important;
    z-index: 2;
    background:
      linear-gradient(to top, #d4d7db 0%, rgba(212,215,219,0.30) 3%, rgba(212,215,219,0) 9%);
  }
  html body[data-home="v7"] section.founder .founder-copy{
    min-height: calc(100vw * 3216 / 2576 * 0.90) !important;
    max-width: 30rem !important;
    width: min(30rem, 36%) !important;
    margin-top: 0 !important;
    z-index: 3;
    text-shadow: 0 0 18px rgba(212,215,219,0.45);
  }
  html body[data-home="v7"] section.founder .founder-copy h2,
  html body[data-home="v7"] section.founder .founder-copy .role{
    color: #1c1c1e;
  }
  html body[data-home="v7"] section.founder .founder-copy .founder-bio,
  html body[data-home="v7"] section.founder .founder-copy .founder-how,
  html body[data-home="v7"] section.founder .founder-copy .founder-personal,
  html body[data-home="v7"] section.founder .founder-copy .founder-meta{
    color: #38383a;
  }
  html body[data-home="v7"] section.founder .founder-copy .kicker,
  html body[data-home="v7"] section.founder .founder-wordmark{
    color: #6e7175;
  }
}
