/* Our story, v2 (2026-11-20). Loaded after theme-flow.css.
   A real Bangsar South photo sits behind the section (darkened, slow parallax), the story is told next to a
   collage of office photos, and a glass "at a glance" strip sums it up. theme-story.js drives the parallax and
   the collage entrance. Palette stays navy / lime / white, with cyan only in glows. */

html #jollitech-site #about.jt-story-v2{position:relative;isolation:isolate;overflow:hidden;background:#020617}

/* ---------- Photo background ---------- */
#jollitech-site #about .jt-story-bg{position:absolute;inset:0 0 auto;z-index:-2;height:min(1500px,78%);overflow:hidden;pointer-events:none;
  -webkit-mask-image:linear-gradient(#000 58%,transparent);mask-image:linear-gradient(#000 58%,transparent)}
#jollitech-site #about .jt-story-bg img{position:absolute;left:0;top:-14%;width:100%;height:128%;max-width:none;object-fit:cover;object-position:50% 40%;
  filter:saturate(1.15) contrast(1.05) brightness(.72);transform:translate3d(0,var(--sy,0px),0) scale(1.03);will-change:transform}
#jollitech-site #about .jt-story-bg::after{content:"";position:absolute;inset:0;background:
  radial-gradient(70% 46% at 50% 20%,rgba(2,6,23,.62),transparent 75%),
  linear-gradient(180deg,#020617 0%,rgba(2,6,23,.7) 16%,rgba(2,6,23,.5) 38%,rgba(2,6,23,.74) 62%,#020617 100%),
  linear-gradient(90deg,rgba(2,6,23,.55),transparent 30%,transparent 70%,rgba(2,6,23,.55))}
/* fine lime grid over the photo so it reads as "ours" */
#jollitech-site #about .jt-story-bg::before{content:"";position:absolute;inset:0;z-index:1;
  background-image:linear-gradient(rgba(163,230,53,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(163,230,53,.07) 1px,transparent 1px);background-size:56px 56px;
  -webkit-mask-image:radial-gradient(ellipse 70% 60% at 50% 30%,#000,transparent 75%);mask-image:radial-gradient(ellipse 70% 60% at 50% 30%,#000,transparent 75%)}

/* Title block stays centred and bright on the photo. */
#jollitech-site #about.jt-story-v2 .jt-about-copy{text-shadow:0 2px 30px rgba(2,6,23,.6)}
#jollitech-site #about.jt-story-v2 .jt-about-copy>p{margin-bottom:0}

/* ---------- Story row: collage + text ---------- */
#jollitech-site #about .jt-story-row{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,1fr);gap:clamp(40px,6vw,88px);align-items:center;width:100%;max-width:1180px}
#jollitech-site #about .jt-story-text{min-width:0}
#jollitech-site #about .jt-story-text .jt-eyebrow{justify-content:flex-start}
#jollitech-site #about .jt-story-text h3{margin:14px 0 0;color:#f8fafc;font-size:clamp(26px,2.7vw,40px);line-height:1.12;letter-spacing:-.035em;text-wrap:balance}
#jollitech-site #about .jt-story-text p{margin:18px 0 0;color:#cbd5e1;font-size:clamp(15px,1.15vw,17px);line-height:1.75}
#jollitech-site #about .jt-story-text p:first-of-type{margin-top:22px;color:#e2e8f0}
#jollitech-site #about .jt-story-text .jt-company-facts{justify-content:flex-start;margin-top:26px}
#jollitech-site #about .jt-story-text .jt-about-links{justify-content:flex-start;margin-top:18px}

/* Collage */
/* Big team photo on top, two equal photos below; the location badge sits on the seam between them. */
#jollitech-site #about .jt-story-collage{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:14px;container-type:inline-size;min-height:0}
#jollitech-site #about .jt-sc{position:relative;margin:0;overflow:hidden;border-radius:26px;background:#0f172a;
  box-shadow:0 40px 80px -36px rgba(0,0,0,.85),0 0 0 1px rgba(255,255,255,.08);translate:0 var(--py,0px)}
#jollitech-site #about .jt-sc img{display:block;width:100%;height:100%;object-fit:cover;transition:transform 1.2s cubic-bezier(.2,.8,.2,1),filter .6s}
#jollitech-site #about .jt-sc:hover img{transform:scale(1.06)}
#jollitech-site #about .jt-sc figcaption{position:absolute;left:12px;bottom:12px;padding:6px 11px;border-radius:99px;background:rgba(2,6,23,.66);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#f8fafc;font-size:11.5px;font-weight:700;letter-spacing:.01em}
#jollitech-site #about .jt-sc-main{grid-column:1/-1;aspect-ratio:1248/673}
#jollitech-site #about .jt-sc-main img{object-position:50% 62%}
#jollitech-site #about .jt-sc-main::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:linear-gradient(160deg,rgba(163,230,53,.16),transparent 38%),linear-gradient(0deg,rgba(2,6,23,.35),transparent 40%)}
#jollitech-site #about .jt-sc-a,#jollitech-site #about .jt-sc-b{aspect-ratio:4/3;border-radius:22px}
#jollitech-site #about .jt-sc-badge{position:absolute;left:0;right:0;top:calc(53.93cqw + 7px);margin:-31px auto 0;width:max-content;z-index:2;display:flex;align-items:center;gap:12px;padding:12px 18px 12px 12px;border-radius:18px;
  background:rgba(15,23,42,.72);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border:1px solid rgba(163,230,53,.28);
  box-shadow:0 24px 50px -24px rgba(0,0,0,.9),0 0 30px -10px rgba(163,230,53,.35);translate:0 var(--py,0px)}
