/* =========================================================
   3KITS — Services: UI/UX Design hero
   The stage sticks for one screen per principle. Scrolling turns
   through the five: the colour, copy, focus chips and 3D object
   (three.js, js/services.js) change together. Loads after style3.css.
   ========================================================= */

/* Instrument Serif italic (OFL), self-hosted — the CSP only allows fonts from this site */
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/instrument-serif-italic-latin.woff2') format('woff2'); }

/* one screen tall; slides change on a timer or a click (js/svc-hero.js), not with the scroll */
.dbs { position: relative; background: var(--bg); }
.dbs__mark { display: none; }

/* page H1, kept for search engines and screen readers */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Stage + the five logo colours ---------- */
.dbs__stage {
  --i-bg: #2f80ed; --i-deep: #1a4fb0; --i-ink: #fff; --i-soft: rgba(255, 255, 255, .86); --i-line: rgba(255, 255, 255, .4);
  position: relative; height: 100vh; height: 100svh; overflow: hidden; color: var(--i-ink);
  background-color: var(--i-bg);
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, .12), transparent 30%, transparent 70%, rgba(4, 4, 10, .18)),
    radial-gradient(55% 60% at 50% 55%, rgba(255, 255, 255, .22), transparent 70%),
    radial-gradient(80% 90% at 100% 100%, var(--i-deep), transparent 70%);
  transition: background-color .9s var(--ease), color .6s;
}
.dbs__stage[data-step="1"] { --i-bg: #f2751a; --i-deep: #c4500a; --i-ink: #0b0a12; --i-soft: rgba(11, 10, 18, .8); --i-line: rgba(11, 10, 18, .3); }
.dbs__stage[data-step="2"] { --i-bg: #8a8f9c; --i-deep: #5f6471; --i-ink: #0b0a12; --i-soft: rgba(11, 10, 18, .82); --i-line: rgba(11, 10, 18, .3); }
.dbs__stage[data-step="3"] { --i-bg: #df1e5a; --i-deep: #a30e3e; --i-ink: #fff; --i-soft: rgba(255, 255, 255, .88); --i-line: rgba(255, 255, 255, .4); }
.dbs__stage[data-step="4"] { --i-bg: #7cc242; --i-deep: #4f8f1f; --i-ink: #0b0a12; --i-soft: rgba(11, 10, 18, .8); --i-line: rgba(11, 10, 18, .3); }

.dbs__grid { position: relative; height: 100%; display: grid; grid-template-columns: 1.15fr minmax(300px, 1fr) .8fr; align-items: center; column-gap: clamp(28px, 4vw, 72px); padding-block: 128px 132px; }

/* stacked panels: all share one cell, the active one shows */
.dbs__left, .dbs__opts { display: grid; }
.dbs__left > *, .dbs__opts > * { grid-area: 1 / 1; }
.dbs-copy, .dbs-opts { opacity: 0; visibility: hidden; transform: translateY(22px); transition: opacity .45s var(--ease), transform .7s var(--ease), visibility 0s .45s; }
.dbs-copy.is-on, .dbs-opts.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .6s var(--ease) .1s, transform .8s var(--ease) .1s, visibility 0s; }

/* ---------- Left: copy ---------- */
.dbs__left { max-width: 500px; align-content: center; }
.dbs-copy { display: flex; flex-direction: column; }
.dbs-copy__kicker { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; opacity: .85; margin: 0 0 14px; }
.dbs-copy__h { margin: 0 0 16px; font-family: var(--display); font-size: clamp(38px, 4.1vw, 64px); line-height: 1; letter-spacing: 0; font-weight: 600; }
.dbs-copy__h em { display: block; font-style: normal; } /* second line in the same sans as the first — no serif italic */
.dbs-copy__p { margin: 0 0 20px; font-size: 16px; line-height: 1.55; color: var(--i-soft); max-width: 400px; }
.dbs-cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 26px; border-radius: 100px; background: var(--i-ink); color: var(--i-bg); font-weight: 600; font-size: 14px; transition: transform .3s var(--ease), color .6s, background .6s; }
.dbs-cta:hover { transform: translateX(4px); }

/* ---------- Centre: 3D object ---------- */
.dbs__center { position: relative; height: 100%; max-height: 640px; display: flex; flex-direction: column; align-items: center; justify-content: center; perspective: 1200px; }
.dbs__obj { position: relative; width: min(100%, 460px); aspect-ratio: 1 / 1; }
.dbs__gl { position: absolute; inset: -12%; width: 124%; height: 124%; display: none; }
.dbs__obj.is-gl .dbs__gl { display: block; }
.dbs__obj.is-gl .dbs__spin { display: none; }
.dbs__spin { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .2s linear; }
.dbs__svg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.6) rotate(-18deg) translateY(60px); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.dbs__svg.is-on { opacity: 1; transform: none; }
.dbs__svg.is-gone { opacity: 0; transform: scale(.7) rotate(16deg) translateY(-80px); }
.dbs__svg svg { width: 100%; height: 100%; filter: drop-shadow(0 40px 40px rgba(4, 4, 10, .35)); animation: dbs-float 5s ease-in-out infinite; }
@keyframes dbs-float { 50% { translate: 0 -18px; } }
.dbs__shadow { width: 46%; height: 22px; margin-top: -24px; border-radius: 50%; background: radial-gradient(closest-side, rgba(4, 4, 10, .45), transparent); animation: dbs-shadow 5s ease-in-out infinite; }
@keyframes dbs-shadow { 50% { transform: scaleX(.82); opacity: .7; } }

/* ---------- Right: counter + focus chips ---------- */
.dbs__right { justify-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; }
.dbs__num { font-family: var(--display); font-size: clamp(46px, 4.4vw, 68px); font-weight: 700; letter-spacing: 0; line-height: 1; }
.dbs__of { font-size: 18px; font-weight: 600; opacity: .7; margin-top: 2px; }
.dbs__lab { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; opacity: .8; margin: 36px 0 8px; }
.dbs__opts { justify-items: end; }
.dbs-opts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.dbs-opts li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 100px; border: 1.5px solid var(--i-line); font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .1); transition: border-color .6s; }
.dbs-opts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .9; }

