/* Preview only — warm-site founder placement on the Option A grey canvas.
   Pose/source: real cut-out (founder-cutout-clean.png), jacket LAB-recoloured to light heather grey (#b7bcc2); face/neck/tee locked.
   Layout and fade ported from the beige v5 founder section (styles.css / site-warm.css).
   Palette: page #d4d7db, headings #1c1c1e, body #38383a, kickers #989b9f.
   Does not touch the hero video or mountain. Never deploy with --prod until VSA says yes. */

/* Restore the short AVS rule from the beige founder section (not a page divider). */
html body[data-home="v7"] section.founder .founder-wordmark{
  display:block !important;
  margin:0 0 0.75rem;
  font-family:var(--serif), "EB Garamond", serif;
  font-weight:500;
  font-size:1.05rem;
  letter-spacing:0.22em;
  text-transform:uppercase;
  color:#989b9f;
  text-shadow:none;
}
html body[data-home="v7"] section.founder .founder-rule{
  display:block !important;
  width:4.5rem;
  height:1px;
  margin:0 0 1.35rem;
  background:#989b9f !important;
  opacity:0.7;
  border:0 !important;
}

/* Full-bleed warm-site placement: portrait on the right, copy on the left, melts into grey. */
html body[data-home="v7"] section.founder{
  position:relative;
  display:block;
  justify-content:unset;
  overflow:hidden;
  isolation:isolate;
  background:#d4d7db !important;
  padding:0 !important;
  min-height:min(50rem, 100svh);
}
html body[data-home="v7"] section.founder .founder-inner{
  position:relative;
  z-index:1;
  display:block;
  width:100%;
  margin:0;
  min-height:0 !important;
  grid-template-columns:unset;
}
html body[data-home="v7"] section.founder .founder-media{
  position:relative !important;
  inset:auto !important;
  width:100%;
  height:auto !important;
  aspect-ratio:4 / 5;
  max-height:38rem !important;
  margin:0;
  overflow:hidden !important;
  background:none !important;
  border:0 !important;
  box-shadow:none !important;
  pointer-events:none;
  align-self:unset;
  justify-self:unset;
}
html body[data-home="v7"] section.founder .founder-media picture{display:block;width:100%;height:100%;background:transparent !important}
html body[data-home="v7"] section.founder .founder-photo{
  display:block;
  width:100%;
  height:100%;
  max-height:none;
  object-fit:cover;
  object-position:50% 10%;
  filter:none;
  -webkit-mask-image:none;
  mask-image:none;
}
/* Soft bottom melt into the page so the jacket doesn't hard-cut under the overlapping copy.
   No side/top solid bars — the cut-out already has a feathered matte into #d4d7db. */
html body[data-home="v7"] section.founder .founder-media::after{
  content:"";
  display:block !important;
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(to top, #d4d7db 0%, rgba(212,215,219,0.72) 8%, rgba(212,215,219,0.22) 16%, rgba(212,215,219,0) 28%);
}
html body[data-home="v7"] section.founder .founder-copy{
  position:relative;
  z-index:2;
  margin:-3.2rem auto 0 !important;
  max-width:38rem !important;
  width:auto !important;
  min-height:0 !important;
  padding:0 var(--pad, 1.5rem) 4.2rem !important;
  color:#1c1c1e;
  display:block;
  justify-content:unset;
}

/* Beige-site fade-in, ported: copy lifts 14px over 0.9s. */
@media (prefers-reduced-motion: no-preference){
  html.js body[data-home="v7"] section.founder .founder-copy.reveal.is-pending,
  html.ho-js body[data-home="v7"] section.founder .founder-copy.reveal.is-pending{
    opacity:0;
    transform:translateY(14px);
  }
  html.js body[data-home="v7"] section.founder .founder-copy.reveal.is-in,
  html.ho-js body[data-home="v7"] section.founder .founder-copy.reveal.is-in{
    opacity:1;
    transform:none;
    transition:
      opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
      transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms);
  }
  html.js body[data-home="v7"] section.founder .founder-media.reveal.is-pending,
  html.ho-js body[data-home="v7"] section.founder .founder-media.reveal.is-pending{
    opacity:0;
  }
  html.js body[data-home="v7"] section.founder .founder-media.reveal.is-in,
  html.ho-js body[data-home="v7"] section.founder .founder-media.reveal.is-in{
    opacity:1;
    transition:opacity 1.05s cubic-bezier(0.16, 1, 0.3, 1) 80ms;
  }
}
@media (prefers-reduced-motion: reduce){
  html body[data-home="v7"] section.founder .reveal,
  html body[data-home="v7"] section.founder .reveal.is-pending,
  html body[data-home="v7"] section.founder .reveal.is-in{
    opacity:1 !important;
    transform:none !important;
    transition:none !important;
  }
}

@media (min-width: 800px){
  html body[data-home="v7"] section.founder{
    min-height:min(58rem, calc(100svh - var(--header, 4.5rem)));
  }
  html body[data-home="v7"] section.founder .founder-inner{
    display:block;
    min-height:min(58rem, calc(100svh - var(--header, 4.5rem))) !important;
  }
  /* Cut-out sits on the right edge (person is left in the 4:5 file). Text stays clear on the left. */
  html body[data-home="v7"] section.founder .founder-media{
    position:absolute !important;
    top:0; right:0; bottom:0; left:38% !important;
    width:auto;
    height:100% !important;
    max-height:none !important;
    aspect-ratio:auto;
    margin:0;
  }
  html body[data-home="v7"] section.founder .founder-photo{
    object-fit:contain;
    object-position:right bottom;
    width:100%;
    height:100%;
    max-height:none;
  }
  /* True cut-out: no panel gradient over the section texture. A short, soft
     bottom fade only, in case the jacket meets the section edge. */
  html body[data-home="v7"] section.founder .founder-media::after{
    background:
      linear-gradient(to top, #d4d7db 0%, rgba(212,215,219,0.22) 5%, rgba(212,215,219,0) 12%);
  }
  html body[data-home="v7"] section.founder .founder-copy{
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-height:min(58rem, calc(100svh - var(--header, 4.5rem))) !important;
    margin:0 !important;
    padding:5.5rem var(--pad, 1.5rem) 5rem !important;
    max-width:36rem !important;
    width:min(36rem, 44%) !important;
    position:relative;
    z-index:3;
  }
}

.founder-preview-note{
  /* updated copy set in HTML */
}
