/* Hero: one real photograph cropped into the shoulder of the n in the Mint wordmark, running off the right edge,
   with a flat mint crescent behind it. Under the words, Mint's flat people stand on the hero's ground, and a mint
   sprout grows out of that ground as the page scrolls. Layers move at different rates for depth. */
.ha-hero{--ha-foot:clamp(48px,8vw,120px);--ha-r:clamp(180px,24vw,360px);--ha-echo:clamp(20px,2.6vw,40px);
  position:relative;background:var(--mint-3);overflow:hidden;overflow:clip}
.ha-hero__in{position:relative;z-index:4;display:flex;align-items:flex-start;min-height:clamp(680px,56vw,820px);
  padding:clamp(40px,5vw,72px) 0 0;pointer-events:none}
.ha-hero__copy{width:min(47%,580px);pointer-events:auto}
.ha-hero__title{font-size:clamp(60px,6vw,86px);line-height:1;letter-spacing:-.026em;text-wrap:initial}
.ha-hero__title span{display:block;white-space:nowrap}
.ha-hero__lead{max-width:21.5em;margin-top:26px!important;font-size:clamp(19px,1.6vw,23px);color:var(--ink)}
.ha-hero__acts{margin-top:36px!important}
/* HIPAA seal: Mint's leaf inside a ring of type, the way an industry mark is built. */
.ha-trust{display:flex;align-items:center;gap:10px;margin-left:12px}
.ha-seal{width:52px;height:52px;flex:none;transition:rotate .9s cubic-bezier(.2,.7,.3,1)}
.ha-seal__ring{font-family:var(--text);font-size:7.4px;font-weight:650;fill:#C6EFE0}
@media (hover:hover){.ha-trust:hover .ha-seal{rotate:30deg}}
.ha-trust b{display:block;font-size:14px;line-height:1.2;font-weight:700;letter-spacing:.04em;color:var(--ink)}
.ha-trust span{display:block;font-size:14px;line-height:1.2;color:var(--muted)}

/* The picture and its crescent. */
.ha-hero__figure{position:absolute;z-index:1;top:8px;right:0;bottom:0;left:calc(50% + 60px);margin:0;
  border-top-left-radius:var(--ha-r);background:var(--mint)}
.ha-hero__photo{position:absolute;inset:0 0 0 var(--ha-echo);overflow:hidden;border-top-left-radius:var(--ha-r);background:var(--deep)}
.ha-hero__photo img{width:100%;height:112%;max-width:none;object-fit:cover;object-position:14% 30%;will-change:translate}

/* The ground: Mint's flat people stand on the curve under the words; the sprout rises beside them. */
.ha-hero__ground{position:absolute;z-index:2;left:0;right:0;bottom:0;height:0;pointer-events:none}
.ha-hero__ground > *{position:absolute}
.ha-hero__people{left:max(28px, calc((100vw - 1200px) / 2 + 20px));bottom:calc(var(--ha-foot) * .3);width:clamp(190px,17vw,250px)}
.ha-hero__group{position:relative;display:block;width:100%;height:auto}
.ha-hero__shadow{position:absolute;left:-10%;right:-10%;bottom:-4%;height:9%;border-radius:50%;background:rgb(0 58 52 / .1)}
.ha-hero__sprout{--grow:0;left:max(300px, calc((100vw - 1200px) / 2 + 340px));bottom:calc(var(--ha-foot) * .36);width:clamp(130px,11vw,170px);
  transform-origin:50% 100%;scale:calc(.42 + var(--grow) * .58);will-change:scale}
.ha-hero__sprout img{display:block;width:100%;height:auto;transform-origin:50% 100%}
.ha-hero.is-grown .ha-hero__sprout{--grow:1}

.ha-hero__foot{position:absolute;z-index:3;left:0;right:0;bottom:-1px;display:block;width:100%;height:var(--ha-foot);pointer-events:none}
.ha-hero__foot path{fill:#fff}

.ha-btn{min-width:184px}
.ha-link{color:var(--deep);font-weight:640}
@media (hover:hover){.ha-link:hover{color:var(--teal)}}

@media (prefers-reduced-motion:no-preference){
  .ha-hero__title span,.ha-hero__lead,.ha-hero__acts{animation:ha-up .7s var(--ease) both}
  .ha-hero__title span + span{animation-delay:.07s}
  .ha-hero__lead{animation-delay:.16s}
  .ha-hero__acts{animation-delay:.24s}
  .ha-hero__figure{animation:ha-in .9s var(--ease) .05s both}
  .ha-hero__people{animation:ha-up .9s var(--ease) .35s both}
  .ha-hero__sprout img{animation:ha-sprout 1.1s var(--ease) .5s both}
}
@keyframes ha-up{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes ha-in{from{opacity:0;transform:translateX(40px)}to{opacity:1;transform:none}}

@media (max-width:1199px){
  .ha-hero__copy{width:48%}
  .ha-hero__figure{left:calc(50% + 24px)}
  .ha-hero__photo img{object-position:9% 30%}
  .ha-hero__sprout{left:auto;right:calc(50% - 6px)}
}
@media (max-width:899px){
  .ha-hero{--ha-r:clamp(120px,36vw,220px);--ha-echo:16px}
  .ha-hero__in{display:block;min-height:0;padding:20px 0 36px}
  .ha-hero__copy{width:auto;max-width:560px}
  .ha-hero__title{font-size:clamp(44px,12.4vw,68px)}
  .ha-hero__lead{margin-top:18px!important}
  .ha-hero__acts{margin-top:26px!important}
  .ha-hero__figure{position:relative;top:auto;left:auto;margin:0 0 0 20px;height:clamp(360px,96vw,560px)}
  .ha-hero__photo img{object-position:16% 30%;height:100%}
  .ha-hero__ground{z-index:3}
  .ha-hero__people{display:none}
  .ha-hero__sprout{display:none}
}
@keyframes ha-sprout{from{transform:scaleY(.2);opacity:0}to{transform:none;opacity:1}}
@media (max-width:759px){.ha-trust{margin:8px 0 0;padding-left:0;box-shadow:none;justify-content:center}}

/* ---------- Phone view: the button takes the full width; the link and the HIPAA seal share the line under it, so the
   first screen reads title, promise, one action, proof, and the photo starts above the fold. */
@media (max-width:759px){
  .ha-hero__in{padding:12px 0 32px}
  .ha-hero__lead{margin-top:16px!important;max-width:none}
  .ha-hero__acts{flex-direction:row;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px 12px;margin-top:26px!important}
  .ha-hero__acts .ha-btn{flex:1 0 100%}
  .ha-hero__acts .ms-link{align-self:center;margin-left:4px}
  .ha-trust{margin:0;gap:10px}
  .ha-seal{width:46px;height:46px}
  .ha-hero__figure{height:clamp(300px,88vw,480px)}
}
@media (max-width:359px){
  .ha-hero__title{font-size:40px}
  .ha-trust b,.ha-trust span{font-size:13px}
}
