/* Cube Collabs motion layer: intro cube, scroll reveals and small accents. Content stays visible without JavaScript. */
@keyframes ccPulse{0%,100%{box-shadow:0 0 0 0 rgba(62,207,142,.55)}70%{box-shadow:0 0 0 8px rgba(62,207,142,0)}}
@keyframes ccFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@keyframes ccDraw{from{stroke-dashoffset:1400}to{stroke-dashoffset:0}}
@keyframes ccShine{0%{transform:translateX(-120%) skewX(-18deg)}60%,100%{transform:translateX(320%) skewX(-18deg)}}
@keyframes ccSpin{from{transform:rotateX(-28deg) rotateY(45deg)}to{transform:rotateX(-28deg) rotateY(405deg)}}

/* Scroll progress and header */
.cc-progress{position:fixed;top:0;left:0;height:2px;width:100%;transform-origin:0 50%;transform:scaleX(0);background:linear-gradient(90deg,var(--green),var(--peach2));z-index:80;pointer-events:none}
header{transition:background .25s,box-shadow .25s}
header nav.wrap{transition:height .25s}
header.cc-small nav.wrap{height:62px}
header.cc-small{box-shadow:0 8px 24px rgba(0,0,0,.45)}
.cube-icon path{stroke-dasharray:1400;animation:ccDraw 1.6s ease-out both}
.brandmark:hover .cube-icon{transform:rotate(-12deg) scale(1.08);transition:transform .35s}

/* Small accents */
.eyebrow .dot{animation:ccPulse 2.2s infinite}
h1.hero-title .accent{background:linear-gradient(transparent 88%,rgba(62,207,142,.35) 88%) no-repeat;background-size:0 100%;transition:background-size 1.1s .7s ease}
.cc-ready h1.hero-title .accent{background-size:100% 100%}
.hero-visual .device{animation:ccFloat 6s ease-in-out 1.5s infinite}
.btn-solid{position:relative;overflow:hidden;display:inline-block;transition:transform .2s,box-shadow .2s}
.btn-solid:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(62,207,142,.35)}
.btn-solid::after{content:"";position:absolute;top:0;left:0;width:35%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.45),transparent);animation:ccShine 4.5s 2s infinite}
.btn-outline{transition:transform .2s,border-color .2s}.btn-outline:hover{transform:translateY(-2px)}
.service-card,.pillar,.tier,.client-card,.bib-card,.cell{transition:transform .3s,border-color .3s,box-shadow .3s}
.service-card:hover,.pillar:hover,.tier:hover,.client-card:hover,.bib-card:hover{transform:translateY(-6px);border-color:rgba(62,207,142,.55);box-shadow:0 18px 40px rgba(0,0,0,.45),0 0 0 1px rgba(62,207,142,.18)}
.icon-box{transition:transform .4s}
.service-card:hover .icon-box{transform:rotate(-8deg) scale(1.1)}
.section-label{position:relative;padding-left:0;transition:padding-left .6s .2s}
.section-label::before{content:"";position:absolute;left:0;top:50%;height:1px;width:0;background:var(--green);transition:width .6s .2s}
.cc-in.section-label{padding-left:34px}.cc-in.section-label::before{width:24px}
.cta-band{position:relative;overflow:hidden}
.cta-band::before{content:"";position:absolute;inset:0;width:30%;background:linear-gradient(90deg,transparent,rgba(62,207,142,.18),transparent);animation:ccShine 6s 1s infinite;pointer-events:none}
.rung .dot{transition:transform .5s,box-shadow .5s}
.rung.cc-in .dot{transform:scale(1.08);box-shadow:0 0 0 6px rgba(62,207,142,.12)}

/* Scroll reveal (only once JavaScript has marked the element) */
.cc-rv{opacity:0;transform:translateY(28px) scale(.985);transition:opacity .7s cubic-bezier(.2,.7,.2,1),transform .7s cubic-bezier(.2,.7,.2,1);transition-delay:var(--d,0s)}
.cc-rv.cc-in{opacity:1;transform:none}
.cc-rv.cc-pop{transform:translateY(34px) scale(.93)}
.cc-rv.cc-pop.cc-in{transform:none}

