/* Home page additions - quiet, large, precise. Black surfaces, white type, motion tied to the scroll.
   The existing hero and the theme's own animations are not touched. */
.gtxs,.gtxh,.gtxw,.gtxp,.gtxc{background:#000;color:#f5f5f7}
.gtx-eyebrow{display:inline-block;font-size:13px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:#86868b}
.gtxh h2,.gtxw h2,.gtxp h2,.gtxc h2{font-weight:800;letter-spacing:-.035em;line-height:1.06;
  background:linear-gradient(180deg,#fff 35%,#a9a9b2);-webkit-background-clip:text;background-clip:text;color:transparent;padding-bottom:.06em}

.gtx-home-progress{position:fixed;left:0;top:0;height:2px;width:100%;z-index:100000;pointer-events:none;transform-origin:0 50%;transform:scaleX(0);background:rgba(255,255,255,.85);mix-blend-mode:difference}

/* blocks arrive with a short, soft rise */
.gtx-home [data-gtx-up]{opacity:0;translate:0 36px;transition:opacity .9s cubic-bezier(.25,.1,.25,1),translate 1.1s cubic-bezier(.16,1,.3,1),transform .6s cubic-bezier(.16,1,.3,1),background .5s,border-color .5s;transition-delay:var(--d,0ms)}
.gtx-home [data-gtx-up].in{opacity:1;translate:0 0}
.gtx-home .gtx-rise{opacity:0;translate:0 30px;transition:opacity .9s cubic-bezier(.25,.1,.25,1),translate 1.1s cubic-bezier(.16,1,.3,1)}
.gtx-home .gtx-rise.in{opacity:1;translate:0 0}

/* ---------- statement: words light up with the scroll ---------- */
.gtxs{padding:clamp(110px,22vh,250px) 22px clamp(90px,16vh,180px)}
.gtxs-in{max-width:1040px;margin:0 auto}
.gtxs .gtxs-text{margin:26px 0 0;color:#f5f5f7;font-size:clamp(28px,4.4vw,60px);line-height:1.2;font-weight:800;letter-spacing:-.03em}
.gtx-home .gtxs-text span{opacity:.14}

/* ---------- product stage ---------- */
.gtxh-head,.gtxw-head,.gtxp-head{text-align:center;padding:0 22px}
.gtxh-head{padding-top:30px;padding-bottom:20px}
.gtxh .gtxh-head h2,.gtxw .gtxw-head h2,.gtxp .gtxp-head h2{margin:16px auto 0;font-size:clamp(34px,5.4vw,72px)}
/* without the pinned stage (phones, no script) the products simply follow one another */
.gtxh-stage{max-width:760px;margin:0 auto;padding:20px 22px 40px}
.gtxh-scene{margin:0 0 78px}
.gtxh-text{text-align:center}
.gtxh-logo{display:block;margin:0 auto 20px;max-width:70%;height:auto}
.gtxh .gtxh-text h3{margin:0 0 10px;color:#f5f5f7;font-size:clamp(24px,2.7vw,40px);line-height:1.14;font-weight:800;letter-spacing:-.025em}
.gtxh-text p{margin:0 auto 18px;max-width:420px;font-size:17px;line-height:1.6;color:#a1a1a6}
.gtxh-text a{display:inline-flex;align-items:center;gap:10px;padding:12px 22px;border-radius:40px;font-size:14.5px;font-weight:700;color:#000 !important;background:#f5f5f7;text-decoration:none !important;transition:transform .4s cubic-bezier(.16,1,.3,1),background .3s}
.gtxh-text a:hover{background:#fff;transform:translateY(-2px)}
.gtxh-screen{position:relative;display:block;margin-top:28px;aspect-ratio:16/10;border-radius:18px;overflow:hidden;background:#0d0d10;
  box-shadow:0 0 0 1px rgba(255,255,255,.13),0 50px 110px -40px color-mix(in srgb,var(--glow) 55%,transparent)}
.gtxh-screen img{display:block;width:100%;height:100%;object-fit:cover;object-position:top left}
.gtxh-meter{display:none}

.gtx-home .gtxh.is-pinned .gtxh-pin{position:sticky;top:0;height:100vh;overflow:hidden}
.gtx-home .gtxh.is-pinned .gtxh-stage{position:relative;width:100%;max-width:1360px;height:100%;padding:0}
.gtx-home .gtxh.is-pinned .gtxh-scene{position:absolute;inset:0;margin:0;display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:clamp(28px,4vw,70px);align-items:center;padding:60px clamp(28px,5vw,80px) 30px;opacity:0;visibility:hidden}
.gtx-home .gtxh.is-pinned .gtxh-text{text-align:left;will-change:transform,opacity}
.gtx-home .gtxh.is-pinned .gtxh-logo{margin:0 0 34px;max-width:100%}
.gtx-home .gtxh.is-pinned .gtxh-text p{margin:0 0 28px}
.gtx-home .gtxh.is-pinned .gtxh-screen{margin:0;width:100%;max-height:74vh;justify-self:end;will-change:transform,opacity}
.gtx-home .gtxh.is-pinned .gtxh-meter{display:flex;gap:6px;position:absolute;left:50%;bottom:30px;width:min(520px,70vw);transform:translateX(-50%)}
.gtxh-meter i{flex:1;height:2px;border-radius:2px;overflow:hidden;background:rgba(255,255,255,.18)}
.gtxh-meter b{display:block;height:100%;background:#f5f5f7;transform-origin:0 50%;transform:scaleX(0)}

/* ---------- product wall: quiet tiles, white logos ---------- */
.gtxw{padding:clamp(90px,15vh,180px) 22px}
.gtxw-in{max-width:1200px;margin:0 auto}
.gtxw-head{margin-bottom:64px}
.gtxw-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.gtxw-tile{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;gap:18px;min-height:212px;padding:26px 24px 22px;border-radius:24px;color:#f5f5f7 !important;text-decoration:none !important;background:#101012;border:1px solid rgba(255,255,255,.06)}
.gtxw-tile::before{content:"";position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity .6s;background:radial-gradient(340px circle at var(--mx,50%) var(--my,50%),color-mix(in srgb,var(--glow) 16%,transparent),transparent 70%)}
.gtxw-tile:hover{background:#151518;border-color:rgba(255,255,255,.16);transform:translateY(-4px)}
.gtxw-tile:hover::before{opacity:1}
.gtxw-logo{position:relative;flex:1;display:flex;align-items:center;justify-content:center}
.gtxw-logo img{display:block;max-width:100%;height:auto;opacity:.92;transition:opacity .4s,transform .7s cubic-bezier(.16,1,.3,1)}
.gtxw-tile:hover .gtxw-logo img{opacity:1;transform:scale(1.05)}
.gtxw-kind{position:relative;display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:13.5px;color:#a1a1a6}
.gtxw-kind i{flex:none;font-style:normal;color:#f5f5f7;opacity:0;translate:-8px 0;transition:opacity .35s,translate .45s cubic-bezier(.16,1,.3,1)}
.gtxw-tile:hover .gtxw-kind i{opacity:1;translate:0 0}
.gtxw-talk{background:#f5f5f7;color:#000 !important}
.gtxw-talk:hover{background:#fff}
.gtxw-talk strong{position:relative;flex:1;display:flex;align-items:center;font-size:23px;line-height:1.25;font-weight:800;letter-spacing:-.02em;color:#000}
.gtxw-talk .gtxw-kind{color:#515154}.gtxw-talk .gtxw-kind i{color:#000;opacity:1;translate:0 0}
@media (max-width:1100px){.gtxw-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:760px){.gtxw-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.gtxw-tile{min-height:158px;padding:18px 14px 14px;border-radius:18px}.gtxw-logo img{max-width:88%}.gtxw-kind{font-size:12px}.gtxw-talk strong{font-size:17px}}

/* ---------- how we work: one line that draws itself ---------- */
.gtxp{padding:clamp(60px,10vh,120px) 22px clamp(90px,14vh,170px)}
.gtxp-in{max-width:1200px;margin:0 auto}
.gtxp-head{margin-bottom:80px}
.gtxp-rail{height:1px;background:rgba(255,255,255,.16)}
.gtxp-rail i{display:block;height:100%;background:#f5f5f7;transform-origin:0 50%}
.gtx-home .gtxp-rail i{transform:scaleX(0)}
.gtxp-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:34px;list-style:none !important;margin:0 !important;padding:34px 0 0 !important}
.gtxp-step{list-style:none !important;margin:0}
.gtx-home .gtxp-step{opacity:.22;transition:opacity .7s ease}
.gtx-home .gtxp-step.on{opacity:1}
.gtxp-step span{display:block;margin-bottom:18px;font-size:14px;font-weight:700;letter-spacing:.14em;color:#86868b}
.gtxp .gtxp-step h3{margin:0 0 10px;color:#f5f5f7;font-size:26px;font-weight:800;letter-spacing:-.02em}
.gtxp-step p{margin:0;font-size:16px;line-height:1.65;color:#a1a1a6}
@media (max-width:900px){.gtxp-steps{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.gtxp-steps{grid-template-columns:1fr}}

/* ---------- closing: one soft light rising behind the words ---------- */
.gtxc{position:relative;overflow:hidden;isolation:isolate;text-align:center;padding:clamp(130px,26vh,300px) 22px;border-top:1px solid rgba(255,255,255,.08)}
.gtxc-light{position:absolute;left:50%;bottom:-62%;width:min(1500px,170vw);aspect-ratio:1.5;translate:-50% 0;z-index:-1;border-radius:50%;pointer-events:none;transform-origin:50% 100%;
  background:radial-gradient(closest-side,rgba(108,72,255,.55),rgba(30,110,200,.2) 52%,transparent)}
.gtxc .gtxc-in h2{margin:0 auto 22px;font-size:clamp(42px,8.4vw,112px)}
.gtxc-in p{margin:0 auto 40px;max-width:560px;font-size:19px;line-height:1.6;color:#a1a1a6}
.gtxc-btns{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.gtxc-btn{display:inline-block;padding:16px 32px;border-radius:50px;font-weight:700;font-size:15.5px;color:#f5f5f7 !important;text-decoration:none !important;border:1px solid rgba(255,255,255,.3);transition:transform .4s cubic-bezier(.16,1,.3,1),background .3s}
.gtxc-btn:hover{transform:translateY(-2px);background:rgba(255,255,255,.1)}
.gtxc-btn.solid{border-color:transparent;background:#f5f5f7;color:#000 !important}.gtxc-btn.solid:hover{background:#fff}

/* existing service cards: only a soft light under the pointer */
.gtx-home .gtx-glow{position:relative;overflow:hidden}
.gtx-home .gtx-glow::before{content:"";position:absolute;inset:0;border-radius:inherit;opacity:0;transition:opacity .5s;pointer-events:none;background:radial-gradient(280px circle at var(--mx,50%) var(--my,50%),rgba(255,255,255,.09),transparent 68%)}
.gtx-home .gtx-glow:hover::before{opacity:1}

/* the flowing colour text of "All 11 products." */
.gtxw .gtxw-head h2{background:none;-webkit-text-fill-color:currentColor;color:#f5f5f7}
.gtxw-head h2 em{font-style:normal;background:linear-gradient(90deg,#a855f7,#07beb8,#ff1791,#a855f7);background-size:300% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;animation:gtxhFlow 9s linear infinite}
@keyframes gtxhFlow{to{background-position:-300% 0}}
@media (prefers-reduced-motion:reduce){.gtxw-head h2 em{animation:none}}

/* phones and tablets: the same pinned stage, screen above and words below, all inside one screen height */
@media (max-width:991px){
  .gtx-home .gtxh.is-pinned .gtxh-pin{height:100vh;height:100svh}
  .gtx-home .gtxh.is-pinned .gtxh-scene{display:flex;flex-direction:column;justify-content:center;gap:22px;padding:26px 18px 54px}
  .gtx-home .gtxh.is-pinned .gtxh-screen{order:-1;width:100%;max-width:640px;max-height:36vh;max-height:36svh;margin:0 auto}
  .gtx-home .gtxh.is-pinned .gtxh-text{text-align:center}
  .gtx-home .gtxh.is-pinned .gtxh-logo{margin:0 auto 16px;max-height:56px;width:auto;max-width:62%;object-fit:contain}
  .gtx-home .gtxh.is-pinned .gtxh-text h3{font-size:23px}
  .gtx-home .gtxh.is-pinned .gtxh-text p{margin:0 auto 16px;font-size:15px}
  .gtx-home .gtxh.is-pinned .gtxh-meter{bottom:18px;width:80vw}
}
/* the theme clips the main area on phones, which would stop the pinned stage from sticking */
.gtx-home main#main{overflow:visible !important;overflow-x:clip !important}

/* ===== the product stage uses the whole width: big screen on the right, larger words on the left ===== */
@media (min-width:992px){
  .gtx-home .gtxh.is-pinned .gtxh-stage{max-width:none}
  .gtx-home .gtxh.is-pinned .gtxh-scene{grid-template-columns:minmax(300px,3.3fr) minmax(0,8.7fr);gap:clamp(24px,3vw,60px);padding:34px clamp(18px,2vw,40px) 62px clamp(70px,5.4vw,110px)}
  .gtx-home .gtxh.is-pinned .gtxh-screen{width:min(100%,calc((100vh - 118px) * 1.6));height:auto;max-height:none;aspect-ratio:16/10;justify-self:end}
  .gtx-home .gtxh.is-pinned .gtxh-logo{margin-bottom:40px;scale:1.12;transform-origin:left center}
  .gtx-home .gtxh.is-pinned .gtxh-text h3{font-size:clamp(30px,3.1vw,56px);line-height:1.08}
  .gtx-home .gtxh.is-pinned .gtxh-text p{font-size:clamp(17px,1.25vw,22px);max-width:520px;margin-bottom:34px}
  .gtx-home .gtxh.is-pinned .gtxh-text a{padding:15px 28px;font-size:16px}
  .gtx-home .gtxh.is-pinned .gtxh-meter{bottom:24px;width:min(760px,62vw)}
}

/* "Software we build and run." - colour that keeps moving */
.gtxh .gtxh-head h2{background:linear-gradient(92deg,#38e1ff 0%,#7c8cff 17%,#c45bff 33%,#ff4d9d 50%,#ffb347 67%,#3ee6a8 83%,#38e1ff 100%);background-size:300% 100%;
  -webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;animation:gtxhFlow 9s linear infinite;padding-bottom:.14em}
@media (prefers-reduced-motion:reduce){.gtxh .gtxh-head h2{animation:none}}