/* ---------- Pills, scroll hint, next tile, progress ---------- */
.dbs-nav { position: absolute; z-index: 6; left: 50%; bottom: 44px; transform: translateX(-50%); display: flex; gap: 6px; padding: 6px; border-radius: 100px; background: rgba(4, 4, 10, .18); border: 1px solid var(--i-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.dbs-nav__item { display: flex; align-items: center; min-height: 38px; padding: 0 18px; border-radius: 100px; color: var(--i-ink); opacity: .75; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; transition: opacity .3s, background .4s, color .4s; }
.dbs-nav__item:hover { opacity: 1; }
.dbs-nav__item.is-on { background: var(--i-ink); color: var(--i-bg); opacity: 1; }

.dbs__hint { display: none; position: absolute; z-index: 6; left: var(--gutter); bottom: 56px; align-items: center; gap: 14px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.dbs__hint i { position: relative; width: 22px; height: 34px; border-radius: 12px; border: 2px solid currentColor; }
.dbs__hint i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: currentColor; animation: dbs-wheel 1.6s ease-in-out infinite; }
@keyframes dbs-wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }

/* bottom-right corner */
.dbs-next { position: absolute; z-index: 6; right: var(--gutter); bottom: 32px; display: flex; align-items: center; gap: 16px; color: var(--i-ink); text-align: right; }
.dbs-next small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; opacity: .75; margin-bottom: 4px; }
.dbs-next b { font-size: 14px; font-weight: 600; }
.dbs-next__thumb { width: 84px; height: 84px; border-radius: 20px; display: flex; align-items: center; justify-content: center; border: 2px solid rgba(255, 255, 255, .6); box-shadow: 0 14px 30px rgba(4, 4, 10, .3); transition: background .6s, transform .5s var(--ease); }
.dbs-next:hover .dbs-next__thumb { transform: translateY(-4px); }
.dbs-next__thumb svg { width: 78%; height: 78%; }
.dbs-next__thumb img { width: 92%; height: 92%; object-fit: contain; }

