/* RUIJING: the existing page layout, with deeper colour and a continuous jelly scene. */
#light{position:fixed;inset:0;z-index:0;pointer-events:none;background:radial-gradient(ellipse at 86% 22%,#b19ae7 0,transparent 52%),radial-gradient(ellipse at 17% 84%,#56ca83 0,transparent 56%),radial-gradient(ellipse at 85% 92%,#c0e998 0,transparent 52%),#dff4df}
#whitewash{position:fixed;inset:0;z-index:0;pointer-events:none;background:#f3f6f4;opacity:0}
#scene{position:fixed;inset:0;width:100%;height:100%;z-index:1;pointer-events:none;visibility:hidden}
body.rv-home{background:#f3f6f4}
body[data-stage=home] #art{visibility:hidden!important}
body[data-stage=home] #home{background:transparent!important;color:#173c2e}
body[data-stage=home] #home .hero-copy h1{color:#173c2e!important}
body[data-stage=home] #home .eyebrow,body[data-stage=home] #home .services,body[data-stage=home] #home .actions .link,body[data-stage=home] #home .home-tag,body[data-stage=home] #home .r9-scroll-cue{color:#173c2e!important}
body[data-stage=home] #home .actions .link{border-color:#173c2e80}
body[data-stage=home] #home .actions .pill{background:#173c2e;color:#f3f6f4;border-color:#173c2e;border-radius:32px}
body[data-stage=home] #home .actions .pill:hover{background:#22563f}
body[data-stage=home] #r9-header:not(.is-scrolled){background:#f3f6f4ef;color:#173c2e;border-bottom:1px solid #173c2e0d;backdrop-filter:blur(16px)}
body[data-stage=home] #r9-header:not(.is-scrolled) .logo,body[data-stage=home] #r9-header:not(.is-scrolled) .nav a,body[data-stage=home] #r9-header:not(.is-scrolled) .menu-toggle-v9{color:#173c2e}
body[data-stage=home] #r9-header:not(.is-scrolled) .nav .pill{border-color:#173c2e55}
body[data-stage=home] #site-content,body[data-stage=home] #site-footer{background:transparent}
body[data-stage=home] #site-content{isolation:isolate}
body[data-stage=home] #site-content section{position:relative}
.r10-bridge{background:transparent!important;height:54px!important}
.rv-home #services{background:#e9e0f3e8}
body[data-stage=home] .r10-contact-mark{min-width:200px}
body[data-stage=home] #contact{background:#173c2e}
body[data-stage=home] .rv-footer{background:#173c2e;border-top:1px solid #ffffff20}
.r11-spark{position:relative;width:160px;height:160px;min-width:0!important;flex:0 0 160px;border:0;padding:0;margin:14px 0 0;background:none!important;cursor:pointer;opacity:0;transform:translateY(14px) scale(.88);transition:opacity .55s,transform .7s cubic-bezier(.2,1.25,.4,1)}
.r11-spark.is-arrived{opacity:1;transform:none}
.r11-spark svg{display:block;width:100%;height:100%;color:inherit;transform:none!important}
.r11-spark .r11-spark-main{transform-box:view-box;transform-origin:78px 82px;transform:translateY(var(--spark-y,0px)) rotate(var(--spark-r,0deg));transition:transform .32s cubic-bezier(.18,1.4,.4,1)}
.r11-spark .r11-spark-bead{transform:translateY(calc(var(--spark-y,0px) * -.6));transition:transform .4s cubic-bezier(.18,1.4,.4,1)}
.r11-spark:focus-visible{outline:2px solid #d5c2ea;outline-offset:8px;border-radius:20px}
body.r9-motion-paused .r11-spark *{transition:none!important}
@media(max-width:640px){
 body[data-stage=home] #home{min-height:820px;height:100svh}
 body[data-stage=home] .r10-contact-mark{min-width:0}
 body[data-stage=home] #contact .rj-contact-heading h2{font-size:clamp(26px,8.3vw,42px);line-height:1.22;letter-spacing:-.03em}
 body[data-stage=home] .r11-spark{width:82px;height:82px;flex-basis:82px;margin:0 0 0 auto;justify-self:end}
 #r9-header .menu-toggle-v9{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;line-height:1.2}
 #r9-header .menu-toggle-v9:after{position:static;display:inline-block;inset:auto;width:auto;height:auto;background:none;transform:none!important;content:'☰';font-size:14px}
 .r10-bridge{height:38px!important}
}
@media(prefers-reduced-motion:reduce){#scene{transition:none!important}.r11-spark{opacity:1;transform:none;transition:none!important}}
