/* Design F, video-background variant: the hero's whole backdrop is a looping video of the model.
   Loaded after home-f.css; only restages the hero. */
.hero-full .hero-glow,.hero-full .hero-ring{display:none}
.hero-full::after{z-index:-1;height:220px;background:linear-gradient(180deg,rgba(238,231,220,0),var(--wall))}
.hero-bg{position:absolute;inset:0;z-index:-2;overflow:hidden;background:#EDE3D4}
.hero-bgv{display:block;width:100%;height:100%;object-fit:cover;object-position:70% 30%;transform:scale(1.05);transition:transform 2.6s var(--ease)}
.loaded .hero-bgv{transform:none}
/* soft limewash veil on the text side so the headline reads over the window light */
.hero-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(240,233,223,.9) 0%,rgba(240,233,223,.72) 30%,rgba(240,233,223,.18) 52%,rgba(240,233,223,0) 64%)}
.hero-full .hero-grid{grid-template-columns:minmax(0,640px) 1fr;align-items:end}
.hero-full .hero-txt{text-shadow:0 1px 18px rgba(248,243,235,.55)}
.hero-side{justify-self:end;align-self:end;position:relative}
.hero-full .hero-card{position:static;max-width:330px}
.hero-full .hero-cred{border-top-color:rgba(77,69,60,.22)}

@media (max-width:900px){
  .hero-full{justify-content:flex-start;padding-top:0}
  .hero-bg{inset:0 0 auto 0;height:min(66svh,620px);
    -webkit-mask-image:linear-gradient(180deg,#000 55%,transparent);mask-image:linear-gradient(180deg,#000 55%,transparent)}
  .hero-bgv{object-position:center 45%}
  .hero-bg::after{background:linear-gradient(180deg,rgba(240,233,223,.35) 0%,rgba(240,233,223,0) 22%)}
  .hero-full>.wrap.hero-grid{padding-top:calc(min(66svh,620px) - 150px)}
  .hero-full .hero-grid{grid-template-columns:minmax(0,1fr)}
  .hero-side{justify-self:start;margin-top:8px}
  .hero-full .hero-txt{text-shadow:0 1px 22px rgba(240,233,223,.9)}
}
@media (prefers-reduced-motion:reduce){.hero-bgv{transform:none}}

/* real clinic footage: busier than the still life, so a firmer cream veil on the text side and a warm tint */
.hero-real .hero-bg::after{background:linear-gradient(90deg,rgba(240,233,223,.94) 0%,rgba(240,233,223,.82) 34%,rgba(240,233,223,.35) 56%,rgba(240,233,223,.08) 72%),linear-gradient(0deg,rgba(214,182,128,.10),rgba(214,182,128,.10))}
@media (max-width:900px){.hero-real .hero-bg::after{background:linear-gradient(180deg,rgba(240,233,223,.25) 0%,rgba(240,233,223,0) 22%),linear-gradient(0deg,rgba(214,182,128,.10),rgba(214,182,128,.10))}.hero-real .hero-bgv{object-position:center top}}

.hero-real .hero-bgv{object-position:62% top}

/* clinic footage on phones: the doctor walks through the lower half of the frame, so start the text below him
   and fade the footage out sooner, keeping the eyebrow and headline on a calm background */
@media (max-width:900px){
  .hero-real .hero-bg{-webkit-mask-image:linear-gradient(180deg,#000 48%,transparent 88%);mask-image:linear-gradient(180deg,#000 48%,transparent 88%)}
  .hero-real>.wrap.hero-grid{padding-top:calc(min(66svh,620px) - 40px)}
}