.dbs__prog { position: absolute; z-index: 6; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(4, 4, 10, .15); }
.dbs__prog i { display: block; height: 100%; background: var(--i-ink); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .dbs__grid { grid-template-columns: 1.1fr 1fr .8fr; column-gap: 24px; }
  .dbs-copy__h { font-size: clamp(34px, 4vw, 48px); }
}

/* narrow or short screens: object on top, copy underneath */
@media (max-width: 980px), (max-height: 560px) and (max-width: 1100px) {
  .dbs-nav, .dbs__right { display: none; }
  .dbs__grid { grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: start; row-gap: 20px; padding-block: calc(70px + 22px) calc(120px + env(safe-area-inset-bottom, 0px)); }
  .dbs__center { order: -1; height: auto; }
  .dbs__obj { width: min(58vw, 280px, 34vh); }
  .dbs-copy__kicker { margin-bottom: 10px; }
  .dbs-copy__h { font-size: clamp(30px, 8vw, 36px); margin-bottom: 12px; }
  .dbs-copy__p { font-size: 15px; margin-bottom: 16px; line-height: 1.55; }
  .dbs__hint { bottom: 40px; }
  .dbs-next { bottom: 24px; }
  .dbs-next__thumb { width: 60px; height: 60px; border-radius: 14px; }
}

