/* Flow + colour layer (2026-11-20). Loaded last.
   Base palette stays navy / lime / white; cyan is a supporting accent used only in glows and gradients.
   theme-flow.js adds an aura layer (.jt-fx-aura) and a light seam (.jt-fx-seam) to each section, and the
   .jt-flow-pre / .jt-flow-in classes that let each section rise into place as it scrolls into view. */
#jollitech-site{--fx-lime:#a3e635;--fx-cyan:#22d3ee;--fx-ink-lime:#3f6212;--fx-ink-cyan:#0e7490}

/* ---------- Aura: soft drifting glows behind each section ---------- */
#jollitech-site .jt-fx-host{position:relative;isolation:isolate}
/* The aura stays inside its section and every glow fades out before the edges, so no tint ever spills
   across a section boundary or shows a hard edge. */
#jollitech-site .jt-fx-aura{position:absolute;inset:0;z-index:-1;pointer-events:none;
  animation:jt-fx-drift 26s ease-in-out infinite alternate;will-change:transform}
#jollitech-site .jt-fx-dark>.jt-fx-aura{background:
  radial-gradient(30% 34% at 24% 26%,rgba(163,230,53,.15),transparent 70%),
  radial-gradient(32% 38% at 76% 46%,rgba(34,211,238,.13),transparent 70%),
  radial-gradient(36% 24% at 50% 78%,rgba(45,212,191,.1),transparent 70%)}
#jollitech-site .jt-fx-light>.jt-fx-aura{background:
  radial-gradient(30% 32% at 24% 26%,rgba(163,230,53,.18),transparent 70%),
  radial-gradient(30% 36% at 76% 58%,rgba(34,211,238,.12),transparent 70%),
  radial-gradient(34% 24% at 50% 78%,rgba(163,230,53,.09),transparent 70%)}
@keyframes jt-fx-drift{0%{transform:translate3d(0,0,0) scale(1)}50%{transform:translate3d(2%,-1.5%,0) scale(1.04)}100%{transform:translate3d(-2%,1.5%,0) scale(1.02)}}

/* ---------- Seam: a lime-to-cyan light line that draws across the top of each section as it arrives ---------- */
#jollitech-site .jt-fx-seam{position:absolute;left:50%;top:0;z-index:2;width:min(72%,880px);height:2px;margin-left:min(-36%,-440px);
  pointer-events:none;border-radius:2px;background:linear-gradient(90deg,transparent,var(--fx-lime) 30%,var(--fx-cyan) 70%,transparent);
  box-shadow:0 0 18px 2px rgba(163,230,53,.35),0 0 40px 6px rgba(34,211,238,.18);transform:scaleX(0);opacity:0}
#jollitech-site .jt-fx-light>.jt-fx-seam{opacity:0;box-shadow:0 0 14px 1px rgba(163,230,53,.3)}
#jollitech-site .jt-flow-in>.jt-fx-seam,#jollitech-site .jt-flow-done>.jt-fx-seam{animation:jt-fx-seam 1.6s cubic-bezier(.22,1,.36,1) .15s forwards}
@keyframes jt-fx-seam{0%{transform:scaleX(0);opacity:0}35%{opacity:1}100%{transform:scaleX(1);opacity:.55}}

/* ---------- Section flow: the content of each section rises and settles as it enters. The background stays put,
   so there is never a gap or a washed-out panel between sections. ---------- */
#jollitech-site .jt-flow-pre>:not(.jt-fx-aura):not(.jt-fx-seam):not(.jt-fx-keep){opacity:0;transform:translate3d(0,56px,0)}
#jollitech-site .jt-flow-in>:not(.jt-fx-aura):not(.jt-fx-seam):not(.jt-fx-keep){opacity:1;transform:none;
  transition:opacity .8s ease,transform 1.1s cubic-bezier(.2,.8,.2,1)}
#jollitech-site .jt-flow-in>:not(.jt-fx-aura):not(.jt-fx-seam):not(.jt-fx-keep):nth-child(n+4){transition-delay:.12s}
@media(max-width:760px){#jollitech-site .jt-flow-pre>:not(.jt-fx-aura):not(.jt-fx-seam):not(.jt-fx-keep){transform:translate3d(0,32px,0)}}

/* ---------- Accent gradients ---------- */
/* Section labels: lime -> cyan on dark, deep lime -> deep teal on light (both readable). */
html #jollitech-site :is(.jt-hero,#our-solutions,#about,#testimonials,#careers,#how-we-get-there) .jt-eyebrow{
  background:linear-gradient(90deg,var(--fx-lime),var(--fx-cyan));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
html #jollitech-site :is(#solutions,#culture>.jt-section-head,#team) .jt-eyebrow{
  background:linear-gradient(90deg,var(--fx-ink-lime),var(--fx-ink-cyan));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
/* Heading underline */
html #jollitech-site .jt-section-head::after,html #jollitech-site #team .jt-section-head .jt-heading::after{background:linear-gradient(90deg,var(--fx-lime),var(--fx-cyan))!important}
/* Contact panel: a living lime gradient with a cool edge instead of one flat green. */
html #jollitech-site .jt-contact-box{background:
  radial-gradient(60% 80% at 100% 0%,rgba(34,211,238,.38),transparent 62%),
  radial-gradient(55% 70% at 0% 100%,rgba(217,249,157,.9),transparent 65%),
  linear-gradient(135deg,#bef264 0%,#a3e635 52%,#84cc16 100%)!important}
/* Life at Jollitech panel gets a cool corner too. */
html #jollitech-site #life-at-jollitech{background-image:radial-gradient(50% 60% at 100% 100%,rgba(34,211,238,.18),transparent 70%),radial-gradient(45% 55% at 0% 0%,rgba(255,255,255,.7),transparent 70%)}
/* Scroll progress line in the nav: lime -> cyan. */
html #jollitech-site .jt-sky-bar i{background:linear-gradient(90deg,var(--fx-lime),var(--fx-cyan))}

@media(prefers-reduced-motion:reduce){
  #jollitech-site .jt-fx-aura{animation:none}
  #jollitech-site .jt-flow-pre>*{opacity:1!important;transform:none!important}
  #jollitech-site .jt-fx-seam{animation:none!important;transform:none;opacity:.5}
}
/* Dark sections sit on solid navy, so fading content never lets the light page show through. */
#jollitech-site .jt-fx-dark:not(#how-we-get-there){background-color:#020617}