#jollitech-site #about .jt-sc-badge b{display:block;color:#f8fafc;font-size:14px;line-height:1.2}
#jollitech-site #about .jt-sc-badge small{display:block;margin-top:2px;color:#a3e635;font-size:12px;font-weight:600}
#jollitech-site #about .jt-sc-pin{position:relative;flex:none;width:36px;height:36px;border-radius:12px;background:linear-gradient(135deg,#a3e635,#22d3ee)}
#jollitech-site #about .jt-sc-pin::before{content:"";position:absolute;inset:0;margin:auto;width:12px;height:12px;border-radius:50% 50% 50% 0;rotate:-45deg;translate:0 -2px;border:3px solid #020617}
#jollitech-site #about .jt-sc-pin::after{content:"";position:absolute;inset:-4px;border-radius:15px;border:2px solid rgba(163,230,53,.55);animation:jt-sc-ping 2.6s ease-out infinite}
@keyframes jt-sc-ping{0%{opacity:.9;transform:scale(.85)}100%{opacity:0;transform:scale(1.35)}}
/* decorative glow + orbit behind the collage */
#jollitech-site #about .jt-story-collage::before{content:"";position:absolute;inset:8% 4% 2% 10%;z-index:-1;border-radius:50%;
  background:radial-gradient(closest-side,rgba(163,230,53,.28),rgba(34,211,238,.12) 55%,transparent);filter:blur(30px)}
#jollitech-site #about .jt-story-collage::after{content:"";position:absolute;left:-4%;top:-4%;width:46%;aspect-ratio:1;z-index:-1;border-radius:50%;
  border:1px dashed rgba(163,230,53,.35);animation:jt-sc-spin 40s linear infinite}
@keyframes jt-sc-spin{to{rotate:360deg}}

/* Collage entrance (armed by theme-story.js; without JS everything is simply shown). */
#jollitech-site #about .jt-story-collage.is-armed .jt-sc,#jollitech-site #about .jt-story-collage.is-armed .jt-sc-badge{opacity:0}
#jollitech-site #about .jt-story-collage.is-armed .jt-sc-main{transform:translate3d(-48px,24px,0) rotate(-3deg) scale(.94)}
#jollitech-site #about .jt-story-collage.is-armed .jt-sc-a{transform:translate3d(56px,56px,0) rotate(5deg) scale(.9)}
#jollitech-site #about .jt-story-collage.is-armed .jt-sc-b{transform:translate3d(40px,-48px,0) rotate(-6deg) scale(.9)}
#jollitech-site #about .jt-story-collage.is-armed .jt-sc-badge{transform:translate3d(0,24px,0) scale(.86)}
#jollitech-site #about .jt-story-collage.is-in .jt-sc,#jollitech-site #about .jt-story-collage.is-in .jt-sc-badge{opacity:1;transform:none;
  transition:opacity .9s ease,transform 1.3s cubic-bezier(.16,1,.3,1)}
