/* Homepage-only editorial hero, based on Ed's supplied composition. */
body.theme-vella .vm-hero{display:block;position:relative;padding:0}
body.theme-vella .vm-hero:before{display:none}
body.theme-vella .vm-hero-stage{position:relative;isolation:isolate;overflow:hidden;height:clamp(590px,calc(100vh - 96px),900px);height:clamp(590px,calc(100svh - 96px),900px);background:var(--vm-bg)}
body.theme-vella .vm-hero-stage:before,body.theme-vella .vm-hero-stage:after{content:"";position:absolute;z-index:0;pointer-events:none;background:var(--vm-line)}
body.theme-vella .vm-hero-stage:before{left:50%;top:0;width:1px;height:100%}
body.theme-vella .vm-hero-stage:after{left:0;top:45%;width:100%;height:1px}
body.theme-vella .vm-hero-shadow{z-index:0;top:auto;right:auto;left:-14%;bottom:-27%;width:57%;height:80%;opacity:.16}
body.theme-vella .vm-hero-shadow:after{content:"";position:absolute;left:0;bottom:0;width:65%;aspect-ratio:1;border:1px solid #62685e;border-radius:50%;opacity:.2}
body.theme-vella .vm-hero-heading{display:contents}
body.theme-vella .vm-hero-title-mask{position:absolute;z-index:2;top:clamp(26px,3vw,44px);left:24px;max-width:66%}
body.theme-vella .vm-hero h1{font-size:clamp(64px,7vw,100px);line-height:.98;white-space:nowrap}
body.theme-vella .vm-hero-heading>p{position:absolute;z-index:2;right:94px;bottom:26px;margin:0;text-align:right;font-size:clamp(48px,6vw,88px);line-height:.98;white-space:nowrap;color:var(--vm-ink)}
body.theme-vella .vm-hero-media{position:absolute;z-index:1;left:calc(50% + clamp(0px,600px - 50vw,100px));top:calc(50% - 48px);width:min(505px,60%);height:336px;aspect-ratio:1.5;margin:0;overflow:hidden;border-radius:18px;transform:translate(-50%,-50%) rotate(-4deg)}
body.theme-vella .vm-hero-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
body.theme-vella .vm-hero-book{position:absolute;z-index:2;left:24px;bottom:28px;display:inline-flex;align-items:center;gap:10px;min-height:44px;font:400 22px/1 VellaDisplay,Georgia,serif}
body.theme-vella .vm-hero-book .site-icon{font-size:18px;transition:transform .3s}
body.theme-vella .vm-hero-book:hover .site-icon{transform:translateX(5px)}
body.theme-vella .vm-hero-after{padding:34px 24px 0}
body.theme-vella .vm-hero-after .vm-pills{margin:0}
body.theme-vella .vm-hero-after .vm-benefits{margin-top:32px}

/* Full-frame editorial interlude follows the original 2025 section rhythm. */
body.theme-vella .vm-story{padding:12px;background:var(--vm-bg)}
body.theme-vella .vm-story-media{position:relative;isolation:isolate;min-height:min(780px,85svh);overflow:hidden;border-radius:12px;background:#968c80}
body.theme-vella .vm-story-media:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(39,43,38,.05) 10%,rgba(39,43,38,.48) 100%);pointer-events:none}
body.theme-vella .vm-story-media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 44%}
body.theme-vella .vm-story-copy{position:absolute;z-index:1;left:24px;right:24px;bottom:clamp(42px,8vh,85px);text-align:center;color:#fff}
body.theme-vella .vm-story-copy h2{max-width:1080px;margin:0 auto 32px;font-size:clamp(48px,5vw,72px);line-height:1}
body.theme-vella .vm-story-copy .vm-outline{color:#fff;border-color:#fff}
body.theme-vella .vm-story-copy .vm-outline:hover{background:#fff;color:#424a40}
@media(max-width:600px){
 body.theme-vella .vm-story-media{min-height:560px}
 body.theme-vella .vm-story-copy{left:20px;right:20px;bottom:45px}
 body.theme-vella .vm-story-copy h2{font-size:clamp(38px,10vw,48px)}
}

/* The 2025 desktop hero expands its existing video into a level, full-frame
   image while the scene remains sticky. The class is added only when JS and
   motion are available, leaving a normal-height hero as the fallback. */
@media(min-width:992px) and (prefers-reduced-motion:no-preference){
 body.theme-vella .vm-hero.is-scroll-scene{height:350vh;height:350svh}
 body.theme-vella .vm-hero.is-scroll-scene .vm-hero-stage{position:sticky;top:96px}
 body.theme-vella .vm-hero.is-scroll-scene .vm-hero-media{transition:width .7s cubic-bezier(.33,1,.68,1),height .7s cubic-bezier(.33,1,.68,1),left .7s cubic-bezier(.33,1,.68,1),top .7s cubic-bezier(.33,1,.68,1),transform .7s cubic-bezier(.33,1,.68,1),border-radius .7s ease}
 body.theme-vella .vm-hero.is-scroll-scene.is-expanded .vm-hero-media{z-index:3;left:50%;top:50%;width:calc(100% - 12px);height:calc(100% - 12px);aspect-ratio:auto;border-radius:18px;transform:translate(-50%,-50%) rotate(0deg)}
 body.theme-vella .vm-hero.is-scroll-scene.is-expanded .vm-hero-book{pointer-events:none}
}
@media(min-width:1920px){body.theme-vella .vm-hero-media{width:750px;height:500px}}

@media(min-width:480px){body.theme-vella .vm-hero-media img{animation:vm-hero-slide 1.15s cubic-bezier(.33,1,.68,1) 1s backwards}}
@media(prefers-reduced-motion:reduce){body.theme-vella .vm-hero-media img{animation:none!important}}

@media(max-width:991px){
 body.theme-vella .vm-hero{display:block;padding:0}
 body.theme-vella .vm-hero-stage{height:auto;min-height:calc(100svh - 89px);display:grid;grid-template-columns:minmax(108px,1fr) minmax(0,2fr);grid-template-rows:auto minmax(0,1fr) auto;align-items:start;padding:34px 24px 78px}
 body.theme-vella .vm-hero-stage:after{top:48%}
 body.theme-vella .vm-hero-shadow{left:-38%;bottom:-18%;width:95%;height:75%}
 body.theme-vella .vm-hero-title-mask{position:relative;top:auto;left:auto;grid-column:1/-1;grid-row:1;max-width:none;margin:0}
 body.theme-vella .vm-hero h1{font-size:clamp(44px,9vw,72px);margin:0}
 body.theme-vella .vm-hero-media{position:relative;left:auto;top:auto;grid-column:1/-1;grid-row:2;align-self:center;width:min(92%,505px);height:auto;max-height:max(180px,calc(50svh - 144px));aspect-ratio:1.35;margin:28px auto;border-radius:15px;transform:rotate(-4deg)}
 body.theme-vella .vm-hero-heading>p{position:relative;right:auto;bottom:auto;grid-column:2;grid-row:3;align-self:end;min-width:0;margin:0;font-size:clamp(26px,6.3vw,55px);white-space:normal;text-align:right}
 body.theme-vella .vm-hero-book{position:relative;left:auto;bottom:auto;grid-column:1;grid-row:3;align-self:end;justify-self:start;margin:0}
 body.theme-vella .vm-hero-after{padding:28px 24px 0}
 body.theme-vella .vm-hero-after .vm-benefits{margin-top:28px}
}
@media(max-width:360px){
 body.theme-vella .vm-hero h1{font-size:clamp(38px,12vw,44px)}
 body.theme-vella .vm-hero-heading>p{font-size:clamp(21px,6.6vw,25px)}
 body.theme-vella .vm-hero-book{font-size:19px}
}
@media(min-width:600px) and (max-width:991px) and (max-height:500px) and (orientation:landscape){
 body.theme-vella .vm-hero-stage{display:block;height:460px;padding:0}
 body.theme-vella .vm-hero-title-mask{position:absolute;top:26px;left:24px}
 body.theme-vella .vm-hero h1{font-size:clamp(44px,7vw,60px)}
 body.theme-vella .vm-hero-media{position:absolute;left:66%;top:45%;width:32%;height:auto;aspect-ratio:1.5;margin:0;transform:translate(-50%,-50%) rotate(-4deg)}
 body.theme-vella .vm-hero-heading>p{position:absolute;right:94px;bottom:26px;font-size:clamp(34px,5vw,46px)}
 body.theme-vella .vm-hero-book{position:absolute;left:24px;bottom:28px;margin:0}
}
