/* ==========================================================================
   Profitsoft — landing page
   Ported from the hi-fi handoff (source/Profitsoft.dc.html). Values are the
   design's own; hover-driven effects read --h (0|1), --mx/--my (px) and
   --nx/--ny (-1..1), set by assets/js/main.js on [data-hov] elements.
   ========================================================================== */

/* ---- Fonts (self-hosted, latin + latin-ext) ------------------------------ */
@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/inter-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/inter-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/jetbrains-mono-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/jetbrains-mono-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* ---- Tokens --------------------------------------------------------------- */
:root {
  --bg: #0e1019;
  --surface: #161826;
  --text: #e9e9ed;
  --soft: #b2b6ca;
  --muted: #9397ab;
  --faint: #75798c;
  --dim: #595d6c;
  --line: #3f424d;
  --chip: #cfd3e5;
  --accent: #3d8bff;
  --accent-light: #8fbcff;
  --accent-tint: rgba(61, 139, 255, .22);
  --border: rgba(233, 233, 237, .1);
  --sans: Inter, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(20px, 5vw, 64px);
  color-scheme: dark;
}

/* ---- Base (design-system defaults the prototype inherits) ----------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0; font-family: var(--sans); font-size: 15px; line-height: 1.55; font-weight: 400;
  background: var(--bg); color: var(--text); overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-weight: 500; line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 5.6px; }
p { margin: 0 0 8.4px; }
img { display: block; max-width: 100%; }
a { color: var(--accent-light); text-decoration: none; }
a:hover { color: var(--text); }
button { font: inherit; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: rgba(61, 139, 255, .35); }
html.ps-cur, html.ps-cur * { cursor: none !important; }

.ph { width: 1em; height: 1em; display: inline-block; flex: none; vertical-align: -0.125em; }
.site { position: relative; background: var(--bg); color: var(--text); overflow-x: clip; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 2000; padding: 10px 16px; border-radius: 8px;
  background: var(--accent); color: #fff; transform: translateY(-200%); transition: transform .2s;
}
.skip-link:focus-visible { transform: none; color: #fff; }

/* ---- Shared pieces --------------------------------------------------------- */
.kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--accent); display: flex; align-items: center; gap: 10px; }
.kicker__label { color: var(--muted); }
.h-section { margin: 20px 0 0; font-size: clamp(38px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 500; }
.lead { margin: 0; font-size: 16px; line-height: 1.65; color: var(--soft); text-wrap: pretty; }
.text-faint { color: var(--faint); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; }
.word { display: inline-block; }

.grad { -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad--h4 { background-image: linear-gradient(100deg, #b8d4ff, #3d8bff 60%, #5cc8f0); }
.grad--h5 { background-image: linear-gradient(100deg, #8fbcff, #3d8bff); }
.grad--h6 { background-image: linear-gradient(100deg, #6aa6ff, #3d8bff); }
.grad--h7, .grad--c6 { background-image: linear-gradient(100deg, #3d8bff, #5cc8f0); }
.grad--c5, .grad--stat { background-image: linear-gradient(100deg, #b8d4ff, #3d8bff); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 24px; border-radius: 8px;
  border: 1px solid rgba(233, 233, 237, .14); background: transparent; color: var(--text);
  font-size: 15px; font-weight: 500; white-space: nowrap;
  transition: transform .35s var(--ease), background .25s, box-shadow .25s, border-color .25s;
}
.btn:hover { color: var(--text); }
.btn--primary { border-color: var(--accent); background: rgba(61, 139, 255, .12); box-shadow: 0 0 0 rgba(61, 139, 255, 0); }
.btn--primary:hover, .btn--primary:focus-visible { background: rgba(61, 139, 255, .24); box-shadow: 0 0 40px rgba(61, 139, 255, .4); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: rgba(233, 233, 237, .05); border-color: rgba(233, 233, 237, .3); }
.btn--nav { gap: 8px; padding: 10px 18px; border-color: var(--accent); background: rgba(61, 139, 255, .08); font-size: 14px; }
.btn--nav:hover, .btn--nav:focus-visible { background: rgba(61, 139, 255, .2); box-shadow: 0 0 28px rgba(61, 139, 255, .35); }
.btn--xl { gap: 12px; padding: 22px 34px; border-radius: 12px; border-color: var(--accent); background: rgba(61, 139, 255, .14); font-size: 18px; box-shadow: 0 0 60px rgba(61, 139, 255, .25); }
.btn--xl:hover, .btn--xl:focus-visible { background: rgba(61, 139, 255, .28); box-shadow: 0 0 80px rgba(61, 139, 255, .5); }

.icon-btn {
  width: 44px; height: 44px; padding: 0; border-radius: 8px; border: 1px solid rgba(233, 233, 237, .14);
  background: transparent; color: var(--text); display: grid; place-items: center; font-size: 20px; cursor: pointer;
}

/* ---- Custom cursor ---------------------------------------------------------- */
.cursor-ring {
  position: fixed; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(143, 188, 255, .55); pointer-events: none; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  transition: width .3s var(--ease), height .3s var(--ease), background .3s, border-color .3s, opacity .3s, scale .2s;
}
.cursor-ring__label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--bg); font-weight: 500; opacity: 0; transition: opacity .2s; }
.cursor-ring.is-link { width: 58px; height: 58px; background: rgba(61, 139, 255, .12); border-color: var(--accent); }
.cursor-ring.is-view { width: 92px; height: 92px; background: rgba(61, 139, 255, .95); border-color: transparent; }
.cursor-ring.is-view .cursor-ring__label { opacity: 1; }
.cursor-ring.is-down { scale: .85; }
.cursor-dot {
  position: fixed; left: 0; top: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-light);
  box-shadow: 0 0 12px 2px rgba(61, 139, 255, .8); pointer-events: none; z-index: 1001; transition: opacity .2s;
}
.cursor-dot.is-hidden, .cursor-ring.is-out, .cursor-ring.is-out + .cursor-dot { opacity: 0; }

/* ---- Header ------------------------------------------------------------------ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; border-bottom: 1px solid transparent;
  transition: background .4s, backdrop-filter .4s, border-color .4s;
}
.site-header.is-scrolled {
  background: rgba(14, 16, 25, .72); border-bottom-color: rgba(233, 233, 237, .08);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
}
.site-header__inner {
  max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); height: 84px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: height .4s var(--ease);
}
.site-header.is-scrolled .site-header__inner { height: 64px; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand--inline { display: inline-flex; }
.brand__mark { width: 30px; height: 30px; object-fit: contain; }
.brand__name { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.brand__accent { color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid rgba(233, 233, 237, .07); background: rgba(22, 24, 38, .35); }
.main-nav a { padding: 8px 16px; border-radius: 999px; font-size: 14px; color: var(--soft); transition: color .2s, background .2s; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--text); background: rgba(233, 233, 237, .06); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid var(--border); background: rgba(22, 24, 38, .35); }
.lang-switch a {
  display: inline-flex; align-items: center; justify-content: center; height: 32px; min-width: 38px; padding: 0 10px;
  border-radius: 999px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--muted);
  transition: background .25s, color .25s;
}
.lang-switch a:hover { color: var(--text); }
.lang-switch a[aria-current="true"] { background: var(--accent-tint); color: var(--text); }
.menu-toggle { display: none; }

/* Mobile menu (native <dialog>: focus trap, Esc and inert page for free) */
.mobile-menu {
  position: fixed; inset: 0; width: auto; height: auto; max-width: none; max-height: none; margin: 0;
  border: 0; padding: 20px var(--gutter) 40px; color: var(--text);
  background: rgba(14, 16, 25, .94); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.mobile-menu[open] { display: flex; flex-direction: column; }
.mobile-menu::backdrop { background: transparent; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; height: 44px; }
.mobile-menu__label { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--muted); }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 6px; margin-top: auto; }
.mobile-menu__nav a { font-size: 48px; letter-spacing: -0.04em; color: var(--text); display: flex; align-items: baseline; gap: 14px; }
.mobile-menu__num { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: normal; }
.mobile-menu__mail { margin-top: 40px; font-size: 15px; color: var(--accent-light); }
/* The dialog sits in the top layer, above the custom cursor: use the native one. */
html.menu-open { overflow: hidden; }
html.menu-open.ps-cur, html.menu-open.ps-cur * { cursor: auto !important; }
html.menu-open .cursor-ring, html.menu-open .cursor-dot { display: none; }

/* ---- Hero -------------------------------------------------------------------- */
.hero { position: relative; min-height: 100svh; overflow: hidden; display: flex; align-items: center; }
.hero__par { position: absolute; inset: -8%; pointer-events: none; }
.hero__blob { position: absolute; border-radius: 50%; }
.hero__blob--0 { left: 48%; top: 4%; width: 62vw; height: 62vw; background: radial-gradient(circle, rgba(61, 139, 255, .20), rgba(61, 139, 255, 0) 62%); }
.hero__blob--1 { left: -12%; top: 50%; width: 52vw; height: 52vw; background: radial-gradient(circle, rgba(30, 64, 175, .22), rgba(30, 64, 175, 0) 62%); }
.hero__blob--2 { left: 70%; top: 55%; width: 26vw; height: 26vw; background: radial-gradient(circle, rgba(92, 200, 240, .12), rgba(92, 200, 240, 0) 65%); }
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(233, 233, 237, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(233, 233, 237, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 66% 50%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 65% at 66% 50%, #000 15%, transparent 72%);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.hero__logo { position: absolute; left: 72%; top: 52%; width: clamp(96px, 10vw, 148px); aspect-ratio: 1; transform: translate(-50%, -50%); perspective: 700px; pointer-events: none; }
.hero__logo-card {
  position: absolute; inset: 0; border-radius: 28%; display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(40, 48, 78, .75), rgba(16, 19, 32, .85));
  border: 1px solid rgba(143, 188, 255, .28);
  box-shadow: 0 0 0 1px rgba(14, 16, 25, .6), 0 24px 60px rgba(0, 0, 0, .6), 0 0 80px rgba(61, 139, 255, .35), inset 0 1px 0 rgba(233, 233, 237, .12);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hero__logo-card img { width: 64%; height: 64%; object-fit: contain; }
.hero__readout {
  position: absolute; left: 50%; top: calc(100% + 26px); transform: translateX(-50%); white-space: nowrap;
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--muted); display: flex; align-items: center; gap: 8px;
}
.dot-glow { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

.hero__content { position: relative; z-index: 2; width: 100%; max-width: 1280px; margin: 0 auto; padding: 120px var(--gutter) 96px; }
.hero__content-inner { max-width: min(780px, 62vw); }
.hero__chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px;
  border: 1px solid rgba(143, 188, 255, .22); background: rgba(61, 139, 255, .06);
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--soft); white-space: nowrap;
}
.hero__chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(61, 139, 255, .18), 0 0 12px var(--accent); }
.hero__title { margin: 28px 0 0; font-size: clamp(42px, 6.6vw, 98px); line-height: 1; letter-spacing: -0.045em; font-weight: 500; text-wrap: balance; }
.hero__sub { margin: 28px 0 0; max-width: 540px; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; color: var(--soft); text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero__bar { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 2; }
.hero__bar-inner { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--faint); }
.hero__scroll { display: flex; align-items: center; gap: 10px; }
.hero__scroll-line { width: 32px; height: 1px; background: linear-gradient(90deg, var(--accent), transparent); }

/* ---- Services ------------------------------------------------------------------ */
.services { position: relative; padding: clamp(96px, 14vw, 180px) 0 clamp(80px, 10vw, 140px); }
.services__head { gap: 32px 64px; }
.services__intro { max-width: 720px; }
.services__lead { max-width: 380px; }
.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-top: clamp(48px, 6vw, 80px); }

.svc-card {
  position: relative; min-height: 460px; padding: 32px; border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column;
  border: 1px solid rgba(233, 233, 237, .08);
  background: linear-gradient(180deg, rgba(233, 233, 237, .035), rgba(233, 233, 237, .008));
  transform: translateY(calc(var(--h, 0) * -10px));
  box-shadow: 0 30px 60px -30px rgba(61, 139, 255, calc(var(--h, 0) * .5));
  transition: transform .5s var(--ease), box-shadow .5s;
}
.svc-card__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(61, 139, 255, .18), transparent 60%); opacity: var(--h, 0); transition: opacity .4s; }
.svc-card__edge { position: absolute; inset: 0; border-radius: 14px; pointer-events: none; border: 1px solid rgba(61, 139, 255, .5); opacity: var(--h, 0); transition: opacity .4s; }

.spark { position: absolute; border-radius: 50%; opacity: var(--h, 0); }
.spark--w1 { left: 18%; top: 62%; width: 3px; height: 3px; background: #8fbcff; transform: translateY(calc((1 - var(--h, 0)) * 24px)); transition: all .7s var(--ease) .05s; }
.spark--w2 { left: 72%; top: 22%; width: 2px; height: 2px; background: #8fbcff; transform: translateY(calc((1 - var(--h, 0)) * 30px)); transition: all .8s var(--ease) .12s; }
.spark--w3 { left: 86%; top: 58%; width: 3px; height: 3px; background: #5cc8f0; transform: translateY(calc((1 - var(--h, 0)) * 18px)); transition: all .6s var(--ease) .2s; }
.spark--c1 { left: 12%; top: 30%; width: 2px; height: 2px; background: #8fbcff; transform: translateX(calc((1 - var(--h, 0)) * -24px)); transition: all .7s var(--ease) .05s; }
.spark--c2 { left: 80%; top: 70%; width: 3px; height: 3px; background: #5cc8f0; transform: translateX(calc((1 - var(--h, 0)) * 24px)); transition: all .7s var(--ease) .15s; }
.spark--f1 { left: 50%; top: 14%; width: 3px; height: 3px; background: #8fbcff; transform: scale(calc(var(--h, 0) * 1.5)); transition: all .6s var(--ease) .1s; }
.spark--f2 { left: 24%; top: 78%; width: 2px; height: 2px; background: #5cc8f0; transform: scale(calc(var(--h, 0) * 1.5)); transition: all .6s var(--ease) .2s; }

.svc-card__top { position: relative; display: flex; justify-content: space-between; align-items: flex-start; }
.svc-num { position: relative; font-family: var(--mono); font-size: 56px; line-height: 1; letter-spacing: -0.04em; }
.svc-num__stroke { color: transparent; -webkit-text-stroke: 1px rgba(233, 233, 237, .22); }
.svc-num__fill { position: absolute; inset: 0; -webkit-background-clip: text; background-clip: text; color: transparent; }
.svc-num--web { transform: translateY(calc(var(--h, 0) * -4px)); transition: transform .5s var(--ease); }
.svc-num--web .svc-num__fill { background-image: linear-gradient(180deg, #b8d4ff, #3d8bff); clip-path: inset(calc((1 - var(--h, 0)) * 100%) 0 0 0); transition: clip-path .6s var(--ease); }
.svc-num--code { transform: translateX(calc(var(--h, 0) * 6px)); transition: transform .5s var(--ease); }
.svc-num--code .svc-num__fill { background-image: linear-gradient(90deg, #b8d4ff, #3d8bff); clip-path: inset(0 calc((1 - var(--h, 0)) * 100%) 0 0); transition: clip-path .6s var(--ease); }
.svc-num--flow { letter-spacing: calc(-0.04em + var(--h, 0) * .06em); transition: letter-spacing .5s var(--ease); }
.svc-num--flow .svc-num__fill { inset: 0 auto auto 0; background-image: linear-gradient(135deg, #b8d4ff, #3d8bff); opacity: var(--h, 0); transition: opacity .5s; }

.svc-icon {
  width: 48px; height: 48px; border-radius: 12px; border: 1px solid rgba(233, 233, 237, .12);
  display: grid; place-items: center; font-size: 22px; color: var(--accent-light); background: rgba(22, 24, 38, .6);
  transition: transform .5s var(--ease);
}
.svc-card--web .svc-icon { transform: translate(calc(var(--h, 0) * -8px), calc(var(--h, 0) * 8px)) rotate(calc(var(--h, 0) * -8deg)); }
.svc-card--code .svc-icon { transform: translateY(calc(var(--h, 0) * 10px)) scale(calc(1 + var(--h, 0) * .08)); }
.svc-card--flow .svc-icon { transform: rotate(calc(var(--h, 0) * 180deg)); transition-duration: .8s; }

.svc-mock { position: relative; margin: 36px 0 auto; height: 130px; border-radius: 8px; border: 1px solid rgba(233, 233, 237, .08); background: rgba(14, 16, 25, .6); }
.svc-mock--web { padding: 10px; display: flex; flex-direction: column; gap: 7px; }
.svc-mock--code { padding: 14px; display: flex; flex-direction: column; gap: 9px; font-family: var(--mono); }
.svc-mock--flow { overflow: hidden; }
.svc-mock--flow svg { display: block; }

.mock-dots { display: flex; gap: 4px; }
.mock-dots span { width: 5px; height: 5px; border-radius: 50%; background: var(--line); }
.mock-web__bar, .mock-web__cols > div { opacity: calc(.35 + var(--h, 0) * .65); transition: all .6s var(--ease); }
.mock-web__bar { height: 30px; border-radius: 4px; background: linear-gradient(90deg, rgba(61, 139, 255, .35), rgba(61, 139, 255, .08)); transform: translate(calc((1 - var(--h, 0)) * 18px), calc((1 - var(--h, 0)) * -6px)); }
.mock-web__cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; flex: 1; }
.mock-web__cols > div { border-radius: 4px; border: 1px solid rgba(143, 188, 255, .25); background: rgba(61, 139, 255, .06); }
.mock-web__cols > div:nth-child(1) { transform: translate(calc((1 - var(--h, 0)) * -10px), calc((1 - var(--h, 0)) * 12px)); transition-delay: .06s; }
.mock-web__cols > div:nth-child(2) { transform: translateY(calc((1 - var(--h, 0)) * 18px)); transition-delay: .12s; }
.mock-web__cols > div:nth-child(3) { transform: translate(calc((1 - var(--h, 0)) * 12px), calc((1 - var(--h, 0)) * 8px)); transition-delay: .18s; }

.code-line { display: flex; gap: 6px; align-items: center; }
.code-ln { font-size: 9px; color: var(--dim); width: 12px; }
.tok { height: 5px; border-radius: 3px; transform-origin: left; transform: scaleX(calc(.2 + var(--h, 0) * .8)); transition: transform .5s var(--ease); }
.tok--1 { width: 22%; background: #3d8bff; transform: scaleX(calc(.3 + var(--h, 0) * .7)); }
.tok--2 { width: 38%; background: #3f424d; transition-delay: .04s; }
.tok--3 { margin-left: 14px; width: 30%; background: #595d6c; transition-delay: .08s; }
.tok--4 { width: 18%; background: #5cc8f0; opacity: .7; transition-delay: .12s; }
.tok--5 { margin-left: 14px; width: 46%; background: #3f424d; transition-delay: .16s; }
.tok--6 { margin-left: 28px; width: 20%; background: #8fbcff; opacity: .8; transition-delay: .2s; }
.tok--7 { width: 24%; background: #595d6c; transition-delay: .24s; }
.tok--8 { width: 12%; background: #3d8bff; transition-delay: .28s; }
.code-caret { width: 6px; height: 11px; background: #8fbcff; opacity: var(--h, 0); transition: opacity .3s .4s; }

.flow-path { stroke-dashoffset: calc(260px - var(--h, 0) * 260px); transition: stroke-dashoffset .9s var(--ease); }
.flow-node--mid { opacity: calc(.4 + var(--h, 0) * .6); transition: opacity .4s .3s; }
.flow-node--end { opacity: calc(.3 + var(--h, 0) * .7); transition: opacity .4s .7s; }
.flow-dot--end { opacity: var(--h, 0); transition: opacity .3s .8s; }
.flow-dot--down { opacity: var(--h, 0); transition: opacity .3s .5s; }

.svc-card__body { position: relative; margin-top: 32px; transform: translateY(calc(var(--h, 0) * -6px)); transition: transform .5s var(--ease); }
.svc-card__body h3 { margin: 0; font-size: 26px; letter-spacing: -0.02em; font-weight: 500; }
.svc-card__body p { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--soft); text-wrap: pretty; }

/* ---- Process (sticky, scroll-driven) ------------------------------------------- */
.process { position: relative; height: 420vh; }
.process__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; }
.process__bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 50% at 20% 60%, rgba(30, 64, 175, .14), transparent 70%); }
.process__inner {
  position: relative; flex: 1; width: 100%; max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column;
  padding: clamp(76px, 12vh, 140px) var(--gutter) clamp(24px, 6vh, 72px);
}
.process__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; }
.process__title { margin: 16px 0 0; font-size: clamp(28px, min(4.2vw, 7vh), 58px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 500; }
.process__meter { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--faint); display: flex; gap: 16px; }
.process__pct { color: var(--accent-light); min-width: 36px; text-align: right; }

.process__details { position: relative; flex: 1; min-height: 120px; margin: clamp(8px, 3vh, 24px) 0; }
.process__detail { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); transition: opacity .5s, transform .6s var(--ease), filter .5s; }
.process__detail.is-after { opacity: 0; transform: translateY(calc(-50% + 40px)); filter: blur(8px); }
.process__detail.is-before { opacity: 0; transform: translateY(calc(-50% - 40px)); filter: blur(8px); }
.process__detail.is-active { opacity: 1; transform: translateY(-50%); filter: none; }
.process__word {
  font-size: clamp(44px, min(11vw, 17vh), 168px); line-height: .92; letter-spacing: -0.06em; font-weight: 500;
  background: linear-gradient(180deg, #e9e9ed, #75798c); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.process__detail--last .process__word { background-image: linear-gradient(100deg, #b8d4ff, #3d8bff 55%, #5cc8f0); }
.process__detail p { margin: clamp(8px, 2.4vh, 20px) 0 0; max-width: 460px; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.6; color: var(--soft); text-wrap: pretty; }

.process__track { position: relative; padding-top: 8px; }
.process__rail { position: absolute; left: 7px; right: 7px; top: 15px; height: 1px; background: linear-gradient(90deg, rgba(233, 233, 237, .14), rgba(233, 233, 237, .14) 90%, transparent); }
.process__fill {
  position: absolute; left: 7px; right: 7px; top: 14px; height: 3px; border-radius: 2px; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, #1e40af, #3d8bff 70%, #8fbcff); box-shadow: 0 0 16px rgba(61, 139, 255, .7);
}
.process__stages { position: relative; display: flex; justify-content: space-between; }
.process__stage { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 14px; overflow: visible; }
.process__stage:first-child { align-items: flex-start; }
.process__stage:last-child { align-items: flex-end; }
.process__dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); transition: all .4s; }
.process__label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--dim); white-space: nowrap; transition: color .4s; }
.process__stage.is-on .process__dot { background: var(--accent); border-color: var(--accent-light); }
.process__stage.is-on .process__label { color: var(--accent-light); }
.process__stage.is-current .process__dot { box-shadow: 0 0 0 6px rgba(61, 139, 255, .16), 0 0 24px rgba(61, 139, 255, .9); transform: scale(1.15); }
.process__stage.is-current .process__label { color: var(--text); }

/* ---- Projects ------------------------------------------------------------------- */
.projects { position: relative; padding: clamp(96px, 12vw, 160px) 0; }
.projects__head { gap: 24px 64px; }
.projects__lead { max-width: 360px; }
.projects__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 16px; margin-top: clamp(48px, 6vw, 80px); }
.projects__wide { grid-column: 1 / -1; }

.proj { position: relative; display: block; height: clamp(420px, 38vw, 520px); border-radius: 14px; overflow: hidden; border: 1px solid rgba(233, 233, 237, .08); color: var(--text); }
.proj:hover { color: var(--text); }
.proj:focus-visible { --h: 1; }
.proj--fintech { height: clamp(420px, 48vw, 640px); background: radial-gradient(ellipse 80% 70% at 70% 20%, #1a2446, #10131f 70%); }
.proj--shop { background: radial-gradient(ellipse 80% 70% at 30% 10%, #172039, #10131f 70%); }
.proj--erp { background: radial-gradient(ellipse 80% 70% at 80% 10%, #15203a, #10131f 70%); }

.proj__stage { position: absolute; inset: 0; transition: transform .7s var(--ease); transform: scale(calc(1 + var(--h, 0) * .04)) translate(calc(var(--nx, 0) * -12px), calc(var(--ny, 0) * -8px)); }
.proj--fintech .proj__stage { transform: scale(calc(1 + var(--h, 0) * .035)) translate(calc(var(--nx, 0) * -12px), calc(var(--ny, 0) * -8px)); }
.proj--shop .proj__stage { transform: scale(calc(1 + var(--h, 0) * .04)) translate(calc(var(--nx, 0) * -12px), calc(var(--ny, 0) * -8px)) rotate(calc(var(--h, 0) * -1deg)); }
.proj--erp .proj__stage { transform: scale(calc(1 + var(--h, 0) * .04)) translate(calc(var(--nx, 0) * -12px), calc(var(--ny, 0) * -8px)) rotate(calc(var(--h, 0) * 1deg)); }

.proj__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(10, 12, 20, .96) 0%, rgba(10, 12, 20, .55) 38%, rgba(10, 12, 20, 0) 65%); }
.proj__shade--sm { background: linear-gradient(to top, rgba(10, 12, 20, .97) 0%, rgba(10, 12, 20, .6) 40%, rgba(10, 12, 20, 0) 70%); }
.proj__dim { position: absolute; inset: 0; pointer-events: none; background: rgba(10, 12, 20, .35); opacity: var(--h, 0); transition: opacity .5s; }
.proj__meta { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(20px, 3vw, 32px); display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.proj--fintech .proj__meta { padding: clamp(20px, 3vw, 36px); gap: 24px; }
.proj__text { transform: translateY(calc((1 - var(--h, 0)) * 6px)); transition: transform .5s var(--ease); }
.proj__eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--accent-light); }
.proj__title { margin: 10px 0 0; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.03em; font-weight: 500; }
.proj--fintech .proj__title { font-size: clamp(28px, 3.6vw, 48px); letter-spacing: -0.035em; }
.proj__tags { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; opacity: calc(.55 + var(--h, 0) * .45); transition: opacity .4s; }
.proj--fintech .proj__tags { margin-top: 14px; }
.proj__tags li { padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(233, 233, 237, .14); font-size: 12px; color: var(--chip); }
.proj__arrow {
  flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(143, 188, 255, .4); font-size: 18px; color: var(--text);
  background: rgba(61, 139, 255, calc(var(--h, 0) * .9)); transform: rotate(calc((1 - var(--h, 0)) * -45deg));
  transition: transform .5s var(--ease), background .4s;
}
.proj--fintech .proj__arrow { width: 56px; height: 56px; font-size: 20px; }

/* Mockup fragments (decorative placeholders) */
.mock-label { font-size: 10px; color: var(--faint); }
.bar { height: 6px; border-radius: 3px; background: var(--line); }
.bar--accent { background: var(--accent); margin-top: 14px; }
.bar--thin { height: 5px; }
.fin__w80 { width: 80%; } .fin__w70 { width: 70%; } .fin__w60 { width: 60%; } .fin__w50 { width: 50%; }

.fin {
  position: absolute; left: 8%; right: 8%; top: 9%; bottom: -4%; border-radius: 12px; overflow: hidden;
  background: #121522; border: 1px solid var(--border); box-shadow: 0 40px 100px rgba(0, 0, 0, .55), 0 0 0 1px rgba(14, 16, 25, .8);
  display: grid; grid-template-columns: minmax(0, 15%) minmax(0, 1fr);
}
.fin__side { border-right: 1px solid rgba(233, 233, 237, .06); padding: 18px 14px; display: flex; flex-direction: column; gap: 12px; }
.fin__logo { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, #8fbcff, #1e40af); }
.fin__main { padding: 22px 26px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.fin__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.fin__head .mock-label { font-size: 11px; }
.fin__balance { font-size: clamp(20px, 2.8vw, 36px); letter-spacing: -0.03em; margin-top: 4px; }
.fin__balance span { color: var(--dim); }
.fin__delta { font-family: var(--mono); font-size: 11px; padding: 4px 8px; border-radius: 6px; background: rgba(61, 139, 255, .14); color: var(--accent-light); }
.fin__chart { width: 100%; height: clamp(80px, 12vw, 170px); }
.fin__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fin__kpi { padding: 12px; border-radius: 8px; border: 1px solid rgba(233, 233, 237, .07); background: rgba(233, 233, 237, .02); }
.fin__kpi > div:last-child { font-size: 15px; margin-top: 4px; }

.shop, .erp {
  position: absolute; left: 9%; right: 9%; top: 10%; height: 62%; border-radius: 12px; overflow: hidden; padding: 16px;
  background: #121522; border: 1px solid var(--border); box-shadow: 0 40px 100px rgba(0, 0, 0, .55);
}
.shop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 34%); gap: 14px; }
.shop__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 1fr 1fr; gap: 8px; }
.shop__item { border-radius: 8px; }
.shop__item--1 { background: radial-gradient(circle at 50% 45%, #3d8bff 0 22%, #1a2240 23%); }
.shop__item--2 { background: radial-gradient(circle at 50% 45%, #5d6680 0 26%, #1a1d2b 27%); }
.shop__item--3 { background: radial-gradient(circle at 50% 45%, #8fbcff 0 18%, #1a2240 19%); }
.shop__item--4 { background: radial-gradient(circle at 50% 45%, #3f424d 0 24%, #1a1d2b 25%); }
.shop__item--5 { background: radial-gradient(circle at 50% 45%, #1e40af 0 24%, #161d36 25%); }
.shop__item--6 { background: radial-gradient(circle at 50% 45%, #5cc8f0 0 16%, #1a2240 17%); }
.shop__cart { border-radius: 8px; border: 1px solid rgba(233, 233, 237, .07); padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.shop__total { margin-top: auto; font-size: 14px; }
.shop__pay { height: 24px; border-radius: 6px; border: 1px solid var(--accent); background: rgba(61, 139, 255, .15); }

.erp { display: flex; flex-direction: column; gap: 10px; }
.erp .mock-label { font-size: 9px; }
.erp__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.erp__kpi { padding: 10px; border-radius: 8px; border: 1px solid rgba(233, 233, 237, .07); }
.erp__kpi > div:last-child { font-size: 13px; margin-top: 3px; }
.erp__kpi--on { border-color: rgba(61, 139, 255, .35); background: rgba(61, 139, 255, .08); }
.erp__kpi--on .mock-label { color: var(--accent-light); }
.erp__row { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid rgba(233, 233, 237, .05); }
.erp__row:last-child { border-bottom: 0; }
.erp__name { height: 5px; border-radius: 3px; background: var(--dim); }
.erp__w22 { width: 22%; } .erp__w30 { width: 30%; } .erp__w18 { width: 18%; } .erp__w26 { width: 26%; }
.erp__badge { font-size: 9px; padding: 2px 6px; border-radius: 4px; background: rgba(61, 139, 255, .15); color: var(--accent-light); }
.erp__badge--idle { background: rgba(233, 233, 237, .06); color: var(--muted); }
.erp__badge--sync { background: rgba(92, 200, 240, .12); color: #5cc8f0; }
.erp__prog { margin-left: auto; height: 4px; width: 30%; border-radius: 2px; }
.erp__prog--80 { background: linear-gradient(90deg, #3d8bff 80%, #2a2d3a 80%); }
.erp__prog--45 { background: linear-gradient(90deg, #3d8bff 45%, #2a2d3a 45%); }
.erp__prog--92 { background: linear-gradient(90deg, #3d8bff 92%, #2a2d3a 92%); }
.erp__prog--63 { background: linear-gradient(90deg, #3d8bff 63%, #2a2d3a 63%); }

/* ---- Tech orbit ------------------------------------------------------------------- */
.tech { position: relative; padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; }
.tech__rule { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(233, 233, 237, .1) 48px, rgba(233, 233, 237, .1) calc(100% - 48px), transparent); }
.tech__intro { max-width: 640px; }
.tech__lead { margin-top: 20px; max-width: 440px; }
.tech__wrap { margin-top: clamp(24px, 4vw, 48px); }
.orbit { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 720px; }
.orbit__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit__pulse { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: var(--accent-light); box-shadow: 0 0 10px var(--accent); }
.orbit__core { position: absolute; left: 50%; top: 50%; width: clamp(120px, 15vw, 190px); aspect-ratio: 1; transform: translate(-50%, -50%); z-index: 3; }
.orbit__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(61, 139, 255, .5); }
.orbit__badge {
  position: absolute; inset: 0; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: radial-gradient(circle at 50% 35%, #1d2a52, #111525 70%); border: 1px solid rgba(143, 188, 255, .35);
  box-shadow: 0 0 80px rgba(61, 139, 255, .35), inset 0 1px 0 rgba(233, 233, 237, .12);
}
.orbit__badge img { width: 40%; height: 40%; object-fit: contain; }
.orbit__badge span { font-family: var(--mono); font-size: clamp(9px, .9vw, 12px); letter-spacing: .24em; color: var(--text); padding-left: .24em; }
.orbit__nodes { list-style: none; margin: 0; padding: 0; }
.tech-node { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 4; }
/* Initial positions (no-JS fallback, 10 nodes); main.js animates from here. */
.tech-node:nth-child(1)  { left: 65.219%; top: 12.718%; }
.tech-node:nth-child(2)  { left: 75.432%; top: 34.418%; }
.tech-node:nth-child(3)  { left: 91.933%; top: 52.264%; }
.tech-node:nth-child(4)  { left: 73.419%; top: 68.22%; }
.tech-node:nth-child(5)  { left: 60.697%; top: 88.681%; }
.tech-node:nth-child(6)  { left: 39.042%; top: 76.843%; }
.tech-node:nth-child(7)  { left: 14.678%; top: 71.642%; }
.tech-node:nth-child(8)  { left: 19.808%; top: 48.37%; }
.tech-node:nth-child(9)  { left: 17.473%; top: 24.694%; }
.tech-node:nth-child(10) { left: 42.298%; top: 22.15%; }
.tech-node__pill {
  display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px;
  background: rgba(22, 24, 38, .85); border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.tech-node__pill--featured { border-color: rgba(61, 139, 255, .35); }
.tech-node__pill:hover { transform: scale(1.1); border-color: rgba(61, 139, 255, .7); box-shadow: 0 0 28px rgba(61, 139, 255, .4); }
.tech-node__badge { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #1a2236; color: var(--accent-light); font-family: var(--mono); font-size: 11px; }
.tech-node__badge--icon { font-family: var(--sans); font-size: 15px; }
.tech-node__pill--featured .tech-node__badge { background: #1f3160; color: #b8d4ff; }
.tech-node__name { font-size: 13px; color: var(--text); white-space: nowrap; }

/* ---- About / why ---------------------------------------------------------------------- */
.about { position: relative; padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 8vw, 100px); overflow: hidden; }
.about__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; margin-bottom: clamp(40px, 6vw, 72px); }
.about__lead { max-width: 360px; }
.about__rows { display: flex; flex-direction: column; }
.about__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 48px; padding: clamp(16px, 2vw, 28px) 0; border-top: 1px solid rgba(233, 233, 237, .07); }
.about__row--last { border-bottom: 1px solid rgba(233, 233, 237, .07); }
.about__word { position: relative; font-size: clamp(56px, 13.5vw, 200px); line-height: .86; letter-spacing: -0.06em; font-weight: 500; }
.about__word-stroke { color: transparent; -webkit-text-stroke: 1px rgba(233, 233, 237, .2); }
.about__word-fill {
  position: absolute; left: 0; top: 0; color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(100deg, #e9e9ed 40%, #8fbcff); clip-path: inset(0 100% 0 0);
}
.about__row--last .about__word-fill { background-image: linear-gradient(100deg, #e9e9ed 20%, #3d8bff); }
html:not(.js) .about__word-fill { clip-path: none; }
.about__text { margin: 0 0 clamp(8px, 1.4vw, 24px); max-width: 300px; font-size: 16px; line-height: 1.6; color: var(--soft); }

/* ---- Stats ---------------------------------------------------------------------------- */
.stats { position: relative; padding: clamp(60px, 8vw, 110px) 0; }
.stats__grid { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0; }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 28px 24px; border-left: 1px solid rgba(233, 233, 237, .08); }
.stat__value { margin: 0; font-size: clamp(56px, 6.4vw, 96px); line-height: 1; letter-spacing: -0.05em; font-weight: 500; }
.stat__label { margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--muted); }

/* ---- CTA --------------------------------------------------------------------------------- */
.cta {
  position: relative; min-height: 92svh; display: flex; align-items: center; overflow: hidden;
  margin: 0 clamp(8px, 1.5vw, 20px); border-radius: 24px; border: 1px solid rgba(233, 233, 237, .07); background: #0f1220;
}
.cta__blob { position: absolute; border-radius: 50%; pointer-events: none; }
.cta__blob--0 { left: 10%; top: 10%; width: 70vw; height: 70vw; background: radial-gradient(circle, rgba(30, 64, 175, .35), rgba(30, 64, 175, 0) 60%); }
.cta__blob--1 { left: 50%; top: 30%; width: 50vw; height: 50vw; background: radial-gradient(circle, rgba(61, 139, 255, .22), rgba(61, 139, 255, 0) 60%); }
.cta__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(233, 233, 237, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(233, 233, 237, .035) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000, transparent 75%);
}
.cta__glow { position: absolute; left: 0; top: 0; width: 640px; height: 640px; margin: -320px 0 0 -320px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(143, 188, 255, .22), rgba(61, 139, 255, .08) 35%, transparent 65%); }
.cta__inner { position: relative; z-index: 2; width: 100%; padding: clamp(80px, 10vw, 140px) var(--gutter); }
.cta__title { margin: 24px 0 0; max-width: 1100px; font-size: clamp(46px, 8.4vw, 136px); line-height: .95; letter-spacing: -0.055em; font-weight: 500; text-wrap: balance; }
.cta__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; margin-top: clamp(40px, 5vw, 64px); }
.cta__text { margin: 0; max-width: 420px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: var(--soft); }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.cta__mail { font-size: 15px; color: var(--accent-light); }

/* ---- Footer ----------------------------------------------------------------------------- */
.site-footer { position: relative; padding: clamp(64px, 8vw, 100px) 0 32px; overflow: hidden; }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 40px; }
.site-footer__brand { grid-column: span 2; min-width: 0; max-width: 360px; }
.site-footer__tag { margin: 18px 0 0; font-size: 15px; line-height: 1.6; color: var(--soft); }
.site-footer__heading { margin: 0 0 16px; font-family: var(--mono); font-size: 11px; font-weight: 400; line-height: 1.55; letter-spacing: .14em; color: var(--faint); }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer__links li { display: flex; }
.site-footer__links a { font-size: 15px; color: var(--chip); transition: color .2s; }
.site-footer__links a:hover, .site-footer__links a:focus-visible { color: var(--accent-light); }
.site-footer__social { display: inline-flex; align-items: center; gap: 8px; }
.site-footer__mail { font-size: 15px; color: var(--accent-light); }
.site-footer__giant {
  margin-top: clamp(56px, 8vw, 96px); font-size: clamp(64px, 17.5vw, 260px); line-height: .8; letter-spacing: -0.07em; font-weight: 500;
  color: transparent; -webkit-text-stroke: 1px rgba(143, 188, 255, .14); white-space: nowrap; user-select: none;
}
.site-footer__bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(233, 233, 237, .07); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--faint); }
.site-footer__top { color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.site-footer__top:hover { color: var(--text); }

/* ---- Scroll reveal (only with JS and motion allowed; see BOOT_SCRIPT) ------------------ */
@media (prefers-reduced-motion: no-preference) {
  .js [data-r] {
    opacity: 0; transform: translate3d(0, 36px, 0);
    transition: opacity .8s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms), filter .7s ease var(--d, 0ms);
  }
  .js [data-r="scale"] { transform: scale(.94); }
  .js [data-r="blur"] { transform: translate3d(0, 24px, 0); filter: blur(10px); }
  .js [data-r="word"] { transform: translate3d(0, .35em, 0); filter: blur(10px); }
  .js [data-r].is-in { opacity: 1; transform: none; filter: none; }
}

/* ---- Responsive (breakpoints match the prototype's JS: 860 / 1200) ------------------- */
@media (min-width: 861px) and (max-width: 1199px) {
  .hero__logo { left: 80%; }
}
@media (max-width: 860px) {
  .main-nav, .btn--nav { display: none; }
  .menu-toggle { display: grid; }
  .hero__logo { left: 50%; top: 24%; }
  .hero__content { padding-top: 44svh; }
  .hero__content-inner { max-width: 100%; }
  .process__label-text { display: none; }
  .orbit { aspect-ratio: 4 / 5; }
  /* Names are hidden on small screens but stay available to screen readers. */
  .tech-node__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
