/* v405 (wordmark raised off the bottom edge) — v404 (aligner rendered with more definition; layout unchanged) — v403 (wordmark larger, aligner a little lower) — v402 (wordmark centred under the aligner; aligner raised a little to make room) — v401 (each logo sits above its own screen: Orthocore over the laptop, Clealign Care over the phone; wordmark a little up-left) — v399 (picture pulled toward the centre on wide windows, see the end of this file) — v395 (same moves again, a little further) — v394 (aligner a little lower; screens and their logos a little further left on desktop) — v393 (logos and screens are real elements, see the end of this file; aligner moved slightly to the lower left; wordmark moved to the lower right): home hero image only.
   - Aligner: the brochure-cover aligner (assets/site/clealign-main-hero-mint.webp), placed on the bright brand-mint background;
     its shadow is tinted with the brand mint (#45C8C4). Logos are the original mint logo files (#91D0CD).
   - Laptop / phone: the real screen assets, placed behind, drawn at high resolution.
   - The image is never stretched: it keeps its proportions and is scaled by the hero height
     (or by the hero width when the window is narrow). The left edge of the image fades into the
     background colour, so nothing is cut or distorted on wide screens. */
@media (min-width:821px){
 body.home-v10 .hero-v12.hero-mint-photo {
   --hero-h:clamp(600px, calc(100vh - 80px), 900px);
   background-color:#f8fafb !important;
   background-image:url('/assets/site/clealign-hero-brand-mint-v404.webp') !important;
   background-repeat:no-repeat !important;
   background-position:right center !important;
   background-size:min(100%, calc(var(--hero-h) * 1.688)) auto !important;
 }
 @supports (height:100svh){
  body.home-v10 .hero-v12.hero-mint-photo { --hero-h:clamp(600px, calc(100svh - 80px), 900px); }
 }
}
@media (min-width:821px) and (max-height:740px){
 body.home-v10 .hero-v12.hero-mint-photo { --hero-h:clamp(560px, calc(100vh - 80px), 900px); }
 @supports (height:100svh){
  body.home-v10 .hero-v12.hero-mint-photo { --hero-h:clamp(560px, calc(100svh - 80px), 900px); }
 }
}
@media (max-width:820px){
 body.home-v10 .hero-v12.hero-mint-photo {
   /* the image is 100vw wide and 82.2vw tall; the soft fade now ends just inside its top edge at every phone/tablet width,
      so the logos and screens are no longer washed out */
   background-image:linear-gradient(0deg, rgba(233,250,247,0) 74vw, #e9faf7 82.2vw, #f8fbfd 100%),url('/assets/site/clealign-hero-brand-mint-mobile-v404.webp') !important;
   background-size:100% 100%, 100% auto !important;
   background-position:center center, bottom center !important;
   padding-bottom:max(300px, 82.2vw) !important;
 }
}
/* Keep the text column clear of the aligner's left edge (the aligner starts at 40% of the image width). */
@media (min-width:821px) and (max-width:1340px){
 body.home-v10 .hero-mint-photo .hero-v12-copy h1,
 body.home-v10 .hero-mint-photo .hero-v12-copy .hero-v12-kicker,
 body.home-v10 .hero-mint-photo .hero-v12-copy .hero-v12-lead,
 body.home-v10 .hero-mint-photo .hero-v12-copy .actions,
 body.home-v10 .hero-mint-photo .hero-v12-copy .hero-points {
   max-width:calc(40vw - 86px) !important;
 }
 body.home-v10 .hero-mint-photo .hero-v12-copy .actions,
 body.home-v10 .hero-mint-photo .hero-v12-copy .hero-points { flex-wrap:wrap !important; }
}
@media (min-width:1341px) and (max-width:1600px){
 body.home-v10 .hero-mint-photo .hero-v12-copy .hero-v12-kicker,
 body.home-v10 .hero-mint-photo .hero-v12-copy .hero-v12-lead,
 body.home-v10 .hero-mint-photo .hero-v12-copy .actions,
 body.home-v10 .hero-mint-photo .hero-v12-copy .hero-points {
   max-width:calc(584px - 10vw) !important;
 }
}

/* ---- v393: logos and the two screens are real page elements again (the original logo files and screen files),
   so they stay sharp at any size and can never be stretched: each has a width only, its height follows the file.
   The box below always matches the background image exactly; positions are percentages of that image. ---- */
body.home-v10 .hero-v12.hero-mint-photo .hero-real-products{
  display:block !important; position:absolute !important; z-index:1 !important; pointer-events:none !important;
  margin:0 !important; padding:0 !important; left:auto !important; bottom:auto !important;
  right:0 !important; top:50% !important; transform:translateY(-50%) !important;
  width:min(100%, calc(var(--hero-h) * 1.688)) !important; aspect-ratio:2508 / 2787 !important;
}
body.home-v10 .hero-v12.hero-mint-photo .hero-real-products .hero-brand-row,
body.home-v10 .hero-v12.hero-mint-photo .hero-real-products .hero-device-row{
  display:block !important; position:static !important; margin:0 !important; padding:0 !important;
}
body.home-v10 .hero-v12.hero-mint-photo .hero-real-products img{
  display:block !important; position:absolute !important; height:auto !important; max-width:none !important;
  right:auto !important; bottom:auto !important; margin:0 !important; opacity:1 !important; filter:none !important;
}
body.home-v10 .hero-v12.hero-mint-photo .hero-real-products .hero-orthocore-logo{left:75.54% !important; top:26.68% !important; width:9.35% !important}
body.home-v10 .hero-v12.hero-mint-photo .hero-real-products .hero-care-logo{left:87.23% !important; top:26.48% !important; width:9.16% !important}
body.home-v10 .hero-v12.hero-mint-photo .hero-real-products .hero-brand-row::after{
  content:""; position:absolute; left:86.06%; top:27.07%; height:1.18%; width:1px; background:rgba(145,208,205,.75);
}
body.home-v10 .hero-v12.hero-mint-photo .hero-real-products .hero-laptop-actual{
  left:72.02% !important; top:30.14% !important; width:16.39% !important; filter:drop-shadow(0 8px 9px rgba(32,150,144,.22)) !important;
}
body.home-v10 .hero-v12.hero-mint-photo .hero-real-products .hero-phone-actual{
  left:89.30% !important; top:30.81% !important; width:5.02% !important; filter:drop-shadow(0 7px 7px rgba(32,150,144,.24)) !important;
}
body.home-v10 .hero-v12.hero-mint-photo .hero-real-products .hero-floating-wordmark{left:60.14% !important; top:69.16% !important; width:12.66% !important}
@media (max-width:820px){
 body.home-v10 .hero-v12.hero-mint-photo .hero-real-products{
   right:auto !important; top:auto !important; left:0 !important; bottom:0 !important; transform:none !important;
   width:100% !important; aspect-ratio:1050 / 863 !important;
 }
 body.home-v10 .hero-v12.hero-mint-photo .hero-real-products .hero-orthocore-logo{left:62.01% !important; top:9.15% !important; width:13.90% !important}
 body.home-v10 .hero-v12.hero-mint-photo .hero-real-products .hero-care-logo{left:79.20% !important; top:8.76% !important; width:13.61% !important}
 body.home-v10 .hero-v12.hero-mint-photo .hero-real-products .hero-brand-row::after{left:77.55%; top:9.85%; height:2.55%}
 body.home-v10 .hero-v12.hero-mint-photo .hero-real-products .hero-laptop-actual{left:56.82% !important; top:15.93% !important; width:24.29% !important}
 body.home-v10 .hero-v12.hero-mint-photo .hero-real-products .hero-phone-actual{left:82.29% !important; top:17.32% !important; width:7.43% !important}
 body.home-v10 .hero-v12.hero-mint-photo .hero-real-products .hero-floating-wordmark{display:block !important; left:35.80% !important; top:86.42% !important; width:18.14% !important}
}

/* v400: halfway between v398 and v399 — picture 5% smaller on wide windows (1.688 = 0.95 x 1.7768) and pulled in by half of the v399 amount. */
/* ---- v399: on wide windows the picture no longer hugs the right edge. It is pulled toward the centre by --hero-s so the
   right-hand group (aligner, screens, logos) gets a margin like the text's left margin, but never closer to the text than
   --hero-t allows. The image file has 70% extra background on its right, so no edge shows when it is pulled in. ---- */
@media (min-width:821px){
 body.home-v10 .hero-v12.hero-mint-photo{
   --hero-iw:min(100vw, calc(var(--hero-h) * 1.688));
   --hero-iw9:min(100vw, calc(var(--hero-h) * 1.599));
   --hero-gl:max(70px, calc((100vw - 1200px) / 2));
   --hero-t:495px;
   --hero-s:calc(0.5 * max(0px, min(calc(var(--hero-gl) - var(--hero-iw9) * 0.045), calc(100vw - var(--hero-iw9) * 0.6005 - var(--hero-gl) - var(--hero-t)), calc(var(--hero-iw9) * 0.68))));
   background-size:calc(min(100%, calc(var(--hero-h) * 1.688)) * 1.7) auto !important;
   background-position:right calc(var(--hero-s) - var(--hero-iw) * 0.7) center !important;
 }
 body.home-v10 .hero-v12.hero-mint-photo .hero-real-products{ right:var(--hero-s) !important; }
}
@media (min-width:1341px) and (max-width:1600px){ body.home-v10 .hero-v12.hero-mint-photo{ --hero-t:calc(629px - 10vw); } }
@media (min-width:821px) and (max-width:1340px){ body.home-v10 .hero-v12.hero-mint-photo{ --hero-t:calc(40vw - 41px); } }