@media (max-width: 860px) {
  /* phones carry the call button bottom-left and WhatsApp / back-to-top bottom-right */
  .dbs__hint { display: none; }
  .dbs-next { bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
  .dbs-next__thumb { width: 52px; height: 52px; border-radius: 12px; }
  .dbs__grid { padding-bottom: calc(170px + env(safe-area-inset-bottom, 0px)); }
  /* phones: no banner (the H1 inside stays for search engines); the gap keeps the intro clear of the fixed header */
  .dbs__stage { display: none; }
  .dbs { padding-top: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  .dbs__stage, .dbs__stage * { animation: none !important; transition: none !important; }
}

/* =========================================================
   All services — reuses the home page services block (.svs, style3.css);
   only the illustrations and section spacing are set here
   ========================================================= */
.svx { padding: calc(var(--sec) * 1.4) 0 var(--sec); }

/* ---------- Every service, one team ----------
   Left: a sticky panel that crossfades to the service in view (illustration + floating "cursor" labels).
   Right: heading, then one step per service with a progress line that fills as it scrolls (js/services.js) */
.svm { padding-top: 0; } /* the line above the heading sets the gap */
.svm__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 120px); align-items: start; }
.svm__media { position: sticky; top: calc(90px + (100vh - 90px - min(78vh, 760px)) / 2); }
.svm__frame { position: relative; height: min(78vh, 760px); border-radius: clamp(20px, 2vw, 30px); overflow: hidden; isolation: isolate;
  background: radial-gradient(90% 70% at 50% 40%, rgba(255, 255, 255, .06), transparent 70%), #0d0d18; box-shadow: inset 0 0 0 1px var(--line-2); }
/* inner hairline frame like the reference photo card */
.svm__frame::after { content: ""; position: absolute; z-index: 10; inset: clamp(14px, 1.6vw, 28px); border-radius: clamp(12px, 1.2vw, 20px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); pointer-events: none; }
/* photos are stacked in order; each later one wipes up from the bottom over the previous as its step scrolls in
   (--r 0 → 1, set by js/services.js), settling from a slight zoom */
/* each panel is the service's colour gradient (--c1..--c3) with a glass tablet showing its icon */
.svm-slide { position: absolute; inset: 0; overflow: hidden; clip-path: inset(calc((1 - var(--r, 0)) * 100%) 0 0 0); display: grid; place-items: center;
  background: radial-gradient(110% 80% at 0% 0%, rgba(4, 4, 10, .92), transparent 60%), linear-gradient(135deg, #0a0c16 0%, var(--c1) 38%, var(--c2) 72%, var(--c3) 104%); }
.svm-slide:first-child { --r: 1; }
.svm-slide .svm-device { width: 62%; transform: perspective(1200px) rotateY(-14deg) rotateX(6deg) scale(calc(.9 + .1 * var(--r, 0))); }
/* glass tablet (same look as the home page industries card) */
.svm-device { position: relative; aspect-ratio: 4 / 3; padding: 14px; border-radius: 30px;
  background: rgba(10, 10, 18, .78); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 40px 80px rgba(0, 0, 0, .45); }
.svm-device__screen { position: relative; height: 100%; border-radius: 18px; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(80% 70% at 30% 20%, color-mix(in srgb, var(--c2) 45%, transparent), transparent 70%), linear-gradient(160deg, #0d1020, color-mix(in srgb, var(--c1) 70%, #05060c)); }
.svm-device__icon { width: 34%; height: auto; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .4)); }
/* a service card's illustration on its own light disc, sitting a little high so the bars below stay clear */
.svm-device__art { position: relative; width: 46%; aspect-ratio: 1; margin-bottom: 8%; }
.svm-device__art .svc-icon,
.svm-device__art .svx-art { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .45)); }
.svm-device__art .svx-art { border-radius: 50%; color: #000021; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 16%, #fbf4f1), #f6dc94); }
.svm-device__bar { position: absolute; left: 9%; height: 8px; width: 34%; border-radius: 4px; background: rgba(255, 255, 255, .16); bottom: 22%; }
.svm-device__bar--s { width: 24%; bottom: 15%; }
.svm-device__bar--xs { width: 14%; bottom: 8%; background: color-mix(in srgb, var(--c3) 80%, transparent); }

/* "What We Deliver" heading (shared .pg-hero__title) */
.svm__head { padding-bottom: clamp(40px, 5vw, 88px); text-align: center; }
/* light line above the section, fading at both ends (same as Our Work / Tech) */
.svm > .wrap:first-child::before { content: ""; display: block; height: 1px; margin-bottom: var(--sec); background: linear-gradient(90deg, transparent, var(--line-2) 30%, var(--line-2) 70%, transparent); }
/* each step is tall so the panel holds while you read; a vertical line on the left fills with scroll */
.svm-step { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: min(78vh, 760px); padding: clamp(28px, 3vw, 48px) 0 clamp(28px, 3vw, 48px) clamp(24px, 2.6vw, 44px); }
.svm-step__bar { position: absolute; left: 0; top: clamp(28px, 3vw, 48px); bottom: clamp(28px, 3vw, 48px); width: 2px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.svm-step__bar i { position: absolute; inset: 0; background: linear-gradient(180deg, var(--accent), var(--orange)); transform: scaleY(var(--p, 0)); transform-origin: top; }
.svm-step__visual { display: none; }
/* three paragraphs per service: the first sits under the title, the next two follow closely */
.svm-step__lead + .svm-step__lead { margin-top: 14px; }
.svm-step__num { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; color: var(--accent); }
.svm-step__num small { font-size: inherit; color: var(--muted); }
.svm-step__title { margin-top: 14px; font-family: var(--display); font-weight: 600; font-size: clamp(26px, 2.4vw, 42px); line-height: 1.1; }
.svm-step__lead { max-width: 52ch; margin-top: clamp(16px, 1.6vw, 24px); color: var(--muted); font-size: clamp(16px, 1.15vw, 18px); line-height: 1.75; }
.svm-step__kf { margin-top: clamp(22px, 2.2vw, 32px); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
/* "What's included": a bullet list in two columns, a gradient dot on the left of each item */
.svm-step__list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 12px 32px; max-width: 52ch; }
.svm-step__list li { position: relative; padding-left: 22px; font-size: clamp(15px, 1.05vw, 17px); line-height: 1.5; color: var(--text); }
.svm-step__list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--orange)); }
@media (max-width: 480px) { .svm-step__list { grid-template-columns: 1fr; } }
/* steps that are not in view dim back */
.svm.is-live .svm-step > :not(.svm-step__bar) { opacity: .35; transition: opacity .6s var(--ease); }
.svm.is-live .svm-step.is-on > :not(.svm-step__bar) { opacity: 1; }

