/* QazDev Studio — dark motion design. Brand: #111319 / #5B73FF / #C9FF4A. */

@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("/assets/fonts/unbounded-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("/assets/fonts/unbounded-latin.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: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/manrope-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/manrope-latin.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 700; font-display: swap; src: url("/assets/fonts/jetbrains-mono-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin.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; }

@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  --bg: #07080b;
  --bg-2: #0c0e14;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .065);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .17);
  --text: #f3f4ef;
  --muted: #9ba1ad;
  --dim: #6b717d;
  --blue: #5b73ff;
  --blue-2: #3d55f0;
  --violet: #9b6bff;
  --lime: #c9ff4a;
  --grad: linear-gradient(100deg, #8494ff 0%, #a77dff 42%, #c9ff4a 100%);
  --max: 1320px;
  --gutter: clamp(18px, 4vw, 56px);
  --header-h: 76px;
  --radius: 24px;
  --display: "Unbounded", "Manrope", Arial, sans-serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "Courier New", monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
::selection { background: var(--lime); color: #07080b; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; border-radius: 6px; }
main { position: relative; }
h1, h2, h3 { text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
p { text-wrap: pretty; }

.skip-link { position: fixed; z-index: 200; top: 12px; left: 12px; padding: 10px 14px; border-radius: 10px; background: var(--lime); color: #07080b; font-weight: 800; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

/* Ambient layers */
.scroll-progress { position: fixed; z-index: 120; inset: 0 0 auto; height: 2px; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }
.cursor-glow { position: fixed; z-index: 3; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; background: radial-gradient(circle, rgba(91, 115, 255, .13), rgba(155, 107, 255, .05) 35%, transparent 62%); mix-blend-mode: screen; pointer-events: none; opacity: 0; transform: translate3d(var(--cx, -999px), var(--cy, -999px), 0); transition: opacity .4s, width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease); }
.has-pointer .cursor-glow { opacity: 1; }
.has-pointer .cursor-glow.is-hover { width: 260px; height: 260px; margin: -130px 0 0 -130px; background: radial-gradient(circle, rgba(201, 255, 74, .14), transparent 62%); }
.grain { position: fixed; z-index: 4; inset: -50%; pointer-events: none; opacity: .055; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 9s steps(9) infinite; }
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); } 60% { transform: translate(-2%, 6%); } 80% { transform: translate(5%, 1%); } }

/* Layout */
.shell { width: min(100%, var(--max)); margin-inline: auto; padding-inline: var(--gutter); }
main > section.shell, main > .shell { padding-block: clamp(72px, 10vw, 140px); }
.section-number, .eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--lime); font: 600 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.section-number::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 14px currentColor; }
.section-heading { display: grid; grid-template-columns: minmax(170px, .3fr) 1fr; gap: 28px 40px; align-items: start; margin-bottom: clamp(40px, 6vw, 80px); }
.section-heading h2 { margin: 0; font: 700 clamp(30px, 4.5vw, 66px)/1.05 var(--display); letter-spacing: -.035em; }
.section-heading > p { grid-column: 2; max-width: 620px; margin: 0; color: var(--muted); font-size: 17px; }
h2 em, h1 em, .grad-text { font-style: normal; background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: grad-shift 7s ease-in-out infinite alternate; }
.is-split em { background: none; animation: none; }
.is-split em .w > span { background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: grad-shift 7s ease-in-out infinite alternate; }
@keyframes grad-shift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* Buttons */
.button-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 26px; border: 1px solid transparent; border-radius: 999px; overflow: hidden; font: 700 15px/1 var(--sans); letter-spacing: -.01em; cursor: pointer; isolation: isolate; transform: translate3d(var(--tx, 0), var(--ty, 0), 0); transition: transform .35s var(--ease), box-shadow .35s, border-color .3s, background .3s; }
.button i { font-style: normal; transition: transform .45s var(--ease); }
.button:hover i { transform: translate(3px, -3px) rotate(0deg); }
.button-primary { background: linear-gradient(135deg, #6b80ff, var(--blue-2)); color: #fff; box-shadow: 0 14px 44px -14px rgba(91, 115, 255, .95), inset 0 1px 0 rgba(255, 255, 255, .28); }
.button-primary::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 48%, transparent 66%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.button-primary:hover::before { transform: translateX(120%); }
.button-primary:hover { box-shadow: 0 18px 60px -12px rgba(91, 115, 255, 1), inset 0 1px 0 rgba(255, 255, 255, .3); }
.button-ghost, .button-secondary { border-color: var(--line-2); background: rgba(255, 255, 255, .03); color: var(--text); backdrop-filter: blur(10px); }
.button-ghost:hover, .button-secondary:hover { border-color: var(--lime); color: var(--lime); }
.text-link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding-bottom: 4px; background: linear-gradient(var(--lime), var(--lime)) 0 100% / 0 1px no-repeat, linear-gradient(var(--line-2), var(--line-2)) 0 100% / 100% 1px no-repeat; font-weight: 700; transition: background-size .5s var(--ease), color .3s; }
.text-link:hover { color: var(--lime); background-size: 100% 1px, 100% 1px; }
.text-link i { font-style: normal; transition: transform .4s var(--ease); }
.text-link:hover i { transform: translate(3px, -3px); }

/* Header */
.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: var(--header-h); display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: clamp(18px, 3vw, 44px); padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); border-bottom: 1px solid transparent; transition: transform .5s var(--ease), background .4s, border-color .4s, backdrop-filter .4s; }
.site-header.is-scrolled { background: rgba(7, 8, 11, .72); border-color: var(--line); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
.site-header.is-hidden { transform: translateY(-110%); }
.brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; }
.brand-mark { width: 42px; height: 42px; flex: 0 0 42px; overflow: visible; }
.brand-mark rect { fill: #111319; stroke: rgba(255, 255, 255, .14); stroke-width: 1; }
.brand-mark .q { fill: none; stroke: var(--blue); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 90; stroke-dashoffset: 0; transition: stroke-dashoffset .9s var(--ease); }
.brand-mark .tail { fill: none; stroke: var(--lime); stroke-width: 5; stroke-linecap: round; transform-origin: 31px 31px; transition: transform .5s var(--ease); }
.brand-mark circle { fill: var(--lime); transform-origin: 39px 39px; animation: blink 3.2s ease-in-out infinite; }
.brand:hover .brand-mark .q { stroke-dashoffset: 180; }
.brand:hover .brand-mark .tail { transform: scale(1.25); }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.brand-word { display: grid; line-height: 1; }
.brand-word b { font: 800 19px/1 var(--sans); letter-spacing: -.04em; }
.brand-word small { margin-top: 4px; color: var(--dim); font: 600 8px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.site-nav a { position: relative; padding: 6px 0; color: #c5c9d2; font-size: 14px; font-weight: 600; transition: color .3s; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--lime); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.site-nav a:hover { color: #fff; }
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-contact { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: rgba(255, 255, 255, .05); font-size: 13px; font-weight: 700; transform: translate3d(var(--tx, 0), var(--ty, 0), 0); transition: transform .35s var(--ease), background .3s, color .3s; }
.header-contact::before { content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; background: conic-gradient(from var(--angle), var(--blue), var(--violet), var(--lime), var(--blue)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin-angle 4s linear infinite; }
.header-contact i { color: var(--lime); font-style: normal; transition: transform .4s var(--ease); }
.header-contact:hover { background: var(--lime); color: #07080b; }
.header-contact:hover i { color: #07080b; transform: rotate(45deg); }
@keyframes spin-angle { to { --angle: 360deg; } }
.menu-button { display: none; align-items: center; gap: 10px; padding: 10px 4px; border: 0; background: transparent; cursor: pointer; font: 700 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.menu-lines { position: relative; width: 22px; height: 12px; }
.menu-lines i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.menu-lines i:first-child { top: 1px; }
.menu-lines i:last-child { top: 9px; width: 70%; }
.menu-button[aria-expanded="true"] .menu-lines i:first-child { top: 5px; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-lines i:last-child { top: 5px; width: 100%; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + clamp(36px, 6vw, 80px)) 0 clamp(64px, 8vw, 110px); }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(650px circle at var(--sx, 72%) var(--sy, 30%), rgba(91, 115, 255, .14), transparent 60%); pointer-events: none; transition: background .2s; }
.hero-plain { min-height: auto; padding-bottom: clamp(48px, 7vw, 90px); }
.hero-bg { position: absolute; z-index: -2; inset: 0; pointer-events: none; }
.aurora { position: absolute; border-radius: 50%; opacity: .7; animation: drift 20s ease-in-out infinite alternate; will-change: transform; }
.aurora-1 { width: 62vw; height: 62vw; left: -22vw; top: -30vw; background: radial-gradient(circle, rgba(61, 85, 240, .55), transparent 62%); }
.aurora-2 { width: 50vw; height: 50vw; right: -18vw; top: -6vw; background: radial-gradient(circle, rgba(155, 107, 255, .38), transparent 62%); animation-duration: 26s; animation-delay: -8s; }
.aurora-3 { width: 44vw; height: 44vw; left: 26vw; bottom: -30vw; background: radial-gradient(circle, rgba(201, 255, 74, .2), transparent 62%); animation-duration: 30s; animation-delay: -14s; }
@keyframes drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(7vw, 5vh, 0) scale(1.15); } 100% { transform: translate3d(-5vw, -4vh, 0) scale(.92); } }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 8, 11, .9) 0%, rgba(7, 8, 11, .55) 40%, transparent 72%), linear-gradient(0deg, var(--bg) 0%, transparent 22%); }
.hero-lines { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse 75% 65% at 55% 35%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse 75% 65% at 55% 35%, #000 25%, transparent 75%); opacity: .55; animation: lines-pan 40s linear infinite; }
@keyframes lines-pan { to { background-position: 72px 72px, 72px 72px; } }
.hero-art { position: absolute; right: -8%; top: 50%; width: min(66vw, 1080px); height: auto; opacity: .9; -webkit-mask-image: radial-gradient(ellipse 58% 62% at 58% 50%, #000 42%, transparent 78%); mask-image: radial-gradient(ellipse 58% 62% at 58% 50%, #000 42%, transparent 78%); transform: translate3d(var(--px, 0px), calc(-50% + var(--py, 0px)), 0); animation: art-in 1.8s var(--ease) calc(var(--intro, 0s) + .15s) both; }
@keyframes art-in { from { opacity: 0; filter: blur(14px) saturate(.4); } to { opacity: .9; filter: none; } }
.hero-inner { position: relative; width: min(100%, var(--max)); }
.status-pill { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 8px 15px 8px 11px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .04); backdrop-filter: blur(10px); color: #c2c6cf; font: 500 12px/1.2 var(--mono); animation: fade-up 1s var(--ease) var(--intro, 0s) both; }
.pulse { position: relative; width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--lime); }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--lime); animation: ping 2s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
@keyframes fade-up { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
.is-offscreen .aurora, .is-offscreen .hero-lines, .is-offscreen .rotator span, .marquee.is-offscreen .marquee-track, .marquee.is-offscreen i, .lead-panel.is-offscreen::before, .case-screen.is-offscreen *, .case-screen.is-offscreen *::after { animation-play-state: paused; }
.hero-title { margin: 28px 0 0; max-width: 1100px; font: 800 clamp(34px, 6.1vw, 92px)/1.02 var(--display); letter-spacing: -.045em; }
.hero-title .line { display: block; overflow: hidden; padding: .04em 0 .1em; margin-bottom: -.1em; }
.hero-title .line > span { display: inline-block; transform: translateY(110%); animation: line-up 1.15s var(--ease) forwards; }
.hero-title .line:nth-child(1) > span { animation-delay: calc(var(--intro, 0s) + .1s); }
.hero-title .line:nth-child(2) > span { animation-delay: calc(var(--intro, 0s) + .22s); }
.hero-title .line:nth-child(3) > span { animation-delay: calc(var(--intro, 0s) + .34s); }
.hero-title .grad-text { animation: line-up 1.15s var(--ease) calc(var(--intro, 0s) + .34s) forwards, grad-shift 6s ease-in-out calc(var(--intro, 0s) + 1.5s) infinite alternate; }
@keyframes line-up { to { transform: none; } }
.service-title { max-width: 1000px; font-size: clamp(30px, 4.4vw, 64px); }
.service-title .line > span { display: inline; }
.hero-rotator { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4em; margin: 26px 0 0; color: var(--muted); font: 600 clamp(18px, 2vw, 26px)/1.3 var(--sans); animation: fade-up 1s var(--ease) calc(var(--intro, 0s) + .55s) both; }
.rotator { display: inline-block; height: 1.3em; overflow: hidden; color: var(--lime); }
.rotator span { display: block; height: 1.3em; animation: rotate-words 11s var(--ease) infinite; }
@keyframes rotate-words { 0%, 18% { transform: translateY(0); } 25%, 43% { transform: translateY(-100%); } 50%, 68% { transform: translateY(-200%); } 75%, 93% { transform: translateY(-300%); } 100% { transform: translateY(-400%); } }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 620px); gap: 28px 56px; align-items: end; margin-top: clamp(30px, 4vw, 52px); animation: fade-up 1s var(--ease) calc(var(--intro, 0s) + .7s) both; }
.hero-lead { max-width: 640px; margin: 0; color: #b9bdc6; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.6; }
.hero-plain .hero-lead { margin-top: 26px; animation: fade-up 1s var(--ease) calc(var(--intro, 0s) + .5s) both; }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; max-width: 860px; margin: clamp(46px, 6vw, 80px) 0 0; border-top: 1px solid var(--line); }
.hero-stats > div { padding: 20px 20px 0 0; }
.hero-stats > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.hero-stats dt { color: var(--dim); font: 500 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.hero-stats dd { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.hero-stats b { margin-right: 4px; font: 700 clamp(28px, 3vw, 42px)/1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.founder-card { position: absolute; z-index: 2; right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); bottom: clamp(70px, 9vw, 120px); width: 330px; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 20px; border: 1px solid var(--line-2); border-radius: var(--radius); background: rgba(13, 15, 21, .62); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9); transform-style: preserve-3d; animation: fade-up 1.1s var(--ease) calc(var(--intro, 0s) + .9s) both; transition: transform .25s ease-out; }
.founder-card small { color: var(--lime); font: 600 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.founder-card strong { display: block; margin-top: 6px; font-size: 18px; }
.founder-card p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.avatar { position: relative; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; }
.avatar::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from var(--angle), var(--blue), var(--violet), var(--lime), var(--blue)); animation: spin-angle 5s linear infinite; }
.avatar span { position: relative; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: #10131a; font: 800 15px var(--display); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 24px; height: 38px; margin-left: -12px; border: 1.5px solid var(--line-2); border-radius: 14px; animation: fade-up 1s var(--ease) calc(var(--intro, 0s) + 1.2s) both; }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--lime); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* Marquee */
.marquee { position: relative; z-index: 1; padding: 30px 0; overflow: hidden; border-block: 1px solid var(--line); background: linear-gradient(90deg, var(--bg), rgba(17, 19, 25, .6), var(--bg)); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-row { display: flex; width: max-content; }
.marquee-row + .marquee-row { margin-top: 18px; }
.marquee-track { display: flex; align-items: center; gap: 30px; padding-right: 30px; animation: marquee 38s linear infinite; }
.marquee-row.reverse .marquee-track { animation-duration: 46s; animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-row:first-child span { font: 700 clamp(26px, 3.6vw, 52px)/1.1 var(--display); letter-spacing: -.03em; white-space: nowrap; }
.marquee-row:first-child span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .45); }
.marquee-row:first-child i { color: var(--lime); font-style: normal; font-size: clamp(18px, 2vw, 28px); animation: spin 8s linear infinite; }
.marquee-row.reverse span { color: var(--dim); font: 500 14px var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.marquee-row.reverse i { color: var(--blue); font-style: normal; }
@keyframes marquee { to { transform: translateX(-100%); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Reveal system: content is hidden only while JavaScript can reveal it. */
.js [data-reveal] { opacity: 0; translate: 0 34px; transition: opacity 1s var(--ease), translate 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-in, .reveal-all [data-reveal] { opacity: 1; translate: 0 0; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w > span { display: inline-block; transform: translateY(108%); transition: transform 1s var(--ease); transition-delay: calc(var(--wi, 0) * 45ms); }
.is-in .w > span, .reveal-all .w > span { transform: none; }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
main > .principles.shell { padding-block: clamp(56px, 7vw, 96px) 0; }
.principles article { position: relative; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .4s, background .4s, transform .5s var(--ease); }
.principles article:hover { border-color: rgba(201, 255, 74, .4); background: var(--surface-2); transform: translateY(-6px); }
.p-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(91, 115, 255, .14); color: #a9b5ff; font: 700 12px var(--mono); }
.principles h3 { margin: 22px 0 8px; font: 700 18px/1.25 var(--display); letter-spacing: -.02em; }
.principles p { margin: 0; color: var(--muted); font-size: 14px; }

/* Glow cards: border light follows the pointer */
[data-glow] { position: relative; }
[data-glow]::after { content: ""; position: absolute; inset: 0; z-index: 2; padding: 1px; border-radius: inherit; background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(201, 255, 74, .85), rgba(91, 115, 255, .5) 30%, transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; pointer-events: none; }
[data-glow]:hover::after { opacity: 1; }

/* Case */
.case-feature { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.case-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.case-meta span { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.case-copy h3 { margin: 0 0 16px; font: 800 clamp(34px, 4.2vw, 60px)/1 var(--display); letter-spacing: -.04em; }
.case-copy p { margin: 0 0 24px; color: var(--muted); font-size: 17px; }
.case-copy ul { margin: 0 0 30px; padding: 0; list-style: none; }
.case-copy li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); font-weight: 600; }
.case-copy li:last-child { border-bottom: 1px solid var(--line); }
.case-copy li::before { content: ""; width: 18px; height: 18px; flex: 0 0 18px; border-radius: 6px; background: rgba(201, 255, 74, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.5 2.5L13 6' fill='none' stroke='%23c9ff4a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.case-screen { position: relative; min-height: 440px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line-2); border-radius: 28px; background: radial-gradient(120% 90% at 100% 0%, rgba(91, 115, 255, .35), transparent 55%), radial-gradient(90% 80% at 0% 100%, rgba(201, 255, 74, .12), transparent 60%), #0d1017; box-shadow: 0 50px 120px -40px rgba(61, 85, 240, .55); transform-style: preserve-3d; transition: transform .25s ease-out; }
.case-screen::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .09), transparent 60%); pointer-events: none; }
.case-screen-bar { display: flex; align-items: center; gap: 7px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.case-screen-bar span { width: 10px; height: 10px; border-radius: 50%; background: #2a2e38; }
.case-screen-bar span:nth-child(1) { background: #ff5f57; } .case-screen-bar span:nth-child(2) { background: #febc2e; } .case-screen-bar span:nth-child(3) { background: #28c840; }
.case-screen-bar b { margin-left: 14px; padding: 5px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--muted); font: 500 11px var(--mono); }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--lime); font: 700 10px var(--mono); font-style: normal; letter-spacing: .12em; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); animation: blink 1.4s infinite; }
.case-screen-body { flex: 1; display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 3vw, 40px); }
.case-screen-body small { color: var(--lime); font: 600 11px var(--mono); letter-spacing: .14em; }
.mock-search { display: flex; align-items: center; min-height: 52px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(0, 0, 0, .3); color: #d9dce3; font: 500 14px var(--mono); }
.mock-search i { width: 2px; height: 18px; margin-left: 3px; background: var(--lime); animation: blink 1s steps(1) infinite; }
.mock-rows { display: grid; gap: 10px; }
.mock-rows span { height: 14px; border-radius: 7px; background: linear-gradient(90deg, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, .16) 40%, rgba(255, 255, 255, .06) 80%); background-size: 220% 100%; animation: shimmer 2.4s linear infinite; }
.mock-rows span:nth-child(2) { width: 82%; animation-delay: .2s; } .mock-rows span:nth-child(3) { width: 64%; animation-delay: .4s; }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.case-screen-body strong { margin-top: auto; font: 800 clamp(26px, 3.2vw, 46px)/1.05 var(--display); letter-spacing: -.04em; }
.mock-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-flow i { position: relative; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .04); color: var(--muted); font: 500 11px var(--mono); font-style: normal; text-align: center; overflow: hidden; }
.mock-flow i::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; animation: flow 4.5s var(--ease) infinite; }
.mock-flow i:nth-child(2)::after { animation-delay: 1.5s; } .mock-flow i:nth-child(3)::after { animation-delay: 3s; }
@keyframes flow { 0% { transform: scaleX(0); } 30% { transform: scaleX(1); transform-origin: left; } 31% { transform-origin: right; } 60%, 100% { transform: scaleX(0); transform-origin: right; } }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.service-card { position: relative; min-height: 330px; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 38px); overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); transition: transform .6s var(--ease), border-color .4s, background .4s; }
.service-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(91, 115, 255, .2), transparent 55%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.service-card:hover { transform: translateY(-8px); border-color: transparent; }
.service-card:hover::before { opacity: 1; }
.service-num { position: absolute; top: 22px; right: 28px; color: transparent; font: 800 clamp(54px, 6vw, 90px)/1 var(--display); -webkit-text-stroke: 1px rgba(255, 255, 255, .12); transition: -webkit-text-stroke-color .4s, transform .6s var(--ease); }
.service-card:hover .service-num { -webkit-text-stroke-color: rgba(201, 255, 74, .55); transform: translateY(-4px) rotate(-4deg); }
.service-icon { width: 52px; height: 52px; padding: 12px; border-radius: 16px; background: rgba(201, 255, 74, .1); fill: none; stroke: var(--lime); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease), background .4s; }
.js .service-icon * { stroke-dasharray: 160; stroke-dashoffset: 160; transition: stroke-dashoffset 1.8s var(--ease) .3s; }
.js .is-in .service-icon *, .reveal-all .service-icon * { stroke-dashoffset: 0; }
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.08); background: rgba(201, 255, 74, .18); }
.service-card h3 { position: relative; margin: auto 0 10px; padding-top: 40px; font: 700 clamp(22px, 2.3vw, 32px)/1.12 var(--display); letter-spacing: -.03em; }
.service-card p { position: relative; margin: 0; color: var(--muted); }
.service-foot { position: relative; display: flex; align-items: center; justify-content: space-between; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.service-foot b { font: 600 14px var(--mono); color: #e3e5ea; }
.service-foot i { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; font-style: normal; transition: background .4s, color .4s, transform .6s var(--ease), border-color .4s; }
.service-card:hover .service-foot i { background: var(--lime); border-color: var(--lime); color: #07080b; transform: rotate(45deg); }

/* Process */
.process-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.process-steps::before, .process-steps::after { content: ""; position: absolute; top: 8px; left: 0; right: 0; height: 2px; border-radius: 2px; background: var(--line); }
.process-steps::after { right: auto; width: calc(var(--progress, 0) * 100%); background: var(--grad); box-shadow: 0 0 18px rgba(201, 255, 74, .5); }
.process-steps li { position: relative; padding-top: 44px; }
.step-dot { position: absolute; z-index: 1; top: 1px; left: 0; width: 16px; height: 16px; border: 2px solid var(--line-2); border-radius: 50%; background: var(--bg); transition: border-color .5s, background .5s, box-shadow .5s, transform .5s var(--ease); }
.process-steps li.is-active .step-dot { border-color: var(--lime); background: var(--lime); box-shadow: 0 0 0 6px rgba(201, 255, 74, .15), 0 0 24px var(--lime); transform: scale(1.1); }
.step-time { color: var(--lime); font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.process-steps strong { display: block; margin: 12px 0 8px; font: 700 clamp(19px, 1.8vw, 24px)/1.2 var(--display); letter-spacing: -.02em; transition: color .5s; }
.process-steps li:not(.is-active) strong { color: #8d929c; }
.process-steps p { margin: 0; color: var(--muted); font-size: 15px; }
.process-line { display: none; }

/* Lead */
.lead-panel { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); padding: clamp(26px, 5vw, 64px); overflow: hidden; border-radius: 34px; background: radial-gradient(80% 90% at 0% 0%, rgba(91, 115, 255, .22), transparent 60%), radial-gradient(60% 70% at 100% 100%, rgba(201, 255, 74, .08), transparent 60%), #0c0e14; }
.lead-panel::before { content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; background: conic-gradient(from var(--angle), rgba(91, 115, 255, .9), rgba(155, 107, 255, .2), rgba(201, 255, 74, .9), rgba(91, 115, 255, .2), rgba(91, 115, 255, .9)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin-angle 8s linear infinite; pointer-events: none; }
.lead-intro h2 { margin: 24px 0 20px; font: 700 clamp(32px, 4.4vw, 62px)/1.05 var(--display); letter-spacing: -.035em; }
.lead-intro p { max-width: 460px; margin: 0; color: var(--muted); font-size: 17px; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-self: start; }
.lead-form label { display: flex; flex-direction: column; gap: 9px; }
.lead-form label > span { color: var(--dim); font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; transition: color .3s; }
.lead-form label:focus-within > span { color: var(--lime); }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; border: 1px solid var(--line-2); border-radius: 16px; outline: 0; background: rgba(0, 0, 0, .28); color: var(--text); transition: border-color .3s, box-shadow .3s, background .3s; }
.lead-form input, .lead-form select { min-height: 58px; padding: 0 18px; }
.lead-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23c9ff4a' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 12px; }
.lead-form option { background: #12151c; }
.lead-form textarea { min-height: 150px; padding: 16px 18px; resize: vertical; }
.lead-form ::placeholder { color: #5d636e; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--lime); background: rgba(0, 0, 0, .4); box-shadow: 0 0 0 4px rgba(201, 255, 74, .12), 0 0 40px -10px rgba(201, 255, 74, .4); }
.lead-form .lead-message, .lead-form .button, .lead-form > small { grid-column: 1 / -1; }
.lead-form .button { width: 100%; min-height: 62px; }
.lead-form > small { color: var(--dim); font-size: 12px; }

/* Utilities */
.utility-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.utility-grid a { position: relative; min-height: 270px; display: flex; flex-direction: column; padding: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transform-style: preserve-3d; transition: transform .25s ease-out, border-color .4s, background .5s; }
.utility-grid a::before { content: ""; position: absolute; inset: auto -30% -60% auto; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(91, 115, 255, .45), transparent 65%); opacity: 0; transition: opacity .5s, transform .8s var(--ease); transform: scale(.6); }
.utility-grid a:hover { border-color: rgba(91, 115, 255, .5); }
.utility-grid a:hover::before { opacity: 1; transform: scale(1); }
.utility-grid small { position: relative; color: var(--lime); font: 600 11px var(--mono); letter-spacing: .08em; }
.utility-grid strong { position: relative; margin-top: auto; max-width: 320px; font: 700 clamp(22px, 2.3vw, 30px)/1.12 var(--display); letter-spacing: -.03em; }
.utility-grid span { position: relative; margin-top: 22px; color: var(--muted); font-size: 14px; font-weight: 700; transition: color .3s, transform .5s var(--ease); }
.utility-grid a:hover span { color: var(--lime); transform: translateX(6px); }

/* Service page */
.service-hero .hero-bottom { grid-template-columns: minmax(0, 680px); }
.service-hero .hero-inner { padding-right: max(var(--gutter), 380px); }
.location-note { grid-template-columns: 56px 1fr; }
.location-note p { color: #c4c8d0; }
.deliverable-list { margin: 0; padding: 0; list-style: none; counter-reset: d; }
.deliverable-list li { display: grid; grid-template-columns: 80px 1fr 44px; align-items: center; gap: 12px; min-height: 92px; border-bottom: 1px solid var(--line); transition: background .4s, padding .5s var(--ease); }
.deliverable-list li:first-child { border-top: 1px solid var(--line); }
.deliverable-list li:hover { padding-left: 14px; background: linear-gradient(90deg, rgba(91, 115, 255, .1), transparent 70%); }
.deliverable-list span { color: var(--lime); font: 600 13px var(--mono); }
.deliverable-list p { margin: 0; font: 600 clamp(17px, 1.9vw, 24px)/1.3 var(--sans); letter-spacing: -.015em; }
.deliverable-list i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(201, 255, 74, .12); color: var(--lime); font-style: normal; font-weight: 800; transform: scale(.4) rotate(-90deg); opacity: 0; transition: transform .7s var(--ease) .3s, opacity .5s .3s; }
.deliverable-list li.is-in i, .reveal-all .deliverable-list i, html:not(.js) .deliverable-list i { transform: none; opacity: 1; }
main > .case-inline-wrap.shell { padding-block: 0; }
.case-inline { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 100px); padding: clamp(28px, 5vw, 64px); border-radius: 34px; background: radial-gradient(100% 120% at 100% 0%, rgba(91, 115, 255, .5), transparent 55%), linear-gradient(135deg, #1b2363, #0c0e14 70%); border: 1px solid var(--line-2); overflow: hidden; }
.case-inline h2 { margin: 22px 0 0; font: 700 clamp(30px, 4vw, 56px)/1.05 var(--display); letter-spacing: -.035em; }
.case-inline > div:last-child { align-self: end; padding-top: 24px; border-top: 1px solid var(--line-2); }
.case-inline > div:last-child strong { font: 800 26px var(--display); }
.case-inline > div:last-child p { color: #c9cde6; font-size: 16px; }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.price-grid article { position: relative; min-height: 360px; display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 34px); border: 1px solid var(--line); border-radius: 28px; background: var(--surface); transition: transform .6s var(--ease), background .4s; }
.price-grid article:nth-child(2) { background: radial-gradient(120% 80% at 50% 0%, rgba(91, 115, 255, .22), transparent 60%), var(--surface); border-color: rgba(91, 115, 255, .4); }
.price-grid article:hover { transform: translateY(-8px); background-color: var(--surface-2); }
.price-grid small { color: var(--lime); font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.price-grid strong { margin-top: 40px; font: 800 clamp(28px, 2.8vw, 40px)/1 var(--display); letter-spacing: -.04em; }
.price-grid span { margin-top: 10px; color: var(--muted); font: 500 12px var(--mono); }
.price-grid p { margin: 24px 0; color: var(--muted); }
.price-grid a { position: relative; z-index: 3; margin-top: auto; display: inline-flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 20px; border: 1px solid var(--line-2); border-radius: 999px; font-weight: 700; transform: translate3d(var(--tx, 0), var(--ty, 0), 0); transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s; }
.price-grid a:hover { background: var(--lime); border-color: var(--lime); color: #07080b; }
.price-grid a i { font-style: normal; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); interpolate-size: allow-keywords; }
.faq-list details::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
.faq-list details[open]::details-content { block-size: auto; }
.faq-list summary { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; cursor: pointer; list-style: none; font: 600 clamp(17px, 1.9vw, 24px)/1.3 var(--sans); transition: color .3s; }
.faq-list summary:hover { color: var(--lime); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { position: relative; width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid var(--line-2); border-radius: 50%; transition: transform .5s var(--ease), background .3s, border-color .3s; }
.faq-list summary span::before, .faq-list summary span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: currentColor; }
.faq-list summary span::after { transform: rotate(90deg); transition: transform .5s var(--ease); }
.faq-list details[open] summary span { background: var(--lime); border-color: var(--lime); color: #07080b; transform: rotate(180deg); }
.faq-list details[open] summary span::after { transform: rotate(0deg); }
.faq-list details > p { max-width: 860px; margin: -6px 0 30px; color: var(--muted); font-size: 17px; }

/* Blog */
.editorial-hero .hero-title { font-size: clamp(30px, 4.6vw, 66px); }
.featured-article > a { position: relative; display: grid; grid-template-columns: .3fr 1.4fr .4fr; gap: 30px; align-items: end; padding: clamp(26px, 4vw, 52px); border: 1px solid var(--line-2); border-radius: 30px; background: radial-gradient(90% 120% at 0% 0%, rgba(91, 115, 255, .28), transparent 60%), radial-gradient(60% 90% at 100% 100%, rgba(201, 255, 74, .1), transparent 60%), var(--bg-2); overflow: hidden; transition: transform .6s var(--ease); }
.featured-article > a:hover { transform: translateY(-6px); }
main > .featured-article.shell { padding-block: 0 clamp(48px, 6vw, 80px); }
.featured-label { align-self: start; color: var(--lime); font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.featured-article small { color: var(--muted); font: 500 11px var(--mono); text-transform: uppercase; }
.featured-article h2 { margin: 14px 0; max-width: 820px; font: 800 clamp(30px, 4vw, 58px)/1.05 var(--display); letter-spacing: -.04em; }
.featured-article p { max-width: 700px; margin: 0; color: var(--muted); font-size: 17px; }
.featured-article b { justify-self: end; padding: 12px 18px; border-radius: 999px; background: var(--lime); color: #07080b; font: 700 12px var(--mono); white-space: nowrap; }
main > .article-list.shell { padding-top: 0; }
.article-list-head { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line-2); color: var(--dim); font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.article-list > a { position: relative; display: grid; grid-template-columns: 52px 130px 1fr 90px 44px; gap: 22px; align-items: center; padding: 26px 12px; border-bottom: 1px solid var(--line); isolation: isolate; transition: padding .5s var(--ease); }
.article-list > a::before { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: 18px; background: linear-gradient(90deg, rgba(91, 115, 255, .14), rgba(201, 255, 74, .04)); transform: scaleY(0); transition: transform .5s var(--ease); }
.article-list > a:hover { padding-left: 22px; }
.article-list > a:hover::before { transform: none; }
.article-list > a > span, .article-list > a > small, .article-list > a > b { color: var(--dim); font: 500 11px var(--mono); text-transform: uppercase; }
.article-list > a > small { color: var(--lime); }
.article-list h2 { margin: 0; font: 700 clamp(19px, 2vw, 28px)/1.2 var(--display); letter-spacing: -.025em; }
.article-list p { margin: 8px 0 0; max-width: 760px; color: var(--muted); font-size: 15px; }
.article-list i { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; font-style: normal; transition: transform .5s var(--ease), background .3s, color .3s; }
.article-list > a:hover i { background: var(--lime); color: #07080b; transform: rotate(45deg); }

/* Article (legacy content normalised into the dark system) */
.article-wrap { width: min(100%, 940px); padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px)) !important; }
.article-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 36px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--lime); font: 600 12px var(--mono); transition: background .3s, color .3s; }
.article-back:hover { background: var(--lime); color: #07080b; }
.legacy-content main { display: block; }
.legacy-content .p-container { width: 100% !important; max-width: none !important; padding: 0 !important; }
.legacy-content .p-breadcrumb { display: none; }
.legacy-content .p-tag { display: inline-block; margin-bottom: 20px; color: var(--lime); font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.legacy-content h1 { margin: 0 0 28px; font: 800 clamp(32px, 5vw, 64px)/1.06 var(--display); letter-spacing: -.04em; }
.legacy-content h2 { margin: 60px 0 18px; font: 700 clamp(24px, 3vw, 36px)/1.15 var(--display); letter-spacing: -.03em; }
.legacy-content h3 { margin: 38px 0 14px; font: 700 21px/1.3 var(--sans); }
.legacy-content p, .legacy-content li { color: #c3c7cf; font: 400 18px/1.75 var(--sans); }
.legacy-content p { margin: 0 0 20px; }
.legacy-content strong { color: #fff; }
.legacy-content a { color: var(--lime); text-decoration: underline; text-decoration-color: rgba(201, 255, 74, .35); text-underline-offset: 4px; }
.legacy-content ul, .legacy-content ol { padding-left: 24px; }
.legacy-content li { margin-bottom: 10px; }
.legacy-content li::marker { color: var(--lime); }
.legacy-content code { padding: 2px 7px; border-radius: 6px; background: rgba(255, 255, 255, .08); font: 500 .9em var(--mono); }
.legacy-content .p-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 32px 0; }
.legacy-content .p-box, .legacy-content .p-card { padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); transition: transform .5s var(--ease), border-color .3s; }
.legacy-content .p-card:hover { transform: translateY(-4px); border-color: rgba(91, 115, 255, .45); }
.legacy-content .p-box--blue { border-left: 3px solid var(--blue); }
.legacy-content .p-box--emerald { border-left: 3px solid var(--lime); }
.legacy-content .p-box--gold { border-left: 3px solid #f5c542; }
.legacy-content .p-box-title, .legacy-content .p-card-title { margin-bottom: 12px; color: #fff; font-weight: 800; }
.legacy-content .p-card-icon { font-size: 26px; margin-bottom: 12px; }
.legacy-content .p-card-desc, .legacy-content .p-box p { font-size: 15px; }
.legacy-content .p-card-tag { color: var(--lime); font: 600 11px var(--mono); }
.legacy-content .p-cta { position: relative; margin-top: 60px; padding: clamp(26px, 4vw, 44px); overflow: hidden; border: 1px solid var(--line-2); border-radius: 30px; background: radial-gradient(100% 120% at 100% 0%, rgba(91, 115, 255, .45), transparent 55%), #0d1017; }
.legacy-content .p-cta h2 { margin-top: 0; }
.legacy-content .p-cta p { color: #c9cde6; }
.legacy-content .p-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.legacy-content .p-btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 22px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text); font: 700 14px var(--sans); text-decoration: none; transition: background .3s, color .3s, border-color .3s; }
.legacy-content .p-btn--wa { background: var(--lime); border-color: var(--lime); color: #07080b; }
.legacy-content .p-btn:hover { border-color: var(--lime); }

/* Catalog */
.catalog-inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 28px clamp(36px, 8vw, 120px); align-items: end; }
.catalog-hero h1 { margin: 26px 0 0; font: 800 clamp(30px, 4.6vw, 66px)/1.06 var(--display); letter-spacing: -.045em; }
.catalog-hero p { margin: 0; color: var(--muted); font-size: 17px; }
.catalog-search { grid-column: 1 / -1; margin-top: 18px; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; min-height: 72px; padding: 0 22px; border: 1px solid var(--line-2); border-radius: 22px; background: rgba(0, 0, 0, .35); backdrop-filter: blur(12px); transition: border-color .3s, box-shadow .3s; }
.catalog-search:focus-within { border-color: var(--lime); box-shadow: 0 0 0 4px rgba(201, 255, 74, .12), 0 0 60px -14px rgba(201, 255, 74, .45); }
.catalog-search > span { color: var(--lime); font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.catalog-search input { width: 100%; border: 0; outline: 0; background: transparent; font: 600 clamp(18px, 2.2vw, 26px) var(--sans); }
.catalog-search kbd { padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 8px; color: var(--muted); font: 600 12px var(--mono); }
main > .catalog-results.shell { padding-top: 0; }
.catalog-results-head { display: flex; justify-content: space-between; padding: 16px 0 20px; color: var(--dim); font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.catalog-results-head button { border: 0; background: transparent; color: var(--lime); cursor: pointer; font: inherit; text-decoration: underline; }
.program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.program-card { position: relative; min-height: 250px; display: grid; grid-template-columns: 52px 1fr 24px; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); transition: transform .5s var(--ease), border-color .3s, background .3s; }
.program-card:hover { transform: translateY(-5px); border-color: rgba(91, 115, 255, .5); background: var(--surface-2); }
.program-icon { width: 52px; height: 52px; display: grid; place-items: center; overflow: hidden; padding: 6px; border-radius: 14px; background: #f3f4ef; color: #111319; font: 800 20px var(--display); }
.program-icon img { width: 100%; height: 100%; object-fit: contain; }
.program-card small { color: var(--lime); font: 600 10px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.program-card h2 { margin: 8px 0 10px; font: 700 21px/1.15 var(--display); letter-spacing: -.02em; }
.program-card p { margin: 0; color: var(--muted); font-size: 14px; }
.program-card b { display: block; margin-top: 18px; color: var(--dim); font: 500 10px var(--mono); text-transform: uppercase; }
.program-card i { color: var(--muted); font-style: normal; transition: transform .4s var(--ease), color .3s; }
.program-card:hover i { color: var(--lime); transform: translate(3px, -3px); }
.catalog-empty { padding: 70px 0; text-align: center; }
.catalog-empty strong { font: 700 28px var(--display); }
.catalog-empty p { color: var(--muted); }
main > .program-hero.shell { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px)); padding-bottom: 42px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 44px; color: var(--dim); font: 500 11px var(--mono); text-transform: uppercase; }
.breadcrumbs a:hover { color: var(--lime); }
.program-title-row { display: grid; grid-template-columns: 110px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.program-icon.large { width: 110px; height: 110px; padding: 14px; border-radius: 28px; font-size: 42px; box-shadow: 0 30px 80px -30px rgba(91, 115, 255, .7); }
.program-title-row small { color: var(--lime); font: 600 11px var(--mono); text-transform: uppercase; }
.program-title-row h1 { margin: 12px 0; font: 800 clamp(36px, 6vw, 84px)/1 var(--display); letter-spacing: -.045em; }
.program-title-row p { max-width: 800px; margin: 0; color: var(--muted); font-size: 18px; }
.program-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 46px 0 0; }
.program-facts div { min-height: 92px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.program-facts dt { color: var(--dim); font: 500 10px var(--mono); text-transform: uppercase; }
.program-facts dd { margin: 12px 0 0; font-weight: 700; overflow-wrap: anywhere; }
main > .program-body.shell { padding-top: 40px; display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(40px, 8vw, 120px); }
.program-body h2 { margin: 22px 0 18px; font: 700 clamp(26px, 3.4vw, 46px)/1.1 var(--display); letter-spacing: -.03em; }
.program-body article > p { max-width: 780px; color: #c3c7cf; font-size: 18px; line-height: 1.75; }
.program-body ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.program-body li { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font-size: 14px; font-weight: 600; }
.download-panel { align-self: start; position: sticky; top: calc(var(--header-h) + 20px); padding: 24px; border: 1px solid var(--line-2); border-radius: 26px; background: radial-gradient(100% 70% at 50% 0%, rgba(91, 115, 255, .22), transparent 70%), var(--bg-2); }
.download-panel > small { display: block; margin-bottom: 20px; color: var(--lime); font: 600 11px var(--mono); text-transform: uppercase; }
.download-panel .button { width: 100%; margin-bottom: 10px; padding: 14px 20px; min-height: 54px; line-height: 1.25; text-align: center; }
.download-panel p { margin: 16px 0 0; color: var(--dim); font-size: 12px; }
.related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.related-grid a { min-height: 170px; display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); transition: transform .5s var(--ease), border-color .3s; }
.related-grid a:hover { transform: translateY(-5px); border-color: rgba(201, 255, 74, .45); }
.related-grid small { color: var(--lime); font: 600 10px var(--mono); }
.related-grid strong { margin: auto 0; font: 700 20px var(--display); }
.related-grid span { color: var(--muted); font-size: 13px; font-weight: 700; }

/* 404 */
.not-found { min-height: 90svh; }
.not-found h1 { margin: 18px 0 10px; font: 800 clamp(34px, 6vw, 84px)/1.05 var(--display); letter-spacing: -.045em; }
.not-found p { margin: 0 0 30px; color: var(--muted); font-size: 18px; }
.glitch { position: relative; display: inline-block; font: 900 clamp(96px, 20vw, 260px)/.9 var(--display); letter-spacing: -.06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; background: inherit; -webkit-background-clip: text; background-clip: text; }
.glitch::before { animation: glitch 2.6s steps(2) infinite; clip-path: inset(0 0 55% 0); }
.glitch::after { animation: glitch 2.1s steps(2) infinite reverse; clip-path: inset(55% 0 0 0); }
@keyframes glitch { 0%, 82%, 100% { transform: none; } 84% { transform: translate(-6px, 2px); } 88% { transform: translate(5px, -3px); } 92% { transform: translate(-3px, 1px); } }

/* Footer */
.site-footer { position: relative; z-index: 1; width: min(100%, var(--max)); margin: 0 auto; padding: 0 var(--gutter); overflow: hidden; }
.footer-cta { display: flex; flex-direction: column; gap: 22px; padding: clamp(70px, 9vw, 120px) 0 clamp(50px, 6vw, 80px); border-top: 1px solid var(--line); }
.footer-big { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .25em; width: fit-content; font: 800 clamp(34px, 6.4vw, 96px)/1.02 var(--display); letter-spacing: -.05em; transition: color .4s; }
.footer-big em { font-style: normal; background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: grad-shift 6s ease-in-out infinite alternate; }
.footer-big i { display: inline-block; color: var(--lime); font-style: normal; transition: transform .6s var(--ease); }
.footer-big:hover i { transform: translateX(18px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, .7fr); gap: 30px; padding: 40px 0 30px; border-top: 1px solid var(--line); }
.footer-grid > div { display: flex; flex-direction: column; gap: 8px; }
.footer-grid strong { font: 800 24px var(--display); letter-spacing: -.04em; }
.footer-grid p { max-width: 320px; margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.footer-grid small { margin-bottom: 6px; color: var(--dim); font: 600 10px var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.footer-grid a, .footer-grid span { width: fit-content; color: #c3c7cf; font-size: 14px; transition: color .3s; }
.footer-grid a:hover { color: var(--lime); }
.footer-wordmark { margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); overflow: hidden; line-height: .78; pointer-events: none; user-select: none; }
.footer-wordmark span { display: block; text-align: center; font: 900 clamp(56px, 14.2vw, 205px)/.9 var(--display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .14); background: linear-gradient(180deg, rgba(91, 115, 255, .28), transparent 75%); -webkit-background-clip: text; background-clip: text; transform: translateY(18%); }

.mobile-cta { display: none; }

/* Responsive */
@media (max-width: 1180px) {
  .founder-card { position: relative; right: auto; bottom: auto; margin: 44px var(--gutter) 0; width: auto; max-width: 520px; }
  .hero { justify-content: flex-start; }
  .service-hero .hero-inner { padding-right: var(--gutter); }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  :root { --header-h: 66px; }
  .site-header { grid-template-columns: 1fr auto; }
  .header-contact { display: none; }
  .menu-button { display: inline-flex; }
  .site-nav { position: fixed; z-index: -1; inset: 0; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 0; padding: var(--header-h) var(--gutter) 40px; background: radial-gradient(80% 60% at 100% 0%, rgba(91, 115, 255, .3), transparent 60%), rgba(7, 8, 11, .97); backdrop-filter: blur(20px); clip-path: circle(0 at calc(100% - 40px) 34px); transition: clip-path .8s var(--ease); }
  .site-nav.open { clip-path: circle(150% at calc(100% - 40px) 34px); }
  .site-nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font: 700 clamp(28px, 8vw, 44px)/1.1 var(--display); letter-spacing: -.03em; opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s; }
  .site-nav a::after { display: none; }
  .site-nav.open a { opacity: 1; transform: none; }
  .site-nav.open a:nth-child(1) { transition-delay: .15s; } .site-nav.open a:nth-child(2) { transition-delay: .22s; } .site-nav.open a:nth-child(3) { transition-delay: .29s; } .site-nav.open a:nth-child(4) { transition-delay: .36s; }
  .site-header:has(.site-nav.open) { background: transparent; border-color: transparent; backdrop-filter: none; }
  .hero-art { right: -30%; top: 34%; width: 120vw; opacity: .5; }
  .hero-bottom, .service-hero .hero-bottom { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-stats > div:nth-child(n + 3) { border-top: 1px solid var(--line); margin-top: 18px; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading > p { grid-column: 1; }
  .case-feature, .lead-panel, .case-inline { grid-template-columns: 1fr; }
  .case-screen { min-height: 380px; }
  .process-steps { grid-template-columns: 1fr; gap: 34px; padding-left: 40px; }
  .process-steps::before, .process-steps::after { top: 0; bottom: 0; left: 7px; right: auto; width: 2px; height: auto; }
  .process-steps::after { height: calc(var(--progress, 0) * 100%); bottom: auto; }
  .process-steps li { padding-top: 0; }
  .step-dot { top: 4px; left: -40px; }
  .utility-grid { grid-template-columns: 1fr; }
  .utility-grid a { min-height: 200px; }
  .price-grid { grid-template-columns: 1fr; }
  .price-grid article { min-height: 0; }
  .featured-article > a { grid-template-columns: 1fr; gap: 18px; }
  .featured-article b { justify-self: start; }
  .catalog-inner { grid-template-columns: 1fr; }
  .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .program-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  main > .program-body.shell { grid-template-columns: 1fr; }
  .download-panel { position: static; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  body:has(.mobile-cta) { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .mobile-cta { position: fixed; z-index: 90; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; border-radius: 18px; background: linear-gradient(135deg, #6b80ff, var(--blue-2)); color: #fff; font-size: 16px; font-weight: 800; box-shadow: 0 18px 50px -12px rgba(61, 85, 240, .9), inset 0 1px 0 rgba(255, 255, 255, .3); overflow: hidden; animation: cta-in .8s var(--ease) calc(var(--intro, 0s) + 1.2s) both; }
  .mobile-cta::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); animation: blink 1.6s infinite; }
  .mobile-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%); transform: translateX(-120%); animation: sheen 4.5s var(--ease) 2s infinite; }
  body.menu-open .mobile-cta { display: none; }
  @keyframes cta-in { from { transform: translateY(140%); } to { transform: none; } }
  @keyframes sheen { 0% { transform: translateX(-120%); } 30%, 100% { transform: translateX(120%); } }
  .scroll-cue { display: none; }
}

@media (max-width: 640px) {
  .hero { padding-top: calc(var(--header-h) + 34px); }
  .hero-title { font-size: clamp(30px, 9.2vw, 44px); letter-spacing: -.04em; }
  .service-title, .editorial-hero .hero-title { font-size: clamp(28px, 8.4vw, 40px); }
  .status-pill { font-size: 11px; }
  .button-row .button { flex: 1 1 100%; }
  .hero-stats b { font-size: 28px; }
  .founder-card { margin-inline: var(--gutter); grid-template-columns: 48px 1fr; padding: 16px; }
  .avatar { width: 48px; height: 48px; } .avatar span { width: 42px; height: 42px; font-size: 13px; }
  .principles { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 290px; }
  .lead-form { grid-template-columns: 1fr; }
  .lead-form label { grid-column: 1; }
  .deliverable-list li { grid-template-columns: 44px 1fr 36px; padding-block: 14px; }
  .article-list > a { grid-template-columns: 1fr 40px; gap: 6px 14px; padding: 22px 6px; }
  .article-list > a > span, .article-list > a > b { display: none; }
  .article-list > a > small, .article-list > a > div { grid-column: 1; }
  .article-list > a > i { grid-column: 2; grid-row: 1 / 3; width: 40px; height: 40px; }
  .legacy-content .p-grid { grid-template-columns: 1fr; }
  .legacy-content p, .legacy-content li { font-size: 16px; }
  .program-grid { grid-template-columns: 1fr; }
  .program-card { min-height: 0; }
  .program-title-row { grid-template-columns: 72px 1fr; }
  .program-icon.large { width: 72px; height: 72px; border-radius: 20px; }
  .program-body ul { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .catalog-search { grid-template-columns: 1fr; gap: 6px; padding: 14px 18px; }
  .catalog-search kbd { display: none; }
  .mock-flow { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
}

@media (hover: none) { .cursor-glow { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; translate: none; }
  .w > span, .hero-title .line > span { transform: none; }
  .js .service-icon * { stroke-dashoffset: 0; }
  .deliverable-list i { transform: none; opacity: 1; }
  .grain, .cursor-glow { display: none; }
}

/* ===== Signature layer: intro, WebGL hero, cursor, pinned services, build demo ===== */
@property --n { syntax: "<integer>"; inherits: false; initial-value: 0; }

.intro { display: none; }
.intro-on { --intro: .75s; }
.intro-on .intro { position: fixed; z-index: 400; inset: 0; display: grid; place-content: center; justify-items: center; gap: 20px; background: #07080b; pointer-events: none; animation: intro-out .8s var(--ease) .95s forwards; }
.intro svg { width: 76px; height: 76px; overflow: visible; }
.intro svg rect { fill: #111319; stroke: rgba(255, 255, 255, .14); }
.intro svg .q { fill: none; stroke: var(--blue); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 90; stroke-dashoffset: 90; animation: draw .8s var(--ease) .05s forwards; }
.intro svg .tail { fill: none; stroke: var(--lime); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 16; stroke-dashoffset: 16; animation: draw .35s var(--ease) .6s forwards; }
.intro svg circle { fill: var(--lime); opacity: 0; transform-box: fill-box; transform-origin: center; animation: pop .3s var(--ease) .75s forwards; }
.intro-count { color: var(--muted); font: 700 13px var(--mono); letter-spacing: .14em; counter-reset: n var(--n); animation: count .85s var(--ease) .05s forwards; }
.intro-count::after { content: counter(n) "%"; }
.intro-bar { width: 170px; height: 2px; overflow: hidden; border-radius: 2px; background: var(--line); }
.intro-bar i { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; animation: grow .85s var(--ease) .05s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: none; } }
@keyframes count { to { --n: 100; } }
@keyframes grow { to { transform: scaleX(1); } }
@keyframes intro-out { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }

.hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s var(--ease); }
.has-gl .hero-gl { opacity: 1; }
.has-gl .aurora { opacity: .22; }
.has-gl .hero-art { mix-blend-mode: screen; }

.cursor { display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor body, .has-cursor a, .has-cursor button, .has-cursor summary, .has-cursor label, .has-cursor select, .has-cursor [data-cursor] { cursor: none; }
.has-cursor input, .has-cursor textarea { cursor: text; }
.cursor-dot, .cursor-ring { position: fixed; z-index: 1000; left: 0; top: 0; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor.is-visible .cursor-dot, .cursor.is-visible .cursor-ring { opacity: 1; }
.cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px rgba(201, 255, 74, .8); }
.cursor-ring i { position: absolute; left: -20px; top: -20px; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%; transition: transform .45s var(--ease), background .35s, border-color .35s, opacity .3s; }
.cursor.is-link .cursor-ring i { transform: scale(1.7); border-color: var(--lime); background: rgba(201, 255, 74, .08); }
.cursor.has-label .cursor-ring i { transform: scale(2.5); border-color: var(--lime); background: var(--lime); }
.cursor.has-label .cursor-dot { opacity: 0; }
.cursor.is-text .cursor-ring i { transform: scale(.35); opacity: .35; }
.cursor.is-down .cursor-ring i { transform: scale(.8); }
.cursor-label { position: absolute; left: 0; top: 0; color: #07080b; font: 700 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; opacity: 0; transform: translate(-50%, -50%) scale(.6); transition: opacity .25s, transform .45s var(--ease); }
.cursor.has-label .cursor-label { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.services-section { padding-block: clamp(72px, 10vw, 140px); }
.hscroll-progress { display: none; }
@media (min-width: 1100px) {
  .services-section.hscroll-on { padding-block: 0; }
  .hscroll-on .hscroll-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(26px, 4vh, 46px); overflow: hidden; }
  .hscroll-on .section-heading { margin-bottom: 0; }
  .hscroll-on .hscroll-track { display: flex; gap: 22px; width: max-content; padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); will-change: transform; }
  .hscroll-on .service-card { flex: 0 0 auto; width: min(40vw, 540px); min-height: min(54vh, 470px); }
  .hscroll-on .hscroll-progress { display: block; width: min(calc(100% - 2 * var(--gutter)), calc(var(--max) - 2 * var(--gutter))); height: 2px; margin: 0 auto; overflow: hidden; border-radius: 2px; background: var(--line); }
  .hscroll-on .hscroll-progress i { display: block; height: 100%; background: var(--grad); transform: scaleX(var(--hp, 0)); transform-origin: left; }
}

.build-demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.build-code, .build-preview { position: relative; min-height: 460px; overflow: hidden; border: 1px solid var(--line-2); border-radius: 26px; background: #0b0d13; box-shadow: 0 40px 100px -50px rgba(61, 85, 240, .6); }
.build-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.build-bar span { width: 10px; height: 10px; border-radius: 50%; background: #2a2e38; }
.build-bar span:nth-child(1) { background: #ff5f57; } .build-bar span:nth-child(2) { background: #febc2e; } .build-bar span:nth-child(3) { background: #28c840; }
.build-bar b { margin-left: 12px; color: var(--muted); font: 500 11px var(--mono); }
.build-code pre { margin: 0; padding: 22px 24px; color: #c9cdd6; font: 500 13.5px/1.8 var(--mono); white-space: pre-wrap; word-break: break-word; }
.build-code .ln { display: block; min-height: 1.8em; }
.build-code .ln::before { content: attr(data-n); display: inline-block; width: 2.2em; color: #3b404c; }
.tk-tag { color: #8fa0ff; } .tk-attr { color: #b48cff; } .tk-str { color: var(--lime); } .tk-com { color: #5d636e; } .tk-fn { color: #f5c542; }
.caret { display: inline-block; width: 8px; height: 1.15em; margin-left: 1px; vertical-align: -3px; background: var(--lime); animation: blink 1s steps(1) infinite; }
.build-preview { border-color: rgba(255, 255, 255, .22); background: #f6f7f2; }
.build-preview .build-bar { border-color: #e1e3ea; background: #eceef3; }
.build-preview .build-bar b { color: #6b717d; }
.bp-canvas { display: grid; gap: 14px; padding: 18px; }
.bp-step { opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.bp-step.is-on { opacity: 1; transform: none; }
.bp-nav { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: 0 4px 16px rgba(17, 19, 25, .06); }
.bp-nav i { width: 22px; height: 22px; border-radius: 7px; background: #3d55f0; }
.bp-nav span { width: 40px; height: 6px; border-radius: 3px; background: #d9dbe2; }
.bp-nav b { width: 74px; height: 24px; margin-left: auto; border-radius: 999px; background: #25d366; }
.bp-hero { padding: 22px; border-radius: 16px; background: linear-gradient(135deg, #e6eaff, #f6f0ff); }
.bp-hero strong { display: block; color: #111319; font: 800 clamp(18px, 1.8vw, 24px)/1.12 var(--display); letter-spacing: -.03em; }
.bp-hero p { width: 92%; height: 7px; margin: 12px 0 0; border-radius: 4px; background: #c9cde0; }
.bp-hero p.short { width: 58%; }
.bp-cta { justify-self: start; padding: 11px 20px; border-radius: 999px; background: #3d55f0; color: #fff; font: 700 13px var(--sans); box-shadow: 0 12px 26px -10px rgba(61, 85, 240, .8); }
.bp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bp-cards i { height: 62px; border-radius: 12px; background: #fff; box-shadow: 0 4px 16px rgba(17, 19, 25, .06); }
.bp-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; padding: 12px; border-radius: 14px; background: #fff; box-shadow: 0 4px 16px rgba(17, 19, 25, .06); }
.bp-form span { height: 34px; border: 1px solid #dfe1e8; border-radius: 9px; }
.bp-form b { display: grid; place-items: center; padding: 0 14px; border-radius: 9px; background: #111319; color: #fff; font: 700 11px var(--sans); }
.bp-toast { position: absolute; right: 16px; bottom: 16px; padding: 12px 16px; border: 1px solid rgba(201, 255, 74, .45); border-radius: 14px; background: #111319; color: #fff; font: 600 12px var(--mono); box-shadow: 0 20px 44px -12px rgba(17, 19, 25, .6); }
.bp-toast b { color: var(--lime); }

.js-marquee .marquee-track { animation: none; }
.js-marquee .marquee-row { will-change: transform; }

.footer-wordmark .letters span { font-variation-settings: "wght" 520; transition: font-variation-settings .5s var(--ease); }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .32s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .6s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-18px) scale(.985); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(26px); } }

@media (max-width: 980px) {
  .build-demo { grid-template-columns: 1fr; }
  .build-code, .build-preview { min-height: 0; }
  .build-code pre { min-height: 280px; font-size: 12px; }
  .bp-canvas { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .intro, .cursor, .hero-gl { display: none !important; }
  .bp-step { opacity: 1; transform: none; }
}

/* ===== v3: 3D brand mark, badge, manifesto, real work showcase ===== */
.hero-inner { z-index: 1; }
.hero-q { position: absolute; z-index: 0; right: max(-2vw, calc((100vw - var(--max)) / 2 - 60px)); top: 50%; width: min(46vw, 720px); aspect-ratio: 1; opacity: 0; transform: translateY(-54%); transition: opacity 1.6s var(--ease); pointer-events: none; }
.has-q .hero-q { opacity: 1; }
.has-q .hero-art { display: none; }

.hero-badge { position: relative; width: 104px; height: 104px; flex: 0 0 104px; display: grid; place-items: center; margin-left: 6px; border-radius: 50%; }
.hero-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: spin 16s linear infinite; }
.hero-badge text { fill: #aeb3bd; font: 600 9.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.hero-badge i { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: #07080b; font-style: normal; font-weight: 800; box-shadow: 0 0 30px rgba(201, 255, 74, .45); transition: transform .5s var(--ease); }
.hero-badge:hover i { transform: scale(1.15) rotate(45deg); }

.manifesto { position: relative; min-height: 200vh; }
.manifesto-sticky { position: sticky; top: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 30px; }
.manifesto-text { margin: 0; max-width: 1200px; font: 700 clamp(28px, 4.5vw, 70px)/1.14 var(--display); letter-spacing: -.035em; }
.manifesto-text em { font-style: normal; }
.manifesto-on .mw { color: #232731; transition: color .45s var(--ease); }
.manifesto-on .mw.lit { color: var(--text); }
.manifesto-on em .mw.lit { background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.manifesto-meter { width: min(100%, 420px); height: 2px; overflow: hidden; border-radius: 2px; background: var(--line); }
.manifesto-meter i { display: block; height: 100%; background: var(--grad); transform: scaleX(var(--mp, 0)); transform-origin: left; }

.case-visual { position: relative; padding: 0 clamp(18px, 4vw, 54px) 70px 0; transform-style: preserve-3d; transition: transform .25s ease-out; }
.case-visual .case-screen { min-height: 0; transform: translateZ(0); }
.case-visual .case-screen::before { z-index: 2; }
.shot { position: relative; height: clamp(300px, 34vw, 460px); overflow: hidden; background: #fff; }
.shot img { width: 100%; height: auto; transform: translate3d(0, var(--shot-y, 0px), 0); will-change: transform; }
.case-phone { position: absolute; right: 0; bottom: 0; width: 31%; max-width: 230px; padding: 8px; border: 1px solid var(--line-2); border-radius: 34px; background: #0b0d13; box-shadow: 0 50px 90px -24px rgba(0, 0, 0, .85), 0 0 60px -20px rgba(91, 115, 255, .6); transform: translateZ(70px); }
.case-phone::before { content: ""; position: absolute; z-index: 3; left: 50%; top: 14px; width: 30%; height: 14px; margin-left: -15%; border-radius: 10px; background: #0b0d13; }
.case-phone .shot { height: auto; aspect-ratio: 9 / 19.2; border-radius: 26px; }

@media (max-width: 980px) {
  .hero-q { top: calc(var(--header-h) + 8px); right: -12vw; width: 66vw; transform: none; opacity: 0; }
  .has-q .hero-q { opacity: .7; }
  .hero-badge { display: none; }
  .manifesto { min-height: 150vh; }
  .case-visual { padding-right: 0; padding-bottom: 50px; }
  .case-phone { width: 36%; right: -6px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-q { display: none; }
  .has-q .hero-art { display: block; }
  .manifesto { min-height: 0; }
  .manifesto-sticky { position: static; min-height: 0; padding-block: 80px; }
}