#jollitech-site #about .jt-story-collage.is-in .jt-sc-b{transition-delay:.12s}
#jollitech-site #about .jt-story-collage.is-in .jt-sc-a{transition-delay:.24s}
#jollitech-site #about .jt-story-collage.is-in .jt-sc-badge{transition-delay:.5s}

/* ---------- At a glance strip ---------- */
#jollitech-site #about .jt-story-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;width:100%;max-width:1180px;margin:0;padding:0;list-style:none}
#jollitech-site #about .jt-story-stats li{position:relative;overflow:hidden;padding:24px 22px 22px;border:1px solid rgba(255,255,255,.09);border-radius:22px;
  background:linear-gradient(160deg,rgba(30,41,59,.62),rgba(15,23,42,.5));-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  transition:transform .4s cubic-bezier(.2,.8,.2,1),border-color .4s}
#jollitech-site #about .jt-story-stats li::before{content:"";position:absolute;left:22px;right:22px;top:0;height:2px;border-radius:2px;background:linear-gradient(90deg,#a3e635,#22d3ee);opacity:.8}
#jollitech-site #about .jt-story-stats li:hover{transform:translateY(-4px);border-color:rgba(163,230,53,.35)}
#jollitech-site #about .jt-story-stats b{display:block;font-size:clamp(24px,2.4vw,34px);font-weight:800;line-height:1.05;letter-spacing:-.03em;
  background:linear-gradient(90deg,#d9f99d,#a3e635 45%,#67e8f9);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
#jollitech-site #about .jt-story-stats span{display:block;margin-top:8px;color:#94a3b8;font-size:13.5px;line-height:1.5}

/* ---------- Vision card gets a photo of the towers ---------- */
html #jollitech-site #about .jt-story-direction>.jt-purpose:first-child{border-color:rgba(163,230,53,.22);
  background:linear-gradient(180deg,rgba(2,6,23,.5),rgba(2,6,23,.9) 70%),url("hero-horizon-dusk.jpg") center 30%/cover}
html #jollitech-site #about .jt-story-direction>.jt-purpose:first-child p{color:#e2e8f0}

/* ---------- Tablet & phone ---------- */
@media (max-width:980px){
  #jollitech-site #about .jt-story-row{grid-template-columns:1fr;gap:44px}
  #jollitech-site #about .jt-story-collage{width:min(100%,620px);justify-self:center}
  #jollitech-site #about .jt-story-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  #jollitech-site #about .jt-story-bg{height:min(1300px,50%)}
}
@media (max-width:560px){
  #jollitech-site #about .jt-story-collage{gap:10px}
  #jollitech-site #about .jt-sc{border-radius:18px}
  #jollitech-site #about .jt-sc figcaption{display:none}
  #jollitech-site #about .jt-sc-badge{top:calc(53.93cqw + 5px);margin-top:-25px;padding:9px 13px 9px 9px;gap:9px;border-radius:14px}
  #jollitech-site #about .jt-sc-badge b{font-size:13px}
  #jollitech-site #about .jt-sc-badge small{font-size:11px}
  #jollitech-site #about .jt-sc-pin{width:30px;height:30px}
  #jollitech-site #about .jt-story-stats{gap:10px}
  #jollitech-site #about .jt-story-stats li{padding:18px 16px 16px}
  #jollitech-site #about .jt-story-stats span{font-size:12.5px}
}
@media (prefers-reduced-motion:reduce){
  #jollitech-site #about .jt-story-bg img{transform:none}
  #jollitech-site #about .jt-sc,#jollitech-site #about .jt-sc-badge{translate:none}
  #jollitech-site #about .jt-sc-pin::after,#jollitech-site #about .jt-story-collage::after{animation:none}
}
/* Compact link pills so they sit on one row beside the collage. */
@media (min-width:981px){
  html #jollitech-site #about .jt-story-text .jt-about-links{gap:8px}
  html #jollitech-site #about .jt-story-text .jt-about-links>a,html #jollitech-site #about .jt-story-text .jt-about-links>a:hover{gap:8px;padding:10px 13px 10px 15px;font-size:12.5px}
}

