/* Home hero "solar system" (draft 15 Nov 2026). RANC logo = sun; nine planets = the main navigation (no top bar on home).
   Positions come from js/solar.js via CSSOM (CSP-safe). Without JS or with reduced motion the planets sit in a static ring. */
.sol-hero{position:relative;box-sizing:border-box;min-height:100vh;min-height:100svh;display:flex;flex-direction:column;
  padding:clamp(10px,2.2vh,28px) 16px clamp(8px,1.5vh,18px);overflow:hidden}
.sol-head{text-align:center;max-width:1100px;margin:0 auto;flex:none}
.sol-head .eyebrow{margin:0 0 .35em;justify-content:center}
.sol-head h1{margin:0 auto;font-size:clamp(28px,min(7.6vw,6.2vh),64px);line-height:1.04;max-width:16ch}
@media (min-width:900px){.sol-head h1{max-width:none}}
.sol-head .hero-sub{margin:.35em 0 0;font-size:clamp(15px,min(4.2vw,2.4vh),22px);font-weight:600}
.sol-head .lead{margin:.45em auto 0;max-width:62ch;font-size:clamp(14px,min(3.8vw,2vh),18px)!important;line-height:1.4!important}
.sol-tag{display:inline-block;padding:1px 9px;border-radius:999px;background:rgba(255,255,255,.85);box-shadow:0 6px 14px -8px rgba(143,66,7,.45),inset 0 0 0 1px #f2d3b0;color:#8F4207;white-space:nowrap}
/* gentle individual float for hero text */
.sol-f{animation:solBob 6s ease-in-out infinite}
.sol-head .eyebrow.sol-f{animation-duration:5.2s;animation-delay:-.6s}
.sol-head h1.sol-f{animation-duration:7.4s;animation-delay:-2.1s}
.sol-head .hero-sub.sol-f{animation-duration:6.3s;animation-delay:-3.4s}
.sol-head .lead.sol-f{animation-duration:8.1s;animation-delay:-1.2s}
.sol-tag:nth-of-type(1){animation:solBob 4.4s ease-in-out -1s infinite}.sol-tag:nth-of-type(2){animation:solBob 5s ease-in-out -2.6s infinite}
@keyframes solBob{0%,100%{translate:0 0}50%{translate:0 -3px}}

/* the system */
.sol{position:relative;flex:1 1 auto;min-height:300px;margin-top:clamp(4px,1vh,12px)}
.sol-sun{position:absolute;left:50%;top:50%;width:var(--sun,clamp(78px,11vh,132px));translate:-50% -50%;z-index:2;display:block;border-radius:50%;
  animation:solSun 7s ease-in-out infinite}
.sol-sun img{display:block;width:100%;height:auto;filter:drop-shadow(0 0 22px rgba(255,197,138,.85)) drop-shadow(0 12px 18px rgba(143,66,7,.3))}
.sol-sun::before{content:"";position:absolute;inset:-28%;border-radius:50%;z-index:-1;background:radial-gradient(circle,rgba(255,217,168,.75) 0%,rgba(255,233,209,.35) 45%,rgba(255,233,209,0) 70%)}
@keyframes solSun{0%,100%{translate:-50% -50%}50%{translate:-50% calc(-50% - 4px)}}
.sol-orbit{position:absolute;left:50%;top:50%;border:1px dashed rgba(169,79,8,.22);border-radius:50%;translate:-50% -50%;pointer-events:none}
.sol-planets{list-style:none;margin:0;padding:0}
.pl{position:absolute;left:0;top:0;z-index:3;will-change:transform}
.pl-a{position:relative;display:block;text-decoration:none!important;color:#0f0f10!important}
.pl-b{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:var(--pw,96px);height:var(--pw,96px);
  margin-left:calc(var(--pw,96px) / -2);margin-top:calc(var(--pw,96px) / -2);padding:6px;border-radius:50%;text-align:center;
  background:radial-gradient(circle at 32% 26%,#fff 0%,rgba(255,255,255,.92) 38%,rgba(255,233,209,.92) 100%);
  box-shadow:inset 0 1.5px 0 #fff,inset 0 -8px 16px -6px rgba(255,197,138,.7),0 16px 30px -16px rgba(169,79,8,.6),0 0 0 1px rgba(242,211,176,.9);
  transition:scale .2s}
.pl-b .i{width:22px;height:22px;color:#A94F08}
.pl-l{font-weight:800;font-size:var(--pf,14px);line-height:1.1;letter-spacing:-.01em}
.pl-a:hover .pl-b,.pl-a:focus-visible .pl-b{scale:1.08}
.pl-a:focus-visible{outline:none}.pl-a:focus-visible .pl-b{box-shadow:0 0 0 3px #fff,0 0 0 6px #A94F08}
/* first planet (demo) is the strongest call to action */
.pl:first-child .pl-b{background:linear-gradient(135deg,#A94F08 0%,#8F4207 100%);box-shadow:inset 0 1.5px 0 rgba(255,255,255,.35),0 18px 32px -14px rgba(169,79,8,.8)}
.pl:first-child .pl-l,.pl:first-child .pl-b .i{color:#fff}
/* RANC OS: a till planet */
.pl-os .pl-b{background:radial-gradient(circle at 32% 26%,#8a6347 0%,#6C503A 60%,#4f3a2a 100%);box-shadow:inset 0 1.5px 0 rgba(255,255,255,.25),0 18px 30px -14px rgba(79,58,42,.8)}
.pl-os .pl-l{color:#fff}.pl-os .pl-b .i{color:#ffd9a8;width:26px;height:26px}
.pl-tag{font-style:normal;font-size:10.5px;font-weight:800;letter-spacing:.02em;padding:1px 7px;border-radius:999px;background:#D4945F;color:#2b1d12}
/* moons */
.moon{position:absolute;left:0;top:0;z-index:4;white-space:nowrap;font-size:var(--mf,12px);font-weight:600;line-height:1;padding:5px 9px;border-radius:999px;
  background:#fffaf3;color:#6b3a0e;box-shadow:0 8px 16px -10px rgba(143,66,7,.55),0 0 0 1px #f2d3b0;translate:-50% -50%;will-change:transform}
.moon-link{color:#8F4207!important;text-decoration:underline!important;text-underline-offset:2px;min-height:44px;box-sizing:border-box;display:flex;align-items:center;padding:0 12px;background:transparent;box-shadow:none}
.moon-link::before{content:"";position:absolute;inset:10px 0;border-radius:999px;background:#fffaf3;box-shadow:0 8px 16px -10px rgba(143,66,7,.55),0 0 0 1px #f2d3b0;z-index:-1}
.os-moons{list-style:none;margin:0;padding:0;position:absolute;left:0;top:0}
.os-moons li{position:absolute;left:0;top:0;will-change:transform}
.om{display:flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;box-sizing:border-box;padding:0 4px;translate:-50% -50%;
  font-size:var(--of,12px);font-weight:700;color:#3d2b1c!important;text-decoration:none!important;white-space:nowrap}
.om::before{content:"";position:absolute;left:0;right:0;top:50%;height:calc(var(--of,12px) + 12px);translate:0 -50%;border-radius:999px;z-index:-1;
  background:#ffe9d1;box-shadow:0 6px 12px -8px rgba(79,58,42,.6),0 0 0 1px #e8c39c}
.om:hover::before,.om:focus-visible::before{background:#fff;box-shadow:0 0 0 2px #A94F08}
.om:focus-visible{outline:none}
.sol.paused .pl-b{scale:1}
/* phones: explainer sits inside the bubble; a dot moon orbits */
@media (max-width:699px){
  .sol-hero{padding-left:8px;padding-right:8px}
  .sol .moon:not(.moon-link){font-size:9.5px;padding:3px 6px}
}
.sol-noscript .pl{position:static}
.fx-paused .sol *{animation-play-state:paused}
@media (prefers-reduced-motion:reduce){.sol-f,.sol-tag,.sol-sun{animation:none!important}}
/* below the fold the footer and sections continue as before */
.moon-dot{position:absolute;left:0;top:0;width:9px;height:9px;margin:-4.5px 0 0 -4.5px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff,#D4945F);box-shadow:0 2px 5px rgba(143,66,7,.4);pointer-events:none;z-index:4}
.sol:not(.is-phone) .moon-dot{display:none}
.sol.is-phone .moon:not(.moon-link){white-space:normal;max-width:84px;text-align:center;line-height:1.15;background:rgba(255,250,243,.92);top:0;translate:-50% 0}
.sol.is-phone .pl-b .i{width:18px;height:18px}
.sol.is-phone .pl-os .pl-b .i{width:20px;height:20px}
.sol.is-phone .pl-tag{font-size:9px;padding:1px 5px}
.sol.is-phone .moon-link{font-size:11px}
/* no JS: a tidy static cluster */
html:not(.sol-on) .sol-planets{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;padding-top:140px}
html:not(.sol-on) .pl{position:relative}
html:not(.sol-on) .pl-b{margin:0}
html:not(.sol-on) .moon,html:not(.sol-on) .os-moons,html:not(.sol-on) .os-moons li{position:static;translate:none}
html:not(.sol-on) .sol-sun{top:60px}
/* fix pass: the planet link is exactly the bubble, centred on its orbit point */
.pl-a{position:absolute;left:0;top:0;width:var(--pw,96px);height:var(--pw,96px);translate:-50% -50%}
.pl-b{width:100%;height:100%;margin:0}
.pl-a>.moon{left:50%;top:50%}
.sol.is-phone .pl-a>.moon{top:calc(100% + 2px);translate:-50% 0;transform:none!important}
.sol-head .eyebrow{font-size:clamp(10.5px,2.8vw,13px)!important;letter-spacing:.14em;padding:5px 12px;white-space:nowrap}
@media (max-width:699px){.sol-head .eyebrow{letter-spacing:.06em}}
.sol-h1{background:var(--grad-text,linear-gradient(100deg,#0f0f10 0%,#2a2a2e 34%,#8F4207 62%,#A94F08 80%,#8F4207 100%));-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.sol-head{max-width:1320px}
.sol-head .hero-sub,.sol-head .lead{margin-left:auto;margin-right:auto;max-width:62ch}
@media (min-width:900px){.sol-head h1{font-size:clamp(34px,min(4.6vw,6.4vh),66px);white-space:nowrap}.sol-head .hero-sub{max-width:none}}
@media (min-width:900px){.sol-hero .sol-head h1{font-size:clamp(34px,min(4.4vw,6.2vh),64px)!important}}
.sol-head .lead{text-align:center}
.sol-hero .sol-head h1#hero-title{max-width:none;margin:0 auto;line-height:1.04;letter-spacing:-.045em;font-size:clamp(28px,min(7.4vw,6vh),64px)}
@media (max-width:899px){.sol-hero .sol-head h1#hero-title{max-width:14ch}}