@media (max-width: 1100px) {
  .svm__grid { grid-template-columns: 1fr; }
  .svm__media { display: none; }
  .svm-step { min-height: 0; padding-block: 36px; }
  .svm-step__visual { display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 18px; margin-bottom: 24px; overflow: hidden;
    background: radial-gradient(110% 80% at 0% 0%, rgba(4, 4, 10, .92), transparent 60%), linear-gradient(135deg, #0a0c16 0%, var(--c1) 38%, var(--c2) 72%, var(--c3) 104%); }
  .svm-step__visual .svm-device { width: min(56%, 320px); padding: 10px; border-radius: 22px; }
  .svm-step__visual .svm-device__screen { border-radius: 14px; }
  .svm.is-live .svm-step > :not(.svm-step__bar) { opacity: 1; }
}


/* ---------- Numbers + clients summary ----------
   Left half: hairline grid of figures (label top-left, number centred);
   right half: big title and copy. Top rule spans the full width */
/* no bottom padding: the stats divider runs straight into the industries top rule */
.svx-stats { padding: var(--sec) 0 0; }
.svx-stats__inner { display: flex; border-top: 1px solid var(--line-2); }
.svx-stats__left { width: 50%; display: grid; grid-template-columns: 1fr 1fr; border-right: 1px solid var(--line-2); }
.svx-stats__cell { display: flex; flex-direction: column; min-height: clamp(220px, 21vw, 386px); padding: clamp(28px, 3.4vw, 60px) clamp(16px, 2vw, 32px) clamp(28px, 3vw, 48px) 0; }
.svx-stats__cell + .svx-stats__cell { border-left: 1px solid var(--line-2); padding-left: clamp(24px, 3.2vw, 60px); }
.svx-stats__cell--wide { grid-column: 1 / -1; border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--line-2); }
.svx-stats__cell p { font-size: clamp(15px, 1.2vw, 22px); color: var(--muted); }
.svx-stats__cell strong { flex: 1; display: grid; place-items: center; font-family: var(--display); font-weight: 500; font-size: clamp(48px, 5.4vw, 100px); line-height: 1; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.svx-stats__right { width: 50%; padding: clamp(40px, 5vw, 90px) 0 clamp(28px, 3vw, 48px) clamp(28px, 5vw, 90px); }
.svx-stats__title { font-family: var(--display); font-weight: 500; font-size: clamp(36px, 4.2vw, 80px); line-height: 1.05; letter-spacing: 0; margin-bottom: clamp(24px, 3.4vw, 64px); }
.svx-stats__right p { font-size: clamp(17px, 1.6vw, 28px); line-height: 1.45; color: var(--muted); }
.svx-stats__right p + p { margin-top: 1.2em; }

/* ---------- Industries we work with ----------
   Oversized two-line title with a logo pill; below it the left copy and two
   columns of names, framed by hairlines that draw in (JS scales them from 0) */
.svx-ind { padding: 0 0 var(--sec); }
.svx-ind__head { position: relative; padding: clamp(28px, 5vw, 72px) 0 clamp(24px, 4vw, 56px); }
.svx-ind__head::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2); transform-origin: center; }

.svx-ind__title { font-family: var(--display); font-weight: 500; font-size: clamp(44px, 8.6vw, 168px); line-height: 1; letter-spacing: 0; }
.svx-ind__line { display: flex; align-items: center; flex-wrap: wrap; overflow: hidden; padding-bottom: .08em; }
.svx-ind__line > span { display: inline-block; will-change: transform; }

/* gradient pill with the logo; on hover it opens to show a label */
.svx-ind__pill { display: inline-flex; align-items: center; flex: none; margin-right: .2em; padding: clamp(6px, .7vw, 14px); border-radius: 100px; background: var(--grad); background-size: 200% 100%; transition: background-position .8s var(--ease); }
.svx-ind__pill-logo { width: clamp(54px, 5.6vw, 108px); height: clamp(54px, 5.6vw, 108px); border-radius: 50%; display: grid; place-items: center; background: #fff; flex: none; transition: transform .6s var(--ease); }
.svx-ind__pill-logo img { width: 74%; height: auto; }
.svx-ind__pill-text { overflow: hidden; max-width: 0; white-space: nowrap; font-family: var(--body); font-weight: 500; font-size: clamp(14px, 1.2vw, 20px); letter-spacing: 0; color: #fff; transition: max-width .7s var(--ease), padding .7s var(--ease); }
.svx-ind__pill:hover { background-position: 100% 0; }
.svx-ind__pill:hover .svx-ind__pill-logo { transform: rotate(-12deg); }
.svx-ind__pill:hover .svx-ind__pill-text { max-width: 10em; padding: 0 clamp(14px, 1.6vw, 28px); }

.svx-ind__body { position: relative; display: flex; }
.svx-ind__body::before, .svx-ind__body::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--line-2); transform-origin: center; }
.svx-ind__body::before { top: 0; }
.svx-ind__body::after { bottom: 0; }