/* Intro: dark screen, a white point, three axes (Connect, Communicate, Collaborate), the cube traced in white,
   then logo green; the green rises out from the cube like sunrise and fills the top, meeting the cube's bottom corners. The green area is drawn by motion.js. */
@keyframes ccEdge{to{stroke-dashoffset:0}}
@keyframes ccBlink{0%,100%{opacity:1}25%{opacity:.15}50%{opacity:1}75%{opacity:.15}}
.cc-intro{--mid:42vh;--cube:190px;--sx:50vw;--sy:50vh;position:fixed;inset:0;z-index:100;background:#1A1A1A;overflow:hidden;transition:opacity .6s ease,visibility .6s}
.cc-intro.cc-done{opacity:0;visibility:hidden}
.cc-sky{position:absolute;left:0;top:0;width:100%;height:100%}
.cc-sky .sky-final{opacity:0}
.cc-sky .sky-pulse,.cc-sky .sky-pulse2{opacity:0}
.cc-mark{position:absolute;left:0;right:0;top:calc(var(--mid) - var(--cube) * .5);z-index:1;display:flex;flex-direction:column;align-items:center}
.cc-frame{width:var(--cube);height:auto;overflow:visible}
.cc-frame line{stroke:#fff;stroke-width:4;stroke-linecap:round;transition:stroke 1s,stroke-width 1s}
.s-axes .cc-frame line.ax{animation:ccEdge .55s cubic-bezier(.3,.6,.2,1) forwards}
.s-w1 .cc-frame line.w1{animation:ccEdge .45s ease-out forwards}
.s-w2 .cc-frame line.w2{animation:ccEdge .45s ease-out forwards}
.cc-frame{filter:drop-shadow(0 0 6px rgba(255,255,255,.55))}
.s-green .cc-frame{filter:drop-shadow(0 0 10px rgba(87,216,79,.5));transition:filter 1s}
.s-green .cc-frame line{stroke:#57D84F;stroke-width:5}
.cc-dot{fill:#fff;opacity:0;transform-origin:82px 92px;transition:opacity .4s,r .4s}
.s-dot .cc-dot{opacity:1;animation:ccBlink .55s ease-in-out .05s 1}
.s-axes .cc-dot{r:4.2}
.s-green .cc-dot{opacity:0}
.cc-lab{fill:#fff;font:500 8.6px var(--mono);letter-spacing:.16em;opacity:0;transition:opacity .5s}
.s-axes .cc-lab{opacity:.9;transition-delay:.3s}
.s-green .cc-lab{opacity:0;transition-delay:0s}
.cc-r{fill:#111;font:400 22px var(--head);opacity:0;transition:opacity .5s}
.s-name .cc-r{opacity:1}
.cc-word{margin-top:22px;font-family:var(--head);font-weight:400;font-size:26px;letter-spacing:.08em;color:#57D84F;text-align:center;white-space:nowrap;opacity:0;transform:translateY(10px);transition:opacity .6s,transform .6s}
.cc-word small{display:block;font-family:var(--mono);font-size:11px;color:var(--dim);letter-spacing:.14em;text-transform:uppercase;margin-top:8px;font-weight:500}
.s-name .cc-word{opacity:1;transform:none}
.cc-skip{position:absolute;top:22px;right:24px;z-index:2;background:rgba(0,0,0,.25);border:1px solid rgba(255,255,255,.25);color:#fff;font:500 12px var(--mono);text-transform:uppercase;letter-spacing:.08em;padding:8px 14px;border-radius:99px;cursor:pointer}
.cc-skip:hover{border-color:#57D84F}
@media(max-width:600px){.cc-intro{--mid:38vh;--cube:150px}.cc-word{font-size:21px}.cc-lab{font-size:10px}}
@media(min-width:1600px){.cc-intro{--cube:220px}}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
  .cc-rv{opacity:1;transform:none}.cc-intro{display:none}
}


/* ---------- Landing page artwork (from the brand illustration) ---------- */
/* Space elements drift slowly behind the hero; they carry meaning, not text:
   rocket = growth, astronaut = perseverance, spaceship = the long journey, planet and moon = steady orbit. */
@keyframes spRise{0%,100%{transform:translateY(0) rotate(8deg)}50%{transform:translateY(-18px) rotate(6deg)}}
@keyframes spFloat{0%,100%{transform:translate(0,0) rotate(-6deg)}50%{transform:translate(-10px,-14px) rotate(6deg)}}
@keyframes spDrift{0%,100%{transform:translateX(0)}50%{transform:translateX(-26px)}}
@keyframes spSpin{to{transform:rotate(360deg)}}
@keyframes spComet{0%{transform:translate(0,0);opacity:0}10%{opacity:.75}60%{opacity:.75}100%{transform:translate(-180px,130px);opacity:0}}
@keyframes artBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
.hero-space{position:absolute;inset:0;pointer-events:none;z-index:0}
.hero .wrap{position:relative;z-index:1}
.hero-space img{position:absolute;height:auto;opacity:.9;filter:drop-shadow(0 6px 16px rgba(0,0,0,.55))}
.hs-astro{right:2.5%;top:7%;width:clamp(48px,5vw,80px);animation:spFloat 8s ease-in-out infinite}
.hs-rocket{left:1.8%;bottom:9%;width:clamp(30px,3vw,48px);animation:spRise 6s ease-in-out infinite}
.hs-planet{left:47%;top:5%;width:clamp(24px,2.4vw,38px);animation:spSpin 40s linear infinite}
.hs-moon{right:6%;bottom:6%;width:clamp(28px,2.8vw,44px);animation:spSpin 60s linear infinite reverse}
.hs-comet{left:38%;bottom:12%;width:clamp(34px,3.4vw,54px);animation:spComet 8s ease-in 2s infinite}
.hs-ship{left:60%;top:3%;width:clamp(70px,7vw,120px);opacity:.75!important;animation:spDrift 10s ease-in-out infinite}
@media(max-width:860px){.hs-planet,.hs-ship,.hs-comet{display:none}.hs-astro{top:2%;right:3%}.hs-rocket{bottom:3%}}

/* Each section gets one picture next to its heading, so the idea lands before any reading */
.sec-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.42fr);gap:48px;align-items:center}
.sec-art{margin:0;justify-self:end;width:100%;max-width:270px}
.sec-art img{display:block;width:100%;height:auto;border-radius:26px;background:#f6dcc0;box-shadow:0 20px 50px rgba(0,0,0,.45),0 0 0 1px rgba(255,255,255,.06);animation:artBob 7s ease-in-out infinite}
.sec-head:nth-of-type(even) .sec-art img{animation-delay:-3s}
@media(max-width:860px){.sec-head{grid-template-columns:1fr;gap:22px}.sec-art{justify-self:start;max-width:210px;order:-1}}

/* The cube slide: the hourglass from the brand illustration, pinned while you scroll.
   --p goes 0 to 1: the challenges below the cube shrink, the solutions above grow,
   and the services light up left and right, one after another. */
.cube-slide{--p:0;position:relative;height:300vh;background:#1A1A1A;border-bottom:1px solid var(--line)}
.cube-slide{--hdr:62px}
.cs-sticky{position:sticky;top:var(--hdr);height:calc(100vh - var(--hdr));height:calc(100svh - var(--hdr));overflow:hidden}
.cs-stage{position:absolute;left:50%;top:50%;height:calc(100% - 24px);aspect-ratio:1800/1385;transform:translate(-50%,-50%)}
.cs-stage img{position:absolute;display:block;user-select:none;pointer-events:none}
.cs-bg{inset:0;width:100%;height:100%}
.cs-sol{left:7.53%;top:.17%;width:77.8%;transform-origin:54% 100%;transform:scale(calc(.45 + .55 * var(--p)));opacity:calc(.55 + .45 * var(--p))}
.cs-chal{left:13.5%;top:65.12%;width:71.67%;transform-origin:50% 0;transform:scale(calc(1 - .6 * var(--p)));opacity:calc(1 - .45 * var(--p))}
.cs-tag{position:absolute;left:50%;transform:translateX(-50%);font:600 11px var(--mono);letter-spacing:.2em;text-transform:uppercase;padding:5px 12px;border-radius:99px;background:rgba(26,26,26,.78);white-space:nowrap}
.cs-tag-sol{top:2.5%;color:#57D84F;opacity:calc(.25 + .75 * var(--p))}
.cs-tag-chal{bottom:2.5%;color:#f3b38f;opacity:calc(1 - .8 * var(--p))}
.cs-head{position:absolute;left:clamp(20px,4vw,64px);top:clamp(24px,5vh,56px);max-width:240px;z-index:2}
.cs-head p{margin:0;color:#d8d8d8;font-family:var(--head);font-weight:600;font-size:clamp(16px,1.5vw,20px);line-height:1.35}
/* Scroll hint on the landing screen, fades away once the slide starts moving */
@keyframes csHint{0%,100%{transform:translateY(0);opacity:.9}50%{transform:translateY(8px);opacity:.4}}
.cs-hint{position:absolute;left:clamp(20px,4vw,64px);bottom:28px;z-index:2;display:flex;align-items:center;gap:10px;font:600 11px var(--mono);letter-spacing:.2em;text-transform:uppercase;color:#57D84F;opacity:calc(1 - var(--p) * 8)}
.cs-hint span{width:2px;height:26px;border-radius:2px;background:linear-gradient(#57D84F,transparent);animation:csHint 1.8s ease-in-out infinite}
.cs-list{position:absolute;top:50%;transform:translateY(-50%);list-style:none;margin:0;padding:0;display:grid;gap:26px;z-index:2;width:min(24vw,300px)}
.cs-left{left:clamp(20px,4vw,64px)}
.cs-right{right:clamp(20px,4vw,64px);text-align:right}
.cs-item{opacity:0;transform:translateY(14px);transition:opacity .5s,transform .5s}
.cs-item.on{opacity:1;transform:none}
/* Each option sits in a glass box, so it reads as something to click */
.cs-item a{display:inline-block;padding:14px 18px;border-radius:16px;font-family:var(--head);font-weight:600;font-size:clamp(15px,1.45vw,20px);line-height:1.25;color:#a9a9a9;text-decoration:none;
  background:linear-gradient(135deg,rgba(255,255,255,.09),rgba(255,255,255,.02));border:1px solid rgba(255,255,255,.14);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 10px 30px rgba(0,0,0,.35);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  transition:color .4s,border-color .4s,background .4s,box-shadow .4s,transform .25s}
.cs-item a:hover{transform:translateY(-2px);color:#fff;border-color:rgba(87,216,79,.55)}
.cs-item.now a{color:#fff;border-color:rgba(87,216,79,.7);background:linear-gradient(135deg,rgba(87,216,79,.2),rgba(87,216,79,.05));box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 0 0 1px rgba(87,216,79,.25),0 12px 34px rgba(87,216,79,.18)}
.cs-now{display:none}
@media(max-width:860px){
  .cube-slide{height:240vh}
  .cube-slide{--hdr:64px}
  .cs-stage{height:74%;top:57%}
  .cs-list{display:none}
  .cs-head{top:14px;left:20px;right:20px;max-width:none}
  .cs-head p{font-size:15px}
  .cs-hint{display:none}
  .cs-now{display:flex;position:absolute;left:50%;bottom:22px;transform:translateX(-50%);align-items:center;gap:10px;padding:12px 18px;border-radius:99px;text-decoration:none;background:linear-gradient(135deg,rgba(87,216,79,.22),rgba(26,26,26,.6));-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(87,216,79,.6);box-shadow:inset 0 1px 0 rgba(255,255,255,.15);font-family:var(--head);font-weight:600;font-size:15px;color:#fff;white-space:nowrap;z-index:3;opacity:0;transition:opacity .4s}
  .cs-now.on{opacity:1}
}
@media (prefers-reduced-motion:reduce){.hero-space img,.sec-art img{animation:none!important}.cube-slide{--p:1!important}.cs-item{opacity:1;transform:none}}
.journey .section-label,.journey .cc-in.section-label{padding-left:0}
.journey .section-label::before{display:none}

/* ---------- Landing: the services orbit the cube like a flat spiral galaxy ----------
   The section stays on screen while you scroll; each step turns the orbit so the next item comes to the front.
   The front item is largest and shows one line and "Know more"; items further back get smaller and fainter. */
.galaxy{position:relative;height:420vh;background:#141414;border-bottom:1px solid var(--line)}
.gx-pin{position:sticky;top:62px;height:calc(100vh - 62px);height:calc(100svh - 62px);overflow:hidden}
.gx-stars{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.gx-glow{position:absolute;left:50%;top:var(--gcy,58%);width:min(70vw,900px);height:min(26vw,320px);transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(closest-side,rgba(87,216,79,.16),rgba(46,121,44,.06) 55%,transparent);pointer-events:none}
@keyframes gxSpin{to{transform:rotate(360deg)}}
.gx-spin{transform-origin:0 0;animation:gxSpin 120s linear infinite}
.gx-head{position:absolute;left:0;right:0;top:clamp(18px,5vh,48px);text-align:center;z-index:5;padding:0 20px}
.gx-kicker{margin:0 0 10px;font:600 12px var(--mono);letter-spacing:.18em;text-transform:uppercase;color:#57D84F}
.gx-head h1{margin:0 auto 18px;max-width:820px;font-size:clamp(26px,3.6vw,48px);line-height:1.12;letter-spacing:-.02em}
.gx-head .btn-solid{font-size:14px}
.gx-core{position:absolute;left:50%;top:var(--gcy,58%);width:clamp(64px,6vw,92px);transform:translate(-50%,-105%);z-index:50;filter:drop-shadow(0 0 22px rgba(87,216,79,.45))}
.gx-core svg{width:100%;height:auto;display:block}
.gx-orbit{position:absolute;inset:0;list-style:none;margin:0;padding:0}
.gx-item{position:absolute;left:50%;top:var(--gcy,58%);width:clamp(200px,19vw,270px);margin-left:calc(clamp(200px,19vw,270px) / -2);will-change:transform,opacity}
.gx-item a{display:grid;justify-items:center;text-align:center;gap:8px;padding:16px 16px 14px;border-radius:18px;text-decoration:none;color:#cfcfcf;
  background:linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,.02));border:1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:border-color .4s,background .4s,box-shadow .4s}
.gx-ic{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;color:#57D84F;background:rgba(87,216,79,.1);border:1px solid rgba(87,216,79,.25)}
.gx-ic svg{width:24px;height:24px}
.gx-t{font-family:var(--head);font-weight:600;font-size:17px;line-height:1.25;color:#fff}
.gx-d{font-size:14px;line-height:1.45;color:#bdbdbd;max-height:0;opacity:0;overflow:hidden;transition:max-height .5s,opacity .5s}
.gx-more{font:600 12px var(--mono);letter-spacing:.1em;text-transform:uppercase;color:#57D84F;max-height:0;opacity:0;overflow:hidden;transition:max-height .5s,opacity .5s}
.gx-item.front a{border-color:rgba(87,216,79,.65);background:linear-gradient(135deg,rgba(87,216,79,.18),rgba(20,20,20,.75));box-shadow:0 20px 60px rgba(0,0,0,.55),0 0 0 1px rgba(87,216,79,.2)}
.gx-item.front .gx-d,.gx-item.front .gx-more{max-height:90px;opacity:1}
.gx-hint{position:absolute;left:50%;bottom:20px;transform:translateX(-50%);display:flex;align-items:center;gap:10px;font:600 11px var(--mono);letter-spacing:.2em;text-transform:uppercase;color:#57D84F;z-index:5;opacity:calc(1 - var(--gp,0) * 10)}
.gx-hint span{width:2px;height:24px;border-radius:2px;background:linear-gradient(#57D84F,transparent);animation:csHint 1.8s ease-in-out infinite}
@media(max-width:700px){.gx-item{width:210px;margin-left:-105px}.gx-t{font-size:15px}.gx-d{font-size:13px}}
@media (prefers-reduced-motion:reduce){.gx-spin{animation:none}}

.gx-rot{transition:transform .3s}
/* Know more: the detail stays on the page (and for Google) but folded until asked for */
.more{display:block;width:100%;border-bottom:1px solid var(--line)}
.more>summary{list-style:none;cursor:pointer;display:flex;justify-content:center;align-items:center;gap:12px;padding:34px 20px;font-family:var(--head);font-weight:600;font-size:18px;color:#fff}
.more>summary::-webkit-details-marker{display:none}
.more>summary i{font-style:normal;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(87,216,79,.6);color:#57D84F;transition:transform .3s}
.more[open]>summary i{transform:rotate(45deg)}
.more>summary:hover{color:#57D84F}
@media(max-width:700px){.gx-item.front a{background:linear-gradient(135deg,rgba(40,70,40,.96),rgba(20,20,20,.96))}}
.gx-hint{left:auto;right:clamp(20px,4vw,64px);transform:none}

/* Short screens (laptops with the browser bar, phones sideways): a more compact heading so the front card fits */
@media(max-height:760px){.gx-head{top:14px}.gx-kicker{margin-bottom:6px;font-size:11px}.gx-head h1{font-size:clamp(24px,3vw,36px);margin-bottom:12px}.gx-head .btn-solid{padding:10px 20px}}

/* Less to read: cards away from the front show only their icon; the front card shows a short title and one line */
.gx-head h1{font-size:clamp(28px,3.4vw,46px)}

/* Cascading tabs on the service pages: steps on the left, the chosen step's detail on the right; stacked on phones */
.ctabs{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:22px;margin:30px 0 26px;align-items:start}
.ct-list{display:grid;gap:8px}
.ct-tab{all:unset;cursor:pointer;display:grid;gap:2px;padding:12px 16px;border-radius:12px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.03);transition:border-color .3s,background .3s,transform .3s}
.ct-tab span{font-family:var(--head);font-weight:600;font-size:16px;color:#ddd}
.ct-tab small{font-size:13px;color:var(--dim)}
.ct-tab:hover{border-color:rgba(87,216,79,.4)}
.ct-tab[aria-selected=true]{border-color:rgba(87,216,79,.7);background:linear-gradient(135deg,rgba(87,216,79,.16),rgba(255,255,255,.02));transform:translateX(6px)}
.ct-tab[aria-selected=true] span{color:#fff}
.ct-tab:focus-visible{outline:2px solid #57D84F;outline-offset:2px}
.ct-panel{display:none;padding:22px 24px;border-radius:16px;border:1px solid rgba(87,216,79,.35);background:linear-gradient(160deg,rgba(87,216,79,.1),rgba(20,20,20,.6));position:sticky;top:90px}
.ct-panel.on{display:block;animation:ctIn .45s ease}
@keyframes ctIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.ct-panel h3{margin:0 0 6px;font-size:22px}
.ct-panel p{margin:0 0 14px;color:#cfcfcf}
.ct-panel ul{margin:0;padding:0;list-style:none;display:grid;gap:10px}
.ct-panel li{padding-left:26px;position:relative;color:#e6e6e6}
.ct-panel li::before{content:"";position:absolute;left:0;top:.45em;width:12px;height:12px;border-radius:3px;border:2px solid #57D84F}
@media(max-width:800px){.ctabs{grid-template-columns:1fr}.ct-panel{position:static}.ct-tab[aria-selected=true]{transform:none}}

/* Smooth zoom: every card keeps the same layout all the way round; only its size, light and detail fade
   with --f (1 at the front, 0 at the back), so nothing pops in or out. */
.gx-item{--f:0;width:220px;margin-left:-110px}
.gx-item a{gap:6px;padding:12px 14px;transition:none;
  border-color:rgba(87,216,79,calc(.15 + .55 * var(--f)));
  background:linear-gradient(135deg,rgba(87,216,79,calc(.04 + .14 * var(--f))),rgba(20,20,20,calc(.35 + .4 * var(--f))));
  box-shadow:0 20px 60px rgba(0,0,0,calc(.55 * var(--f)))}
.gx-item.front a{border-color:rgba(87,216,79,calc(.15 + .55 * var(--f)));background:linear-gradient(135deg,rgba(87,216,79,calc(.04 + .14 * var(--f))),rgba(20,20,20,calc(.35 + .4 * var(--f))))}
.gx-g{font:600 10px var(--mono);letter-spacing:.16em;text-transform:uppercase;color:#57D84F;opacity:calc(.5 + .5 * var(--f))}
.gx-ic{width:36px;height:36px;border-radius:10px}.gx-ic svg{width:20px;height:20px}
.gx-t{font-size:15px;opacity:calc(.55 + .45 * var(--f))}
.gx-d,.gx-item.front .gx-d{font-size:12.5px;line-height:1.4;max-height:none;overflow:visible;transition:none;opacity:clamp(0,calc((var(--f) - .55) * 2.3),1)}
.gx-more,.gx-item.front .gx-more{font-size:11px;max-height:none;overflow:visible;transition:none;opacity:clamp(0,calc((var(--f) - .7) * 3.4),1)}
@media(max-width:700px){.gx-item{width:200px;margin-left:-100px}}
.ctabs{scroll-margin-top:84px}

/* Only the front card is for reading; its two neighbours show a title; the rest are small icon marks */
.gx-t{opacity:clamp(0,calc((var(--f) - .25) * 2),1)}
.gx-g{opacity:clamp(0,calc((var(--f) - .25) * 2),1)}
.gx-d,.gx-item.front .gx-d{opacity:clamp(0,calc((var(--f) - .7) * 3.4),1)}
.gx-more,.gx-item.front .gx-more{opacity:clamp(0,calc((var(--f) - .8) * 5),1)}
/* Far cards: the box itself fades away, leaving just the small icon */
.gx-item a,.gx-item.front a{border-color:rgba(87,216,79,calc(.7 * var(--f)));background:linear-gradient(135deg,rgba(87,216,79,calc(.18 * var(--f))),rgba(20,20,20,calc(.75 * var(--f))));-webkit-backdrop-filter:none;backdrop-filter:none}

/* The green zone stays hidden until the cube turns green, so nothing can flash early */
.cc-sky{opacity:0;transition:opacity .3s}
.s-green .cc-sky{opacity:1}
.cc-sky .sky-final,.cc-sky .sky-pulse,.cc-sky .sky-pulse2{opacity:0}

/* Phones: only the front card, on a solid background, with larger, clearer text */
@media(max-width:700px){
  .gx-item a,.gx-item.front a{background:#16261a;border-color:rgba(87,216,79,calc(.7 * var(--f)))}
  .gx-item{width:250px;margin-left:-125px}
  .gx-t{font-size:19px}
  .gx-d,.gx-item.front .gx-d{font-size:15px;color:#d6d6d6}
  .gx-more,.gx-item.front .gx-more{font-size:12px}
  .gx-g{font-size:11px}
}

/* Believe in Brands cards show the episode cover itself; its title is already on the cover */
.bib-card:has(.bib-media img){aspect-ratio:9/16}
.bib-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s}
.bib-card:hover .bib-media img{transform:scale(1.04)}
.bib-card:has(.bib-media img) .bib-tag,.bib-card:has(.bib-media img) .bib-foot{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
@media(max-width:700px){.bib-card:has(.bib-media img){aspect-ratio:9/16}.bib-grid:has(.bib-media img){grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}}
.gx-head h1{text-wrap:balance;max-width:900px}
