/* =====================================================================================
   Homepage motion sections (2026-11-20) - css/home-fx.css, played by js/home-fx.js.
   Seven sections from the process timeline down, each built on one motion idea, plus the
   Selected work cards above them, which ride the same spiral as "where to start":
     #work           spiral flux   the five projects ride a turning helix; only the front one plays
     #process        glass exit    pinned deck; the front card glides out through a blue/pink glass edge
     #why-choose-us  reel flux     founder panels on a concave strip that flows on its own and with the scroll
     #expertise      fold          pinned; each card opens like a gatefold to reveal the next
     #technology     axle bloom    pinned; the eight stage cards bloom out from one axle and turn with the scroll
     #faq            rocker        every question toggles a 3D rocker switch with a blue LED
     #book-call      galaxy        canvas particle galaxy in blue and pink behind the booking card
     section.cke     spiral flux   the six "where to start" links ride a slowly turning helix
   Without the script (no html.fx-on) every section shows a plain, readable layout.
   Colour roles: brand blue #2563eb / #1d4ed8, logo pink #f78fc1 only on CTA buttons and
   illustration fills, black text, flat grey canvas. No navy, no black fills.
   ===================================================================================== */
:root {
    --fx-blue: #2563eb; --fx-blue-2: #1d4ed8; --fx-blue-soft: #eef4ff; --fx-blue-line: #cddcfb;
    --fx-pink: #f78fc1; --fx-pink-soft: #fff1f7; --fx-pink-line: #fbd3e6;
    --fx-ink: #111111; --fx-muted: #5b6b8c; --fx-hair: #dfe7f5;
    --fx-ease: cubic-bezier(.22, .8, .2, 1);
    --fx-spring: cubic-bezier(.34, 1.56, .64, 1);
    --fx-head: clamp(64px, 9vh, 92px); /* room for the site header when it slides back in */
    --fx-card-shadow: 0 1px 2px #1111110a, 0 30px 60px -38px #2563eb73;
}