.svx-ind__left { position: relative; width: 50%; padding: clamp(40px, 5.5vw, 80px) clamp(32px, 5vw, 72px) 40px 0; }
.svx-ind__left::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 1px; background: var(--line-2); transform-origin: top; }
.svx-ind__left p { font-family: var(--display); font-weight: 400; font-size: clamp(19px, 1.6vw, 28px); line-height: 1.35; letter-spacing: 0; color: var(--muted); margin-bottom: clamp(28px, 3.4vw, 52px); }

.svx-ind__right { width: 50%; display: flex; align-items: flex-start; padding: clamp(40px, 5.5vw, 80px) 0 clamp(48px, 6vw, 88px) clamp(32px, 5vw, 68px); }
.svx-ind__links { position: relative; width: 50%; list-style: none; margin: 0; padding: 0; display: grid; row-gap: clamp(20px, 2.4vw, 37px); }
.svx-ind__links + .svx-ind__links { padding-left: clamp(24px, 3.4vw, 56px); }
.svx-ind__links + .svx-ind__links::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line-2); transform-origin: top; }
.svx-ind__links li { font-family: var(--display); font-weight: 400; font-size: clamp(17px, 1.5vw, 26px); line-height: 1.2; letter-spacing: 0; color: var(--text); transition: color .4s, translate .5s var(--ease); }
.svx-ind__links li:hover { color: var(--orange); translate: 8px 0; }

/* hairlines start collapsed and draw in, one after another, once the section arrives */
.svx-ind.js-lines .svx-ind__head::before,
.svx-ind.js-lines .svx-ind__body::before,
.svx-ind.js-lines .svx-ind__body::after { transform: scaleX(0); transition: transform .9s var(--ease); }
.svx-ind.js-lines .svx-ind__left::after,
.svx-ind.js-lines .svx-ind__links + .svx-ind__links::before { transform: scaleY(0); transition: transform .9s var(--ease); }
.svx-ind.is-on .svx-ind__head::before { transform: none; }
.svx-ind.is-on .svx-ind__body::before { transform: none; transition-delay: .5s; }
.svx-ind.is-on .svx-ind__left::after { transform: none; transition-delay: .8s; }
.svx-ind.is-on .svx-ind__links + .svx-ind__links::before { transform: none; transition-delay: 1.1s; }
.svx-ind.is-on .svx-ind__body::after { transform: none; transition-delay: 1.4s; }

/* ---------- Our UI/UX design process: the home process timeline, eight steps ---------- */
.svx-process { padding-bottom: calc(var(--sec) * 1.4); }
.svx-process .sec-head .eyebrow { margin-bottom: 18px; }
.svx-process .tstep__card > p { margin-bottom: 0; }
/* eight steps, so tighter than the home page's four */
.svx-process .timeline { gap: clamp(56px, 6vw, 120px); }
.svx-process .tstep__card h3 { font-size: clamp(26px, 2.5vw, 42px); line-height: 1.08; }
.svx-process .tstep__intro { font-size: clamp(15px, 1.05vw, 17px); }
/* the line-art icon sits in a glass tile where the home page has its images */
.tstep__media--icon { display: grid; place-items: center; }
.tstep__media--icon .tstep__icon { position: relative; display: grid; place-items: center; width: clamp(150px, 13vw, 220px); aspect-ratio: 1; margin: 0; border-radius: 32px;
  background: radial-gradient(circle at 50% 40%, rgba(242, 117, 26, .14), transparent 68%), rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .1); box-shadow: inset 0 0 40px rgba(255, 255, 255, .03), 0 30px 80px -30px rgba(223, 30, 90, .35);
  animation: tstep-float 7s ease-in-out infinite; }
