/* STEJONG V4.0 RC56 — founder portrait + CTA treated as one hero composition.
   Approved visual proportions from the standalone alignment test (RC55 basis).
   Current studio video, poster, overlays and all other sections are untouched. */
.home-v25.hero .stj-hero-visually-hidden {
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  margin:-1px!important;
  padding:0!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  clip-path:inset(50%)!important;
  white-space:nowrap!important;
  border:0!important;
}
.home-v25.hero .stj-hero-composition {
  --stj-portrait-width:300px;
  --stj-cta-width:420px;
  --stj-shoulder-overlap:28px;
  position:absolute;
  z-index:4;
  left:50%;
  bottom:82px;
  transform:translateX(-50%);
  display:flex;
  flex-direction:column;
  align-items:center;
  width:min(var(--stj-cta-width),calc(100% - 28px));
  overflow:visible;
  isolation:isolate;
}
.home-v25.hero .stj-hero-composition__portrait {
  position:relative;
  z-index:1;
  display:block;
  flex:none;
  width:min(var(--stj-portrait-width),88%);
  height:auto;
  margin:0 0 calc(-1 * var(--stj-shoulder-overlap));
  object-fit:contain;
  pointer-events:none;
  filter:drop-shadow(0 14px 28px rgba(0,0,0,.12));
  animation:stj-portrait-entrance-rc56 1.65s cubic-bezier(.21,.69,.22,1) 1.9s both;
}
/* The site's own full-screen introduction can cover the hero for ~3s.
   Hold the portrait invisible until the intro has exited, then trigger its reveal. */
html.stejong-intro-pending .home-v25.hero .stj-hero-composition__portrait {
  animation:none;
  opacity:0;
  transform:translateY(18px);
}
@keyframes stj-portrait-entrance-rc56 {
  from {opacity:0;transform:translateY(18px)}
  to   {opacity:1;transform:translateY(0)}
}
.home-v25.hero .stj-hero-composition__cta {
  position:relative;
  z-index:2;
  display:block;
  width:100%;
  line-height:0;
  text-decoration:none;
  outline-offset:6px;
  transition:filter .15s ease, transform .15s ease;
  -webkit-tap-highlight-color:transparent;
}
.home-v25.hero .stj-hero-composition__cta img {
  display:block;
  width:100%;
  height:auto;
}
.home-v25.hero .stj-hero-composition__cta:hover {
  filter:brightness(1.10) drop-shadow(0 0 16px rgba(26,232,226,.16));
  transform:translateY(-2px);
}
.home-v25.hero .stj-hero-composition__cta:focus-visible {
  outline:3px solid #e2ffff;
  border-radius:100px;
}
@media(max-width:760px) {
  .home-v25.hero .stj-hero-composition {
    --stj-portrait-width:246px;
    --stj-cta-width:340px;
    --stj-shoulder-overlap:22px;
    bottom:124px;
  }
}
@media(max-width:375px) {
  .home-v25.hero .stj-hero-composition {
    --stj-portrait-width:228px;
    --stj-cta-width:calc(100vw - 34px);
    --stj-shoulder-overlap:18px;
    bottom:122px;
  }
}
@media(prefers-reduced-motion:reduce) {
  .home-v25.hero .stj-hero-composition__portrait,
  html.stejong-intro-pending .home-v25.hero .stj-hero-composition__portrait {
    animation:none;
    opacity:1;
    transform:none;
  }
  .home-v25.hero .stj-hero-composition__cta {transition:none;}
}