/* ---------- Shared: pinned stage, step index, tags ---------- */
.fx-on .fx-pin { position: relative; }
.fx-on .fx-stage {
    position: sticky; top: 0;
    height: 100vh; height: 100svh;
    display: flex; flex-direction: column;
    padding: var(--fx-head) 0 clamp(14px, 3vh, 30px);
    box-sizing: border-box;
    overflow: clip;
}
/* step dots, the stop list and the pause button only do something while the script runs */
html:not(.fx-on) :is(.fx-index, .fx-ab-route, .fx-rf-pause),
html.fx-calm .fx-rf-pause { display: none !important; }
html.fx-on body:not(#_b) .fx-stage :is(.ckh, .ckw-head) { flex: 0 0 auto; margin-bottom: clamp(10px, 2.2vh, 26px) !important; }
/* Section headlines break into even lines, never one word left alone on the last line */
html body:not(#_b) :is(.ckh-title, .ckw-title) { text-wrap: balance; }
html body:not(#_b) .ckh-lede { text-wrap: pretty; }

html body:not(#_b) .fx-index { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0 16px; }
html body:not(#_b) .fx-index-b {
    appearance: none; display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px 6px 6px; border: 1px solid var(--fx-blue-line); border-radius: 999px;
    background: #fff; color: var(--fx-ink); font: 500 13px/1 'DM Sans', -apple-system, sans-serif;
    cursor: pointer; transition: background .35s ease, color .35s ease, border-color .35s ease, transform .35s var(--fx-ease);
}
html body:not(#_b) .fx-index-b b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--fx-blue-soft); color: var(--fx-blue); font-size: 11px; font-weight: 600; transition: inherit; }
html body:not(#_b) .fx-index-b:hover { border-color: var(--fx-blue); }
html body:not(#_b) .fx-index-b:focus-visible { outline: 2px solid var(--fx-blue); outline-offset: 2px; }
html body:not(#_b) .fx-index-b[aria-current] { background: var(--fx-blue); border-color: var(--fx-blue); color: #fff; }
html body:not(#_b) .fx-index-b[aria-current] b { background: #fff; color: var(--fx-blue); }
html body:not(#_b) .fx-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
html body:not(#_b) .fx-tags li { margin: 0; padding: 5px 11px; border: 1px solid var(--fx-blue-line); border-radius: 999px; background: #fff; color: var(--fx-blue-2); font-size: 12.5px; font-weight: 500; line-height: 1.2; }
@media (max-width: 767px) {
    /* the guide button and the Quote/Call dock float over the bottom ~70px of a phone; keep stage controls above them */
    .fx-on .fx-stage { padding-bottom: 80px; }
    html body:not(#_b) .fx-index { gap: 6px; }
    html body:not(#_b) .fx-index-b { padding: 4px; }
    html body:not(#_b) .fx-index-b b { width: 30px; height: 30px; font-size: 12px; }
    html body:not(#_b) .fx-index-b span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* =====================================================================================
   1. #process - glass exit carousel
   ===================================================================================== */
/* Card width follows the screen height (card height is about 0.45 x width + 200px), so a big
   screen gets a bigger card and a short laptop never has to scale the text down */
#process.fx-gx {
    --gx-w: min(600px, 88vw, max(320px, calc((100vh - 330px) * 1.15)));
    --gx-w: min(600px, 88vw, max(320px, calc((100svh - 330px) * 1.15)));
}
html body:not(#_b) #process .fx-gx-cards { list-style: none; display: grid; gap: 20px; max-width: 560px; margin: 0 auto; padding: 0 16px; }
html body:not(#_b) #process .fx-gx-card {
    position: relative; margin: 0; padding: 8px; box-sizing: border-box;
    border: 1px solid var(--fx-hair); border-radius: 22px; background: #fff; box-shadow: var(--fx-card-shadow);
    /* scene colours read by the q-* illustration rules in css/process-flow.css */
    --a: #2563eb; --a-ink: #2563eb; --a-head: #111111; --a-on: #fff; --a-soft: #eef4ff; --a-line: #cddcfb;
    --b: #f78fc1; --b-ink: #1d4ed8; --b-on: #111111; --b-soft: #fff1f7; --b-line: #fbd3e6;
}
html body:not(#_b) #process .fx-gx-card:nth-child(even) {
    --a: #f78fc1; --a-ink: #1d4ed8; --a-head: #111111; --a-on: #111111; --a-soft: #fff1f7; --a-line: #fbd3e6;
    --b: #2563eb; --b-ink: #2563eb; --b-on: #fff; --b-soft: #eef4ff; --b-line: #cddcfb;
}
html body:not(#_b) #process .fx-gx-card .pz-scene { border-radius: 16px; }
html body:not(#_b) #process .fx-gx-body { padding: 16px 14px 10px; }
html body:not(#_b) #process .fx-gx-meta { display: flex; align-items: center; justify-content: space-between; margin: 0 0 10px; color: #8a97b3; font-size: 12px; letter-spacing: .06em; }
html body:not(#_b) #process .fx-gx-pill { padding: 6px 11px; border-radius: 999px; background: var(--fx-blue-soft); color: var(--fx-blue); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1; }
html body:not(#_b) #process .fx-gx-card h3 { margin: 0 0 6px !important; color: var(--fx-ink) !important; font-size: clamp(21px, 2vw, 26px) !important; font-weight: 500 !important; letter-spacing: -.01em; line-height: 1.15; }
html body:not(#_b) #process .fx-gx-text { margin: 0 0 12px; color: var(--fx-muted); font-size: 15px; line-height: 1.5; }
/* Glass edges: a blue and a pink outline split away from the card as it exits */
html body:not(#_b) #process .fx-gx-card::before,
html body:not(#_b) #process .fx-gx-card::after { content: ""; position: absolute; inset: -1px; border: 2px solid var(--fx-blue); border-radius: inherit; opacity: 0; pointer-events: none; }
html body:not(#_b) #process .fx-gx-card::after { border-color: var(--fx-pink); }

.fx-on #process .fx-gx-pile { position: relative; flex: 1 1 auto; min-height: 0; perspective: 1300px; perspective-origin: 50% 50%; }
html.fx-on body:not(#_b) #process .fx-gx-cards { position: absolute; inset: 0; display: block; max-width: none; padding: 0; }
html.fx-on body:not(#_b) #process .fx-gx-card { position: absolute; left: 50%; top: 50%; width: var(--gx-w); transform-origin: 50% 50%; will-change: transform, opacity; backface-visibility: hidden; }
/* The deck: the cards waiting behind the front one sit straight and centred, each a step
   narrower and higher, so only a clean white top edge shows. Their words stay hidden until
   the card comes forward (--k from the script: 0 at the front, 1 one step back). */
html.fx-on body:not(#_b) #process .fx-gx-card > * { opacity: calc(1 - var(--k, 0)); }
/* Desktop: a landscape card, the step's scene on the left and its words on the right */
@media (min-width: 961px) {
    #process.fx-gx { --gx-w: min(980px, calc(100vw - 96px)); }
    html.fx-on body:not(#_b) #process .fx-gx-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; padding: 10px; border-radius: 26px; }
    html.fx-on body:not(#_b) #process .fx-gx-card .pz-scene { display: grid; place-items: center; aspect-ratio: 16 / 10; padding: 0 5%; border-radius: 18px; }
    html.fx-on body:not(#_b) #process .fx-gx-body { padding: 8px 30px 8px 36px; }
    html.fx-on body:not(#_b) #process .fx-gx-meta { margin-bottom: 18px; }
    html.fx-on body:not(#_b) #process .fx-gx-card h3 { margin-bottom: 10px !important; font-size: clamp(26px, 2.3vw, 32px) !important; }
    html.fx-on body:not(#_b) #process .fx-gx-text { margin-bottom: 20px; font-size: 16.5px; line-height: 1.55; text-wrap: pretty; }
}
html.fx-on body:not(#_b) #process .fx-gx-card::before { opacity: calc(var(--e, 0) * 1); transform: translate(calc(var(--e, 0) * -18px), calc(var(--e, 0) * 5px)); }
html.fx-on body:not(#_b) #process .fx-gx-card::after { opacity: calc(var(--e, 0) * 1); transform: translate(calc(var(--e, 0) * 18px), calc(var(--e, 0) * -5px)); }
html.fx-on body:not(#_b) #process .fx-gx-card.is-glass { background: rgb(255 255 255 / calc(1 - var(--e, 0) * .6)); -webkit-backdrop-filter: blur(12px) saturate(1.4); backdrop-filter: blur(12px) saturate(1.4); }
.fx-on #process .fx-stage { justify-content: center; }

/* =====================================================================================
   2. #why-choose-us - reel flux carousel
   ===================================================================================== */
#why-choose-us .fx-rf { --rf-w: 300px; --rf-h: 380px; position: relative; }
html body:not(#_b) #why-choose-us .fx-rf-track { list-style: none; display: flex; gap: 16px; margin: 0; padding: 4px 24px 20px; overflow-x: auto; scroll-snap-type: x mandatory; }
html body:not(#_b) #why-choose-us .fx-rf-panel {
    position: relative; flex: 0 0 auto; width: var(--rf-w); height: var(--rf-h); margin: 0; padding: 26px;
    box-sizing: border-box; overflow: hidden; scroll-snap-align: center;
    display: flex; flex-direction: column; justify-content: space-between;
    border: 1px solid var(--fx-hair); border-radius: 24px; background: #fff; box-shadow: var(--fx-card-shadow);
    color: var(--fx-ink); user-select: none; -webkit-user-select: none;
}
html body:not(#_b) #why-choose-us .fx-rf-panel.is-blue { background: var(--fx-blue); border-color: var(--fx-blue); color: #fff; }
html body:not(#_b) #why-choose-us .fx-rf-panel.is-blue-2 { background: var(--fx-blue-2); border-color: var(--fx-blue-2); color: #fff; }
/* photo panel */
html body:not(#_b) #why-choose-us .fx-rf-photo { padding: 0; border: 0; background: #1a0606; }
html body:not(#_b) #why-choose-us .fx-rf-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; pointer-events: none; }
html body:not(#_b) #why-choose-us .fx-rf-sticker { position: absolute; top: 16px; left: 16px; padding: 7px 12px; border-radius: 999px; background: #fff; color: var(--fx-blue); font-size: 12px; font-weight: 600; }
html body:not(#_b) #why-choose-us .fx-rf-tag { position: absolute; left: 14px; right: 14px; bottom: 14px; margin: 0; padding: 12px 14px; border-radius: 16px; background: rgb(255 255 255 / .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
html body:not(#_b) #why-choose-us .fx-rf-tag b { display: block; color: var(--fx-ink); font-size: 16px; font-weight: 600; }
html body:not(#_b) #why-choose-us .fx-rf-tag span { display: block; margin-top: 2px; color: var(--fx-muted); font-size: 12.5px; }
/* quote panel */
html body:not(#_b) #why-choose-us .fx-rf-mark { font-size: 64px; line-height: .8; font-weight: 600; color: #ffffff59; }
html body:not(#_b) #why-choose-us .fx-rf-quote p { margin: 0; color: #fff; font-size: 19px; line-height: 1.4; font-weight: 400; }
html body:not(#_b) #why-choose-us .fx-rf-quote p b { display: block; margin-top: 12px; color: #fff; font-weight: 600; }
/* stat panels */
html body:not(#_b) #why-choose-us .fx-rf-k { margin: 0; color: var(--fx-blue); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
/* sized from the panel width, so "2024" and "₹40,000" both sit inside the panel padding at any size */
html body:not(#_b) #why-choose-us .fx-rf-big { display: block; color: var(--fx-blue); font-size: calc(var(--rf-w) * .23); font-weight: 500; letter-spacing: -.04em; line-height: .95; white-space: nowrap; }
html body:not(#_b) #why-choose-us .fx-rf-big.is-wide { font-size: calc(var(--rf-w) * .185); }
html body:not(#_b) #why-choose-us .fx-rf-label { display: block; margin-top: 10px; color: var(--fx-ink); font-size: 17px; font-weight: 500; }
html body:not(#_b) #why-choose-us .fx-rf-note { display: block; margin-top: 6px; color: var(--fx-muted); font-size: 13.5px; line-height: 1.45; }
html body:not(#_b) #why-choose-us .fx-rf-bar { display: block; height: 4px; width: 46px; border-radius: 4px; background: var(--fx-blue); }
html body:not(#_b) #why-choose-us .fx-rf-stat.is-pink .fx-rf-bar { background: var(--fx-pink); }
/* call panel */
html body:not(#_b) #why-choose-us .fx-rf-cta p { margin: 0; color: #fff; font-size: 22px; font-weight: 500; line-height: 1.25; }
html body:not(#_b) #why-choose-us .fx-rf-cta small { display: block; margin-top: 10px; color: #dbe7ff; font-size: 14px; line-height: 1.45; }
html body:not(#_b) #why-choose-us .fx-rf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 18px; border-radius: 999px; background: var(--fx-pink); color: var(--fx-ink); font-size: 15px; font-weight: 600; text-decoration: none; transition: background .3s ease, color .3s ease; }
html body:not(#_b) #why-choose-us .fx-rf-btn:hover { background: #fff; color: var(--fx-blue); }
html body:not(#_b) #why-choose-us .fx-rf-links { display: flex; gap: 8px; margin-top: 12px; }
html body:not(#_b) #why-choose-us .fx-rf-links a { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; box-sizing: border-box; border: 1px solid #ffffff73; border-radius: 999px; color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; }
html body:not(#_b) #why-choose-us .fx-rf-links a:hover { background: #fff; color: var(--fx-blue); }
html body:not(#_b) #why-choose-us .fx-rf-pause { position: absolute; right: max(16px, calc((100% - 1200px) / 2)); bottom: 0; z-index: 3; display: none; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--fx-hair); border-radius: 50%; background: #fff; color: var(--fx-blue); cursor: pointer; box-shadow: 0 6px 16px -10px #2563eb99; }
html body:not(#_b) #why-choose-us .fx-rf-pause svg { width: 14px; height: 14px; fill: currentColor; }
html body:not(#_b) #why-choose-us .fx-rf-pause .is-play, html body:not(#_b) #why-choose-us .fx-rf-pause.is-held .is-pause { display: none; }
html body:not(#_b) #why-choose-us .fx-rf-pause.is-held .is-play { display: block; }
html body:not(#_b) #why-choose-us .fx-rf-pause:focus-visible { outline: 2px solid var(--fx-blue); outline-offset: 2px; }

.fx-on #why-choose-us .fx-rf-view {
    position: relative; height: calc(var(--rf-h) + 90px); perspective: 1000px; perspective-origin: 50% 50%;
    overflow: clip; cursor: grab; touch-action: pan-y;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.fx-on #why-choose-us .fx-rf-view.is-drag { cursor: grabbing; }
html.fx-on body:not(#_b) #why-choose-us .fx-rf-track { position: absolute; inset: 0; display: block; padding: 0; overflow: visible; perspective: 1000px; }
html.fx-on body:not(#_b) #why-choose-us .fx-rf-panel { position: absolute; left: 0; top: 45px; will-change: transform; backface-visibility: hidden; }
html.fx-on body:not(#_b) #why-choose-us .fx-rf-pause { display: grid; }
@media (max-width: 767px) {
    #why-choose-us .fx-rf { --rf-w: 236px; --rf-h: 320px; }
    html body:not(#_b) #why-choose-us .fx-rf-panel { padding: 20px; border-radius: 20px; }
    html body:not(#_b) #why-choose-us .fx-rf-quote p { font-size: 16.5px; }
    html body:not(#_b) #why-choose-us .fx-rf-cta p { font-size: 19px; }
}

/* =====================================================================================
   3. #expertise - fold carousel
   ===================================================================================== */
html body:not(#_b) #expertise .fx-fd-book { position: relative; display: grid; gap: 20px; width: min(1080px, calc(100% - 32px)); margin: 0 auto; }
html body:not(#_b) #expertise .fx-fd-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); margin: 0; border-radius: 26px; box-shadow: var(--fx-card-shadow); }
html body:not(#_b) #expertise .fx-fd-leaf { position: relative; min-width: 0; box-sizing: border-box; backface-visibility: hidden; }
html body:not(#_b) #expertise .fx-fd-text { display: flex; flex-direction: column; padding: clamp(22px, 3vw, 40px); border: 1px solid var(--fx-hair); border-right: 0; border-radius: 26px 0 0 26px; background: #fff; }
html body:not(#_b) #expertise .fx-fd-art { display: flex; align-items: center; justify-content: center; padding: 14px; border-radius: 0 26px 26px 0; background: var(--fx-blue); overflow: hidden; }
html body:not(#_b) #expertise .fx-fd-card.is-blue-2 .fx-fd-art { background: var(--fx-blue-2); }
html body:not(#_b) #expertise .fx-fd-art .xp-scene { width: 100%; margin: 0; border-radius: 14px; overflow: hidden; }
html body:not(#_b) #expertise .fx-fd-art .xp-scene svg { display: block; width: 100%; height: auto; }
html body:not(#_b) #expertise .fx-fd-leaf::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--fx-blue-2); opacity: calc(var(--f, 0) * .45); pointer-events: none; }
html body:not(#_b) #expertise .fx-fd-num { margin: 0 0 14px; color: #8a97b3; font-size: 13px; font-weight: 500; letter-spacing: .08em; }
html body:not(#_b) #expertise .fx-fd-num b { color: var(--fx-blue); font-weight: 600; }
html body:not(#_b) #expertise .fx-fd-card h3 { margin: 0 0 12px !important; color: var(--fx-ink) !important; font-size: clamp(26px, 2.6vw, 34px) !important; font-weight: 500 !important; letter-spacing: -.02em; line-height: 1.1; }
html body:not(#_b) #expertise .fx-fd-line { margin: 0 0 18px; color: var(--fx-muted); font-size: 16px; line-height: 1.55; }
html body:not(#_b) #expertise .fx-fd-foot { display: flex; flex-direction: column; gap: 12px; margin-top: auto; padding-top: 20px; border-top: 1px solid #edf1f7; }
html body:not(#_b) #expertise .fx-fd-price { color: var(--fx-ink); font-size: 14px; line-height: 1.45; }
html body:not(#_b) #expertise .fx-fd-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; color: var(--fx-blue); font-size: 15px; font-weight: 600; text-decoration: none; }
html body:not(#_b) #expertise .fx-fd-link:hover { text-decoration: underline; text-underline-offset: 4px; }
html body:not(#_b) #expertise .fx-fd-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; margin-top: 26px; }
html body:not(#_b) #expertise .fx-fd-bar .ckw-cta { margin: 0 !important; }

.fx-on #expertise .fx-fd-stage-body { position: relative; flex: 1 1 auto; min-height: 0; }
html.fx-on body:not(#_b) #expertise .fx-fd-book { position: absolute; inset: 0; display: block; width: auto; }
html.fx-on body:not(#_b) #expertise .fx-fd-card { position: absolute; left: 50%; top: 50%; width: min(1080px, calc(100vw - 48px)); perspective: 1800px; box-shadow: none; will-change: transform; }
html.fx-on body:not(#_b) #expertise .fx-fd-leaf { will-change: transform; }
html.fx-on body:not(#_b) #expertise .fx-fd-text { transform-origin: 0% 50%; transform: rotateY(calc(var(--f, 0) * 100deg)); box-shadow: -20px 30px 60px -44px #2563eb80; }
html.fx-on body:not(#_b) #expertise .fx-fd-art { transform-origin: 100% 50%; transform: rotateY(calc(var(--f, 0) * -100deg)); box-shadow: 20px 30px 60px -44px #2563eb80; }
.fx-on #expertise .fx-fd-bar { flex: 0 0 auto; margin-top: clamp(10px, 2vh, 22px); }
@media (max-width: 860px) {
    html body:not(#_b) #expertise .fx-fd-card { grid-template-columns: minmax(0, 1fr); }
    html body:not(#_b) #expertise .fx-fd-art { order: -1; padding: 8px; border-radius: 22px 22px 0 0; }
    html body:not(#_b) #expertise .fx-fd-text { padding: 20px 20px 18px; border-right: 1px solid var(--fx-hair); border-top: 0; border-radius: 0 0 22px 22px; }
    html body:not(#_b) #expertise .fx-fd-art .xp-scene svg { height: clamp(150px, 26vh, 230px); }
    html body:not(#_b) #expertise .fx-fd-card h3 { font-size: 23px !important; margin-bottom: 8px !important; }
    html body:not(#_b) #expertise .fx-fd-line { font-size: 15px; margin-bottom: 12px; }
    html body:not(#_b) #expertise .fx-fd-foot { padding-top: 14px; gap: 8px; }
    html body:not(#_b) #expertise .fx-fd-price { font-size: 13px; }
    html.fx-on body:not(#_b) #expertise .fx-fd-card { width: calc(100vw - 32px); max-width: 520px; }
    html.fx-on body:not(#_b) #expertise .fx-fd-art { transform-origin: 50% 0%; transform: rotateX(calc(var(--f, 0) * -100deg)); }
    html.fx-on body:not(#_b) #expertise .fx-fd-text { transform-origin: 50% 100%; transform: rotateX(calc(var(--f, 0) * 100deg)); }
}
/* =====================================================================================
   4. #technology - axle bloom carousel
   ===================================================================================== */
/* sticky needs every ancestor free of overflow: hidden; clip still trims the marquee edges */
html.fx-on body:not(#_b) section#technology.tech-stack-section { overflow: clip !important; }
#technology .fx-ab { --ab-w: 360px; margin-top: 48px; }
html body:not(#_b) #technology .fx-ab-grid { display: grid; gap: 18px; width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
html body:not(#_b) #technology .fx-ab-route { position: relative; z-index: 2; padding: 28px; border-radius: 24px; background: var(--fx-blue); color: #fff; box-shadow: 0 30px 60px -40px #2563ebb3; }
html body:not(#_b) #technology .fx-ab-route-k { margin: 0; color: #dbe7ff; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
html body:not(#_b) #technology .fx-ab-route-t { margin: 8px 0 18px; color: #fff; font-size: 22px; font-weight: 500; line-height: 1.25; }
html body:not(#_b) #technology .fx-ab-stops { list-style: none; display: grid; gap: 4px; margin: 0; padding: 0; }
html body:not(#_b) #technology .fx-ab-stop { appearance: none; display: flex; align-items: center; gap: 12px; width: 100%; padding: 7px 10px; border: 0; border-radius: 12px; background: transparent; color: #e6eeff; font: 500 15px/1.2 'DM Sans', -apple-system, sans-serif; text-align: left; cursor: pointer; transition: background .35s ease, color .35s ease; }
html body:not(#_b) #technology .fx-ab-stop b { display: grid; place-items: center; flex: 0 0 26px; height: 26px; border: 1px solid #ffffff66; border-radius: 50%; font-size: 11px; font-weight: 600; transition: inherit; }
html body:not(#_b) #technology .fx-ab-stop:hover { background: #ffffff1f; }
html body:not(#_b) #technology .fx-ab-stop:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
html body:not(#_b) #technology .fx-ab-stop[aria-current] { background: #fff; color: var(--fx-blue); }
html body:not(#_b) #technology .fx-ab-stop[aria-current] b { border-color: var(--fx-blue); background: var(--fx-blue); color: #fff; }
html body:not(#_b) #technology .fx-ab-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
html body:not(#_b) #technology .fx-ab-card { position: relative; box-sizing: border-box; padding: 24px; overflow: hidden; border: 1px solid var(--fx-hair); border-radius: 22px; background: #fff; box-shadow: var(--fx-card-shadow); }
html body:not(#_b) #technology .fx-ab-card.is-pink { border-color: var(--fx-pink); background: var(--fx-pink); }
html body:not(#_b) #technology .fx-ab-ghost { position: absolute; top: 8px; right: 16px; color: var(--fx-blue-soft); font-size: 92px; font-weight: 600; letter-spacing: -.04em; line-height: 1; pointer-events: none; }
html body:not(#_b) #technology .fx-ab-card.is-pink .fx-ab-ghost { color: #ffffff59; }
html body:not(#_b) #technology .fx-ab-head { position: relative; margin-bottom: 18px; }
html body:not(#_b) #technology .fx-ab-n { color: var(--fx-blue); font-size: 12px; font-weight: 600; letter-spacing: .08em; }
html body:not(#_b) #technology .fx-ab-n i { color: #8a97b3; font-style: normal; }
html body:not(#_b) #technology .fx-ab-card.is-pink :is(.fx-ab-n, .fx-ab-n i) { color: var(--fx-ink); }
html body:not(#_b) #technology .fx-ab-card h4 { margin: 8px 0 2px !important; color: var(--fx-ink) !important; font-size: 25px !important; font-weight: 500 !important; letter-spacing: -.01em; }
html body:not(#_b) #technology .fx-ab-covers { margin: 0; color: var(--fx-muted); font-size: 14px; }
html body:not(#_b) #technology .fx-ab-card.is-pink .fx-ab-covers { color: #3b2230; }
html body:not(#_b) #technology .fx-ab-card .cks-items { list-style: none; display: grid; gap: 12px; margin: 0; padding: 0; position: relative; }
html body:not(#_b) #technology .fx-ab-card .cks-items li { display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 0; border: 0; background: none; }
html body:not(#_b) #technology .fx-ab-card .cks-logo { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 11px; background: #f3f6fb; }
html body:not(#_b) #technology .fx-ab-card.is-pink .cks-logo { background: #ffffffa6; }
html body:not(#_b) #technology .fx-ab-card .cks-logo :is(img, svg) { width: 18px; height: 18px; object-fit: contain; }
html body:not(#_b) #technology .fx-ab-card .cks-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html body:not(#_b) #technology .fx-ab-card .cks-name { color: var(--fx-ink); font-size: 15px; font-weight: 600; }
html body:not(#_b) #technology .fx-ab-card .cks-use { color: var(--fx-muted); font-size: 13.5px; line-height: 1.4; }
html body:not(#_b) #technology .fx-ab-card.is-pink .cks-use { color: #3b2230; }
html body:not(#_b) #technology .fx-ab-card .cks-use a { color: var(--fx-blue); text-decoration: underline; text-underline-offset: 3px; }
html body:not(#_b) #technology .fx-ab-card.is-pink .cks-use a { color: var(--fx-ink); }
html body:not(#_b) #technology .fx-ab-note { width: min(1200px, calc(100% - 32px)); margin: 16px auto 0; color: #8a97b3; font-size: 12px; text-align: center; }

html.fx-on body:not(#_b) #technology .fx-ab-grid { flex: 1 1 auto; min-height: 0; grid-template-columns: minmax(260px, 330px) minmax(0, 1fr); align-items: center; gap: 24px; width: min(1240px, calc(100% - 48px)); }
.fx-on #technology .fx-ab-ring-wrap { position: relative; height: 100%; min-height: 0; perspective: 1700px; perspective-origin: 50% 42%; }
html.fx-on body:not(#_b) #technology .fx-ab-cards { position: absolute; left: 50%; top: 50%; display: block; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
html.fx-on body:not(#_b) #technology .fx-ab-card { position: absolute; left: calc(var(--ab-w) / -2); top: calc(var(--ab-h, 420px) / -2); width: var(--ab-w); height: var(--ab-h, auto); backface-visibility: hidden; will-change: transform, opacity; }
.fx-on #technology .fx-ab-note { flex: 0 0 auto; margin-top: 8px; }
/* The script tucks the stage up under the logo strip (fixed gap at any screen height), so its empty
   top overlaps the strip: only the route card and the stage cards take the pointer */
.fx-on #technology .fx-stage { pointer-events: none; }
.fx-on #technology :is(.fx-ab-route, .fx-ab-card) { pointer-events: auto; }
/* the logo strip fades out over a full tile width instead of cutting tiles at the edge */
html body:not(#_b) #technology .tech-matrix-marquee-container {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
@media (min-width: 961px) {
    /* route card exactly as tall as the front stage card, top and bottom edges level; the stop list sits on the bottom edge */
    html.fx-on body:not(#_b) #technology .fx-ab-route { display: flex; flex-direction: column; box-sizing: border-box; height: calc(var(--ab-h, 470px) * var(--ab-fit, 1)); padding: 24px; }
    html.fx-on body:not(#_b) #technology .fx-ab-route-t { margin-bottom: 16px; }
    html.fx-on body:not(#_b) #technology .fx-ab-stops { gap: 2px; margin-top: auto; }
    html.fx-on body:not(#_b) #technology .fx-ab-stop { padding: 5px 10px; }
}
@media (max-width: 960px) {
    #technology .fx-ab { --ab-w: min(300px, calc(100vw - 72px)); }
    html.fx-on body:not(#_b) #technology .fx-ab-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); align-items: stretch; gap: 10px; width: calc(100% - 32px); }
    html body:not(#_b) #technology .fx-ab-route { padding: 14px; border-radius: 18px; }
    html body:not(#_b) #technology .fx-ab-route-k { font-size: 11px; }
    html body:not(#_b) #technology .fx-ab-route-t { display: none; }
    html body:not(#_b) #technology .fx-ab-stops { display: flex; gap: 6px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
    html body:not(#_b) #technology .fx-ab-stops::-webkit-scrollbar { display: none; }
    html body:not(#_b) #technology .fx-ab-stops li { flex: 0 0 auto; }
    html body:not(#_b) #technology .fx-ab-stop { width: auto; padding: 5px 10px 5px 5px; gap: 6px; font-size: 13px; background: #ffffff1a; }
    html body:not(#_b) #technology .fx-ab-stop b { flex-basis: 22px; height: 22px; font-size: 10px; }
    html body:not(#_b) #technology .fx-ab-card { padding: 18px; }
    html body:not(#_b) #technology .fx-ab-card h4 { font-size: 21px !important; }
    html body:not(#_b) #technology .fx-ab-ghost { font-size: 70px; }
}

/* =====================================================================================
   5. #faq - rocker switches
   ===================================================================================== */
html body:not(#_b) section#faq.ckq .fx-rk {
    position: relative; flex: 0 0 auto; display: inline-block; width: 58px; height: 32px; padding: 3px; margin-left: 4px; box-sizing: border-box;
    border-radius: 999px; background: #e6ebf2; box-shadow: inset 0 1px 3px #0f172a2e, inset 0 -1px 0 #ffffff, 0 1px 0 #ffffff;
    perspective: 140px; transition: background .4s ease, box-shadow .5s ease;
}
html body:not(#_b) section#faq.ckq .fx-rk-key {
    position: relative; display: block; width: 100%; height: 100%; border-radius: 999px;
    background: linear-gradient(90deg, #e3e8f0 0%, #f7f9fc 30%, #ffffff 50%, #ffffff 100%);
    box-shadow: 0 2px 5px #0f172a33, inset 0 1px 0 #ffffff, inset 0 -1px 1px #0f172a14;
    transform: rotateY(-22deg); transform-origin: 50% 50%;
    transition: transform .55s var(--fx-spring), background .4s ease;
}
html body:not(#_b) section#faq.ckq .fx-rk-key::before { content: ""; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 1px; background: #d3dbe7; }
html body:not(#_b) section#faq.ckq .fx-rk-o { position: absolute; left: 8px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; box-sizing: border-box; border: 1.5px solid #b6c2d3; border-radius: 50%; }
html body:not(#_b) section#faq.ckq .fx-rk-led { position: absolute; right: 8px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #c3ccda; transition: background .3s ease, box-shadow .4s ease; }
html body:not(#_b) section#faq.ckq .ckq-q:hover .fx-rk-key { transform: rotateY(-14deg); }
html body:not(#_b) section#faq.ckq .ckq-item[open] .fx-rk { background: #d9e6ff; box-shadow: inset 0 1px 3px #1d4ed84d, 0 0 0 4px #eef4ff, 0 8px 22px -8px #2563eb99; }
html body:not(#_b) section#faq.ckq .ckq-item[open] .fx-rk-key { transform: rotateY(22deg); background: linear-gradient(90deg, #ffffff 0%, #ffffff 50%, #f7f9fc 70%, #e3e8f0 100%); }
html body:not(#_b) section#faq.ckq .ckq-item[open] .ckq-q:hover .fx-rk-key { transform: rotateY(14deg); }
html body:not(#_b) section#faq.ckq .ckq-item[open] .fx-rk-led { background: var(--fx-blue); box-shadow: 0 0 0 3px #2563eb2e, 0 0 10px 2px #2563ebb3; }
html body:not(#_b) section#faq.ckq .ckq-item.is-flick .fx-rk::after { content: ""; position: absolute; inset: -3px; border-radius: inherit; border: 2px solid var(--fx-blue); opacity: 0; animation: fxRkRing .7s ease-out; pointer-events: none; }
@keyframes fxRkRing { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }

/* =====================================================================================
   6. #book-call - particle galaxy
   ===================================================================================== */
html body:not(#_b) section#book-call { position: relative; isolation: isolate; }
html body:not(#_b) section#book-call .fx-gal { position: absolute; left: 50%; top: -40px; z-index: -1; display: block; width: 100vw; height: min(760px, calc(100% + 40px)); transform: translateX(-50%); pointer-events: none; }

/* =====================================================================================
   7. section.cke - spiral flux carousel
   ===================================================================================== */
section.cke .fx-sp { --sp-w: 350px; --sp-h: 196px; }
html body:not(#_b) section.cke .fx-sp-helix { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 0; padding: 0; }
html body:not(#_b) section.cke .fx-sp-card { margin: 0; }
html body:not(#_b) section.cke .fx-sp-card a {
    position: relative; display: flex; flex-direction: column; height: 100%; min-height: var(--sp-h); box-sizing: border-box; padding: 20px 22px;
    border: 1px solid var(--fx-hair); border-radius: 22px; background: #fff; box-shadow: var(--fx-card-shadow);
    color: var(--fx-ink); text-decoration: none; transition: border-color .3s ease, box-shadow .3s ease;
}
html body:not(#_b) section.cke .fx-sp-card.is-blue a { border-color: var(--fx-blue); background: var(--fx-blue); color: #fff; }
html body:not(#_b) section.cke .fx-sp-num { color: var(--fx-blue); font-size: 12px; font-weight: 600; letter-spacing: .1em; }
html body:not(#_b) section.cke .fx-sp-name { margin-top: 8px; font-size: 21px; font-weight: 500; letter-spacing: -.01em; }
html body:not(#_b) section.cke .fx-sp-desc { margin-top: 4px; padding-right: 36px; color: var(--fx-muted); font-size: 14px; line-height: 1.45; }
html body:not(#_b) section.cke .fx-sp-card.is-blue :is(.fx-sp-num, .fx-sp-desc) { color: #dbe7ff; }
html body:not(#_b) section.cke .fx-sp-go { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--fx-blue-soft); color: var(--fx-blue); transition: background .3s ease, color .3s ease, transform .4s var(--fx-ease); }
html body:not(#_b) section.cke .fx-sp-card.is-blue .fx-sp-go { background: #fff; }
html body:not(#_b) section.cke .fx-sp-go svg { width: 15px; height: 15px; }
html body:not(#_b) section.cke .fx-sp-card a:hover { border-color: var(--fx-blue); box-shadow: 0 30px 60px -34px #2563ebb3; }
html body:not(#_b) section.cke .fx-sp-card a:hover .fx-sp-go { background: var(--fx-blue); color: #fff; transform: translateX(3px); }
html body:not(#_b) section.cke .fx-sp-card.is-blue a:hover .fx-sp-go { background: var(--fx-pink); color: var(--fx-ink); }
html body:not(#_b) section.cke .fx-sp-card a:focus-visible { outline: 3px solid var(--fx-blue); outline-offset: 3px; }

/* The script sets the stage height from the card size; the min-height only holds the space until it runs */
.fx-on :is(section.cke, #work) .fx-sp { position: relative; min-height: 240px; overflow: clip; touch-action: pan-y; cursor: grab; }
.fx-on :is(section.cke, #work) .fx-sp.is-drag { cursor: grabbing; }
/* the helix is flat with its own perspective: each card is projected on its own and painted front over back */
html.fx-on body:not(#_b) section.cke .fx-sp-helix { position: absolute; left: 50%; top: 50%; display: block; width: 0; height: 0; perspective: 1600px; perspective-origin: 0 0; }
html.fx-on body:not(#_b) section.cke .fx-sp-card { position: absolute; left: calc(var(--sp-w) / -2); top: calc(var(--sp-h) / -2); width: var(--sp-w); height: var(--sp-h); backface-visibility: hidden; will-change: transform, opacity; }
/* Cards round the side fade into the grey canvas (--veil from the script) instead of showing through each other */
html.fx-on body:not(#_b) :is(section.cke, #work) .fx-sp-card::after {
    content: ""; position: absolute; inset: 0; z-index: 6; border-radius: 22px;
    background: #f0f0f0; opacity: var(--veil, 0); pointer-events: none;
}
html.fx-on body:not(#_b) section.cke .fx-sp-card:not(.is-front) a { box-shadow: 0 1px 2px #1111110a, 0 18px 36px -30px #2563eb59; }
@media (max-width: 767px) {
    section.cke .fx-sp { --sp-w: min(280px, calc(100vw - 96px)); --sp-h: 184px; }
    html body:not(#_b) section.cke .fx-sp-name { font-size: 19px; }
}

/* =====================================================================================
   8. #work - spiral flux: the five Selected work projects ride the same helix
   ===================================================================================== */
#work .fx-sp { --sp-w: clamp(300px, 44vw, 420px); }
/* the helix runs the full width of the screen, so cards round the side fade out at its edges, never at the column's */
html.fx-on body:not(#_b) section#work { overflow-x: clip; }
.fx-on #work .fx-sp { width: 100vw; margin: 4px 0 0 calc(50% - 50vw); }
html.fx-on body:not(#_b) section#work .fx-sp-helix {
    position: absolute; left: 50%; top: 50%; display: block; width: 0; height: 0; margin: 0; padding: 0; gap: 0;
    overflow: visible; perspective: 1700px; perspective-origin: 0 0;
}
html.fx-on body:not(#_b) section#work .fx-sp-card {
    position: absolute; left: calc(var(--sp-w) / -2); top: 0; width: var(--sp-w); margin: 0; flex: none; translate: 0 -50%;
    border-radius: 22px; backface-visibility: hidden; will-change: transform, opacity;
    box-shadow: 0 1px 2px #1111110a, 0 18px 36px -30px #2563eb59;
    transition: box-shadow .5s ease;   /* the script moves the cards, so no reveal or hover transition on transform */
}
html.fx-on body:not(#_b) section#work .fx-sp-card.is-front { box-shadow: 0 1px 2px #1111110a, 0 44px 80px -44px color-mix(in srgb, var(--p2) 85%, #2563eb); }
/* Every project gets the same card: its colours, the recording rising out of the panel, two chips, then the text */
html.fx-on body:not(#_b) section#work .fx-sp .ckp-media { flex: none; display: block; aspect-ratio: 16 / 10; min-height: 0; padding: 22px 26px 0; }
html.fx-on body:not(#_b) section#work .fx-sp .ckp-hero .ckp-media::after { display: none; }
html.fx-on body:not(#_b) section#work .fx-sp .ckp-hero .ckp-chips { inset: 0; translate: none; aspect-ratio: auto; }
html.fx-on body:not(#_b) section#work .fx-sp .ckp-hero .ckp-shot { width: 100%; border-radius: 12px 12px 0 0; transform: translateY(10px); box-shadow: 0 0 0 1px #ffffff2e, 0 30px 60px -18px #0000008c; }
html.fx-on body:not(#_b) section#work .fx-sp .ckp-hero .ckp-c1 { left: 14px; top: auto; bottom: 16px; }
html.fx-on body:not(#_b) section#work .fx-sp .ckp-hero .ckp-c2 { right: 14px; bottom: auto; top: 14px; }
html.fx-on body:not(#_b) section#work .fx-sp .ckp-body { padding: 16px 22px 20px; }
html.fx-on body:not(#_b) section#work .fx-sp .ckp-meta { margin-bottom: 10px; }
html.fx-on body:not(#_b) section#work .fx-sp .ckp-card h3 { margin-bottom: 4px; font-size: 21px; }
html.fx-on body:not(#_b) section#work .fx-sp .ckp-card .ckp-body p {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
    margin-bottom: 12px; font-size: 14.5px; line-height: 1.5;
}
/* The grid's own button sat in the bento; under the spiral the full-width one takes over, centred */
html.fx-on body:not(#_b) section#work .ckp-cta-grid { display: none; }
html.fx-on body:not(#_b) section#work .ckp-cta-phone { display: flex; width: fit-content; min-width: 300px; margin: 6px auto 0; }
@media (max-width: 767px) {
    #work .fx-sp { --sp-w: min(300px, calc(100vw - 84px)); }
    html.fx-on body:not(#_b) section#work .fx-sp .ckp-media { padding: 18px 18px 0; }
    html.fx-on body:not(#_b) section#work .fx-sp .ckp-chip { font-size: 12px; padding: 8px 10px; }
    html.fx-on body:not(#_b) section#work .fx-sp .ckp-body { padding: 14px 18px 16px; }
    html.fx-on body:not(#_b) section#work .fx-sp .ckp-card h3 { font-size: 19px; }
    html.fx-on body:not(#_b) section#work .ckp-cta-phone { min-width: 0; width: calc(100% - 32px); }
}

/* =====================================================================================
   9. #process scenes (2026-11-21): no dotted grid. Each step's scene is a flat soft tint in the
   step's lead colour (blue on odd steps, pink on even) with two large quiet circles, and the
   diagram is drawn as white widget cards with a soft shadow (#q-lift, defined once beside the
   deck). The scene SVGs are 480 x 300, the same 16:10 as the panel, so they fill it edge to edge.
   ===================================================================================== */
html body:not(#_b) #process .pz-scene {
    padding: 0 !important; overflow: hidden;
    background: var(--a-soft) !important; background-image: none !important; animation: none !important;
    box-shadow: inset 0 0 0 1px var(--a-line) !important;
}
html body:not(#_b) #process .pz-scene svg { width: 100%; height: auto; overflow: hidden; }
#process .q-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
#process .q-orb { fill: var(--a); opacity: .09; }
#process .q-orb.q-orb-b { fill: var(--b); opacity: .1; }
#process .q-card { fill: #fff; stroke: none; filter: url(#q-lift); }
#process .q-lift { filter: url(#q-lift); }
#process .q-row { fill: #fff; stroke: var(--a-line); }
#process .q-chip-b { fill: #fff; stroke: var(--b); stroke-width: 1.2; filter: url(#q-lift); }
#process .q-label { font-size: 10px; letter-spacing: 1.3px; }
#process .q-t { font-size: 12.5px; }
#process .q-t2 { font-size: 12.5px; fill: #111111; }
#process .q-s { font-size: 11px; }
#process .q-t-on { font-size: 12.5px; }
#process .q-s-on { font-size: 11px; }
#process .q-big { font-size: 30px; }
#process .q-aa { font-size: 17px; }
#process .q-tag-t { font-size: 11px; }
#process .q-pill { filter: url(#q-lift); }
#process .q-pill-t { font-size: 12px; }
#process .q-code { font-size: 11px; }
#process .q-code.q-code-s { font-size: 10px; fill: #5b6b8c; }
#process .q-btn-t, #process .q-btn-hover-t { font-size: 12.5px; }
#process .q-live { filter: url(#q-lift); }
#process .q-live-t { font-size: 12.5px; }
#process .q-live-s { font-size: 11px; }