.tstep:nth-of-type(even) .tstep__media--icon .tstep__icon { animation-delay: -3.5s; }
.tstep__media--icon .tstep__icon svg { width: 46%; height: 46%; filter: drop-shadow(0 0 14px rgba(242, 117, 26, .35)); }
@media (max-width: 1100px) { .tstep__media--icon .tstep__icon { width: 140px; border-radius: 26px; } }
@media (prefers-reduced-motion: reduce) { .tstep__media--icon .tstep__icon { animation: none; } }


@media (max-width: 1100px) {
  .svx-stats__inner { flex-direction: column; }
  .svx-stats__left, .svx-stats__right { width: 100%; }
  .svx-stats__left { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .svx-stats__right { padding-left: 0; }
  .svx-ind__body { flex-direction: column; }
  .svx-ind__left, .svx-ind__right { width: 100%; }
  .svx-ind__left { padding-right: 0; padding-bottom: 8px; }
  .svx-ind__left::after { display: none; }
  .svx-ind__right { padding-left: 0; padding-top: 24px; }
}

@media (max-width: 720px) {
  .svx-stats__cell { min-height: 180px; }
  .svx-ind__title { letter-spacing: 0; }
}

/* FAQ: numbered questions */
.faq .acc__t { flex: 1; min-width: 0; }
.faq .acc__n { margin-right: 6px; color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; font-variant-numeric: tabular-nums; }

/* =========================================================
   Closing CTA — reuses the home page's .talk block
   ========================================================= */
.ux-talk .talk__row { align-items: flex-end; }
.ux-talk__copy { max-width: 64ch; }
.ux-talk__q { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2vw, 32px); line-height: 1.2; letter-spacing: 0; margin-bottom: 18px; }
.ux-talk__copy p + p { margin-top: 14px; }
.ux-talk__sign { color: var(--text) !important; }
.ux-talk__sign strong { display: block; font-weight: 600; font-size: clamp(17px, 1.35vw, 21px); margin-bottom: 4px; }
.ux-talk__cta { gap: 12px; margin-top: 26px; }
.ux-talk__cta svg { position: relative; flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.ux-talk__cta:hover svg { transform: translateX(4px); }
@media (max-width: 560px) { .ux-talk__cta { width: 100%; height: auto; min-height: 56px; padding: 14px 24px; white-space: normal; text-align: center; font-size: 15px; } }


/* =========================================================
   Related services — after the stack section on each service page
   (cards follow the service-banner index: number, name, arrow, colour bar)
   ========================================================= */
.svc-rel { padding-block: 0; } /* the FAQ above and the talk section below already pad themselves; no double gap */
.svc-rel .title { margin: 14px 0 clamp(28px, 3.4vw, 44px); }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 14px; }
.svc-card { position: relative; display: flex; align-items: center; gap: 16px; min-height: 86px; padding: 18px 20px 18px 24px; border-radius: 20px; background: rgba(16, 16, 28, .7); border: 1px solid var(--line); color: var(--text); overflow: hidden; transition: transform .35s var(--ease), border-color .35s, background .35s; }
.svc-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c); }
.svc-card:hover, .svc-card:focus-visible { transform: translateY(-3px); border-color: var(--c); background: rgba(22, 22, 38, .9); outline: none; }
.svc-card__n { flex: none; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--c); filter: brightness(1.25); }
.svc-card__t { flex: 1; font-size: 16px; font-weight: 600; line-height: 1.3; }
.svc-card__g { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 15px; transition: background .35s, color .35s, border-color .35s; }
.svc-card:hover .svc-card__g, .svc-card:focus-visible .svc-card__g { background: var(--c); color: #04040a; border-color: transparent; }

/* the open service page is marked in the header mega menu, mobile menu and footer */
.mega__col a[aria-current="page"], .menu__sub-col a[aria-current="page"], .footer__col a[aria-current="page"] { color: var(--text); font-weight: 600; }
.mega__col a[aria-current="page"]::before, .menu__sub-col a[aria-current="page"]::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--grad); vertical-align: middle; }