/* ---------- Illustrated KL skyline background (replaces the photo; vector, so always sharp) ---------- */
#jollitech-site #about .jt-story-sky{height:calc(clamp(70px,9vw,140px) + max(100vw,1180px) * .475 + 60px);
  background:radial-gradient(80% 60% at 70% 100%,rgba(34,211,238,.10),transparent 70%),radial-gradient(60% 50% at 20% 90%,rgba(163,230,53,.10),transparent 70%),linear-gradient(#020617,#06102a 60%,#0b1a33);
  -webkit-mask-image:linear-gradient(#000 82%,transparent);mask-image:linear-gradient(#000 82%,transparent)}
#jollitech-site #about .jt-story-sky .jt-kl-art{position:absolute;left:50%;top:clamp(70px,9vw,140px);width:max(100%,1180px);height:auto;aspect-ratio:1600/760;translate:-50% 0}
@media (max-width:760px){#jollitech-site #about .jt-story-sky .jt-kl-art{translate:-66% 0;top:auto;bottom:0}}
#jollitech-site #about .jt-story-sky::after{background:
  radial-gradient(60% 34% at 50% 22%,rgba(2,6,23,.75),transparent 75%),
  linear-gradient(180deg,#020617 0%,rgba(2,6,23,.2) 18%,transparent 40%,rgba(2,6,23,.35) 75%,rgba(2,6,23,.7) 100%)}
#jollitech-site .jt-kl-art .sky-stars{transform:translateY(calc(var(--sy,0px) * .9))}
#jollitech-site .jt-kl-art .sky-back{transform:translateY(calc(var(--sy,0px) * .35))}
#jollitech-site .jt-kl-art .st{fill:#fff}
#jollitech-site .jt-kl-art .moon{fill:#d9f99d}
#jollitech-site .jt-kl-art .sky-back rect{fill:#0a1428;stroke:rgba(163,230,53,.16);stroke-width:1.2}
#jollitech-site .jt-kl-art .bd{fill:#0c1830}
#jollitech-site .jt-kl-art .ln{fill:none;stroke:#a3e635;stroke-width:1.5;stroke-opacity:.55;stroke-linejoin:round;vector-effect:non-scaling-stroke;
  stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 2.6s cubic-bezier(.65,0,.35,1) calc(var(--n) * 90ms)}
#jollitech-site .jt-kl-art .ln.thin{stroke-width:1.1;stroke-opacity:.45}
#jollitech-site .jt-kl-art.is-drawn .ln{stroke-dashoffset:0}
#jollitech-site .jt-kl-art .wl{fill:#a3e635;opacity:.55}
#jollitech-site .jt-kl-art .wl.ww{fill:#f8fafc;opacity:.55}
#jollitech-site .jt-kl-art .sky-lights{opacity:0;transition:opacity 1.6s ease 1.4s}
#jollitech-site .jt-kl-art.is-drawn .sky-lights{opacity:1}
#jollitech-site .jt-kl-art .beacon{fill:#fb7185;animation:jt-sky-beacon 1.8s ease-in-out infinite}
#jollitech-site .jt-kl-art .tw{animation:jt-sky-tw 3.4s ease-in-out var(--tw,0s) infinite}
@keyframes jt-sky-tw{0%,100%{opacity:.85}50%{opacity:.12}}
@keyframes jt-sky-beacon{50%{opacity:.25}}
@media (max-width:760px){#jollitech-site #about .jt-story-sky{height:min(900px,40%)}}
@media (prefers-reduced-motion:reduce){
  #jollitech-site .jt-kl-art .tw,#jollitech-site .jt-kl-art .beacon{animation:none}
  #jollitech-site .jt-kl-art .ln{transition:none}
  #jollitech-site .jt-kl-art .sky-stars,#jollitech-site .jt-kl-art .sky-back{transform:none}
}
