/* Mend home: translucent moons orbiting the glowing swirl ball on black (Noel, 9 Nov 2026: audition N2, "deploy that").
   Built on home.css and orbit-motion.js. Brand colours, logo and fonts unchanged. */
body.home-moons{--pad-top:56px;--title:clamp(32px,3.8vw,56px);--ball-a:min(40vh,360px,58vw);--disc-a:min(17vh,150px,24vw);--orbit-h:calc(var(--ball-a)*1.85);--halo:0 0 120px 30px rgba(229,158,76,.36),0 0 36px 6px rgba(255,236,210,.32)}
/* Round 2 (9 Nov, Noel: immersive dark, keep the spinning moon cards, ball in better proportion, try black header/footer).
   Reuses the live orbit (home.css + orbit.js); the swirl video sits inside the orbit ball. Local demo only. */
html body.home-moons{margin:0;background:#000}
html body.home-moons main{background:#000;color:#fff}
.home-moons .stage-copy{text-align:center;padding:var(--pad-top,72px) 16px 0}
html body.home-moons .stage-copy h1{margin:0;color:#fff;font-family:"Mend Logo Nunito",sans-serif!important;font-style:italic!important;font-weight:500!important;font-size:var(--title,clamp(36px,4.4vw,64px));line-height:1.08;text-wrap:balance}
html body.home-moons .stage-copy p{margin:12px 0 0;color:#B3C6D1;font-size:var(--sub,clamp(18px,1.7vw,25px))}
/* the orbit as its own block on black (live overlaps it into the hero) */
html body.home-moons .home-orbit{--ball:var(--ball-a);--disc:var(--disc-a);margin-top:0;height:var(--orbit-h);background:transparent}
html body.home-moons .orbit-ball{background:#000;box-shadow:var(--halo,0 0 90px 18px rgba(229,158,76,.32))}
.home-moons .orbit-ball video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:50%;z-index:1}
html body.home-moons .orbit-ball.no-gloss::before,html body.home-moons .orbit-ball.no-gloss::after{display:none}
.home-moons .after-note{height:var(--after,24px)}
/* black header and footer (F, G, H) */
html body.home-moons.black-chrome .mend-head{background:#000;border-color:#1d2328}
html body.home-moons.black-chrome .mend-head :is(a,span,strong){color:#fff}
html body.home-moons.black-chrome .mend-foot{background:#000;border-color:#1d2328;color:#B3C6D1}
html body.home-moons.black-chrome .mend-foot :is(a,strong,p,span){color:#B3C6D1}

/* Round 4 (9 Nov, Noel: glow ball, not gloss; the translucent discs from L on every shape; no pebbles).
   Translucent glass objects with a warm rim and glow on the glow ball (G). The practice object stays orange. */
html body.home-moons .orbit-layer{background:rgba(242,197,143,.16)}
html body.home-moons .orbit-layer:nth-child(-n+7){display:none}
html body.home-moons .orbit-layer.is-last{box-shadow:none}
html body.home-moons .orbit-disc-inner{color:#fff;background:linear-gradient(180deg,rgba(255,255,255,.24),rgba(255,255,255,.07));backdrop-filter:blur(10px) saturate(1.2);-webkit-backdrop-filter:blur(10px) saturate(1.2);
 box-shadow:inset 0 0 0 1.5px rgba(242,197,143,.75),inset 0 0 22px rgba(229,158,76,.22),0 0 28px rgba(229,158,76,.42)}
html body.home-moons .orbit-disc-inner::before{display:none}
html body.home-moons .orbit-disc strong{color:#fff}
/* 9 Nov (Noel): the practice moon is translucent too; it stands out in Mend pale blue instead of solid orange. */
html body.home-moons .orbit-disc.orbit-offer .orbit-disc-inner{background:linear-gradient(180deg,rgba(150,176,191,.55),rgba(150,176,191,.3));box-shadow:inset 0 0 0 2px rgba(214,228,236,.95),inset 0 0 24px rgba(179,198,209,.4),0 0 36px rgba(179,198,209,.6)}
html body.home-moons .orbit-disc.orbit-offer strong{color:#fff;text-shadow:0 1px 10px rgba(23,32,38,.55)}
html body.home-moons .orbit-disc .orbit-icon:not(.orbit-icon-practice),html body.home-moons .orbit-disc .orbit-reddit{border-radius:50%;background-color:rgba(255,255,255,.92);background-size:60%;width:calc(var(--disc)*.3);height:calc(var(--disc)*.3)}

/* N · Translucent moons: round. */
html body.home-moons .orbit-layer,html body.home-moons .orbit-disc-inner,html body.home-moons .orbit-disc:focus-visible{border-radius:50%;corner-shape:round}
html body.home-moons .orbit-disc-inner{padding:17%}

/* 9 Nov (Noel): "the bilateral stim one needs to stand out more" and the logo did not fit on phones.
   Icons keep their size (the label was squeezing the logo into a sliver on small moons); labels scale with the moon.
   The practice moon is larger, with a stronger pale blue tint, a brighter rim and a wider glow; still translucent. */
html body.home-moons .orbit-disc .orbit-icon,html body.home-moons .orbit-disc .orbit-reddit,html body.home-moons .orbit-disc .orbit-yt{flex:none}
html body.home-moons .orbit-disc strong{font-size:clamp(10px,calc(var(--disc)*.082),21px);line-height:1.1}
html body.home-moons .orbit-disc.orbit-offer{--disc:calc(var(--disc-a)*1.18)}
html body.home-moons .orbit-disc.orbit-offer .orbit-disc-inner{background:linear-gradient(180deg,rgba(179,198,209,.7),rgba(150,176,191,.46));box-shadow:inset 0 0 0 2.5px rgba(234,242,246,.98),inset 0 0 28px rgba(214,228,236,.55),0 0 34px 6px rgba(179,198,209,.75),0 0 80px 16px rgba(179,198,209,.35)}
html body.home-moons .orbit-disc.orbit-offer .orbit-icon-practice{width:calc(var(--disc)*.27);height:calc(var(--disc)*.27)}

/* 9 Nov (Noel): split the space evenly: above the logo, between logo and words, below the words.
   Icons show as transparent marks (no white circle behind them), like the YouTube mark.
   The practice moon stands out more: larger, stronger pale blue, brighter rim, wider glow; still translucent. */
/* Optical centring (Noel, 9 Nov: even spacing looked bottom heavy on mobile): the logo and words sit as a group a little
   above the middle, with a slightly larger logo and slightly smaller words. */
html body.home-moons .orbit-disc-inner{justify-content:center;gap:calc(var(--disc)*.06);padding:0 14% calc(var(--disc)*.07)}
html body.home-moons .orbit-disc .orbit-icon:not(.orbit-icon-practice),html body.home-moons .orbit-disc .orbit-reddit{background-color:transparent;border-radius:0;background-size:contain;width:calc(var(--disc)*.3);height:calc(var(--disc)*.3)}
html body.home-moons .orbit-disc .orbit-icon,html body.home-moons .orbit-disc .orbit-reddit,html body.home-moons .orbit-disc .orbit-yt{flex:none}
html body.home-moons .orbit-disc strong{font-size:clamp(10px,calc(var(--disc)*.082),21px);line-height:1.1}
html body.home-moons .orbit-disc.orbit-offer{--disc:calc(var(--disc-a)*1.18)}
html body.home-moons .orbit-disc.orbit-offer .orbit-disc-inner{background:linear-gradient(180deg,rgba(179,198,209,.7),rgba(150,176,191,.46));box-shadow:inset 0 0 0 2.5px rgba(234,242,246,.98),inset 0 0 28px rgba(214,228,236,.55),0 0 34px 6px rgba(179,198,209,.75),0 0 80px 16px rgba(179,198,209,.35)}
html body.home-moons .orbit-disc .orbit-icon-practice{width:calc(var(--disc)*.3);height:calc(var(--disc)*.3)}
html body.home-moons .orbit-disc .orbit-yt{width:calc(var(--disc)*.32);height:calc(var(--disc)*.22)}

/* 11 Nov (Noel): a "Start here" bubble floats above the practice moon, like a notification bubble, pointing down to it.
   Mend orange pill with a small tail; bobs gently; hidden when the moon swings behind the ball (orbit-motion.js). */
html body.home-moons .orbit-badge{position:absolute;left:50%;bottom:calc(100% + var(--disc)*.1);z-index:2;transform:translateX(-50%);
 padding:.42em .95em;border-radius:999px;background:#E59E4C;color:#172026;font-family:inherit;font-weight:800;
 font-size:clamp(12px,calc(var(--disc)*.1),19px);line-height:1;letter-spacing:.01em;white-space:nowrap;pointer-events:none;
 box-shadow:0 0 0 2px rgba(255,236,210,.9),0 6px 18px rgba(229,158,76,.55);animation:orbit-badge-bob 2.4s ease-in-out infinite}
html body.home-moons .orbit-badge::after{content:"";position:absolute;left:50%;top:100%;width:.7em;height:.7em;margin:-.38em 0 0 -.35em;
 background:#E59E4C;transform:rotate(45deg);box-shadow:2px 2px 0 0 rgba(255,236,210,.9);border-radius:0 0 3px 0}
@keyframes orbit-badge-bob{0%,100%{translate:0 0}50%{translate:0 calc(var(--disc)*-.04)}}
@media (prefers-reduced-motion:reduce){html body.home-moons .orbit-badge{animation:none}}
