/* ==========================================================================
   Your Web Solutions — futuristic design system
   Brand: electric blue (#2550F1) → teal (#1490BF), glow cyan, navy wordmark
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --grad: linear-gradient(115deg, var(--c1) 0%, color-mix(in oklab, var(--c1), var(--c2) 50%) 45%, var(--c3) 100%);
  --grad-soft: linear-gradient(115deg, color-mix(in srgb, var(--c1) 22%, transparent), color-mix(in srgb, var(--c3) 16%, transparent));
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --nav-h: 76px;
  --r-sm: calc(var(--radius) * .55);
  --r-lg: calc(var(--radius) * 1.35);
  --f-mono: ui-monospace, 'JetBrains Mono', 'SFMono-Regular', Menlo, Consolas, monospace;
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: var(--bg-dark);
  --bg-2: color-mix(in srgb, var(--bg-dark), #1a2a66 14%);
  --surface: rgba(140, 170, 255, .045);
  --surface-2: rgba(140, 170, 255, .08);
  --border: rgba(150, 180, 255, .12);
  --border-2: rgba(150, 180, 255, .22);
  --text: #EAF0FF;
  --muted: #9AA8C7;
  --dim: #5F6D8E;
  --glass-bg: linear-gradient(160deg, rgba(120, 150, 255, .085), rgba(40, 70, 160, .03) 55%, rgba(56, 200, 245, .04));
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px var(--border) inset;
  --glow: 0 0 0 1px color-mix(in srgb, var(--c3) 40%, transparent), 0 10px 50px -10px color-mix(in srgb, var(--c1) 55%, transparent);
  --map-filter: invert(.92) hue-rotate(180deg) saturate(.6) brightness(.9);
}
[data-theme="light"] {
  color-scheme: light;
  --bg: var(--bg-light);
  --bg-2: #ffffff;
  --surface: rgba(255, 255, 255, .65);
  --surface-2: rgba(255, 255, 255, .9);
  --border: rgba(20, 45, 120, .10);
  --border-2: rgba(20, 45, 120, .18);
  --text: #0A1530;
  --muted: #4A5878;
  --dim: #8A96B2;
  --glass-bg: linear-gradient(160deg, rgba(255, 255, 255, .85), rgba(240, 245, 255, .6));
  --shadow: 0 24px 60px -28px rgba(20, 50, 140, .25), 0 0 0 1px var(--border) inset;
  --glow: 0 0 0 1px color-mix(in srgb, var(--c1) 35%, transparent), 0 14px 40px -12px color-mix(in srgb, var(--c1) 45%, transparent);
  --map-filter: none;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
html:not(.smooth-on) { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; transition: background-color .5s var(--ease), color .5s var(--ease);
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; letter-spacing: -.025em; line-height: 1.08; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: color-mix(in srgb, var(--c1) 60%, transparent); color: #fff; }
:focus-visible { outline: 2px solid var(--c3); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--f-mono); font-size: .78em; letter-spacing: .04em; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; padding: 10px 16px; background: var(--c1); color: #fff; border-radius: 8px; }
.skip:focus { left: 8px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.container--narrow { max-width: 820px; }
.container--mid { max-width: 1040px; }
.section { padding: clamp(90px, 12vw, 150px) 0; position: relative; }
.section-sm { padding: clamp(50px, 7vw, 90px) 0; position: relative; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.flip { transform: scaleX(-1); }

/* gradient highlight words: *word* */
.hl {
  font-family: var(--f-accent); font-style: italic; font-weight: 400; letter-spacing: -.01em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}

/* ---------- Background scene ---------- */
.bg-scene { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
#gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s var(--ease); }
#gl.ready { opacity: 1; }
.aurora { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.a1 { width: 52vw; height: 52vw; left: -14vw; top: -18vw; background: radial-gradient(circle, color-mix(in srgb, var(--c1) 55%, transparent), transparent 65%); animation: drift1 22s ease-in-out infinite alternate; }
.a2 { width: 46vw; height: 46vw; right: -16vw; top: 18vh; background: radial-gradient(circle, color-mix(in srgb, var(--c3) 38%, transparent), transparent 65%); animation: drift2 26s ease-in-out infinite alternate; }
.a3 { width: 40vw; height: 40vw; left: 30vw; bottom: -24vw; background: radial-gradient(circle, color-mix(in srgb, var(--c2) 40%, transparent), transparent 65%); animation: drift1 30s ease-in-out infinite alternate-reverse; }
[data-theme="light"] .aurora { opacity: .32; }
@keyframes drift1 { to { transform: translate3d(8vw, 6vh, 0) scale(1.1); } }
@keyframes drift2 { to { transform: translate3d(-10vw, -4vh, 0) scale(.92); } }
.grid-lines {
  position: absolute; inset: -2px;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 72px 72px; opacity: .35;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 10%, transparent 75%);
}
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .05;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
[data-theme="light"] .grain { opacity: .035; }
@keyframes grain { 0%,100% { transform: translate(0,0) } 20% { transform: translate(-3%,2%) } 40% { transform: translate(2%,-3%) } 60% { transform: translate(-2%,-1%) } 80% { transform: translate(3%,3%) } }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px var(--c3); }

/* ---------- Cursor ---------- */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 200; display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor label, .has-cursor summary { cursor: none; }
.has-cursor input, .has-cursor textarea { cursor: text; }
.cursor-dot, .cursor-ring { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--c3); box-shadow: 0 0 10px var(--c3); }
.cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid color-mix(in srgb, var(--c3) 60%, transparent);
  display: grid; place-items: center; transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), background .3s, border-color .3s;
}
.cursor.is-hover .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: color-mix(in srgb, var(--c1) 14%, transparent); border-color: var(--c3); }
.cursor.is-label .cursor-ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--grad); border-color: transparent; }
.cursor-label { font: 600 12px/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .2s; }
.cursor.is-label .cursor-label { opacity: 1; }
.cursor.is-down .cursor-ring { transform: scale(.85); }
.cursor.is-hidden { opacity: 0; }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 300; background: var(--bg); display: grid; place-items: center; transition: opacity .8s var(--ease), visibility .8s; }
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-inner { display: grid; justify-items: center; gap: 22px; }
.preloader-inner img { width: 96px; filter: drop-shadow(0 0 30px color-mix(in srgb, var(--c1) 60%, transparent)); animation: breathe 1.6s ease-in-out infinite; }
.preloader-bar { width: 180px; height: 2px; background: var(--border); border-radius: 2px; overflow: hidden; }
.preloader-bar span { display: block; height: 100%; width: 0; background: var(--grad); transition: width .2s; }
.preloader-count { color: var(--muted); }
@keyframes breathe { 50% { transform: scale(1.06); opacity: .8; } }
html:not(.js) .preloader { display: none; }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 999px; font: 600 15px/1 var(--f-display); letter-spacing: -.005em;
  white-space: nowrap; isolation: isolate; overflow: hidden; transition: transform .4s var(--ease-out), box-shadow .4s var(--ease), background .3s, color .3s;
}
.btn-sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { --h: 56px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-ico { width: 18px; height: 18px; transition: transform .4s var(--ease-out); }
.btn:hover .btn-ico { transform: translate(2px, -2px) rotate(0deg); }
.btn-primary { color: #fff; background: var(--grad); box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--c1) 80%, transparent), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, var(--c3), var(--c1)); opacity: 0; transition: opacity .4s; }
.btn-primary::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); transition: left .7s var(--ease); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover::after { left: 130%; }
.btn-primary:hover { box-shadow: 0 16px 40px -10px color-mix(in srgb, var(--c3) 70%, transparent); }
.btn-ghost { color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--c3), 0 0 30px -8px color-mix(in srgb, var(--c3) 60%, transparent); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1.2 var(--f-display); color: var(--c3); }
[data-theme="light"] .link-arrow { color: var(--c1); }
.link-arrow .ico { transition: transform .35s var(--ease-out); }
.link-arrow:hover .ico, a:hover > .link-arrow .ico { transform: translateX(5px); }

/* ---------- Glass & spotlight ---------- */
.glass {
  background: var(--glass-bg); border-radius: var(--r-lg); box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.spot { position: relative; --mx: 50%; --my: 50%; }
.spot::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--c3) 16%, transparent), transparent 45%);
}
.spot::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px; opacity: 0; transition: opacity .4s;
  background: radial-gradient(260px circle at var(--mx) var(--my), var(--c3), color-mix(in srgb, var(--c1) 50%, transparent) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.spot:hover::before, .spot:hover::after { opacity: 1; }
.spot > * { position: relative; z-index: 1; }
[data-tilt] { transform-style: preserve-3d; transition: transform .6s var(--ease-out); will-change: transform; }

/* ---------- Reveal animations ---------- */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 36px, 0); filter: blur(6px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out), filter 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }
.js [data-hero-in] { opacity: 0; transform: translate3d(0, 24px, 0); }
.loaded [data-hero-in] { opacity: 1; transform: none; transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.loaded [data-hero-in]:nth-of-type(1) { transition-delay: .1s; }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word > span { display: inline-block; transform: translate3d(0, 110%, 0) rotate(4deg); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--w) * 55ms + var(--base, 0ms)); }
.split-in .split-word > span { transform: none; }

/* ---------- Eyebrow & headings ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12.5px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c3); box-shadow: 0 0 10px var(--c3); }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #2fe3a2; flex: none; }
.pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #2fe3a2; animation: ping 2s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(2); opacity: 0; } }
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); display: grid; gap: 20px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.sec-title { font-size: clamp(38px, 5.6vw, 72px); }
.sec-title--sm { font-size: clamp(30px, 4vw, 46px); margin-bottom: 36px; }
.sec-sub { font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); max-width: 640px; }
.sec-head--center .sec-sub { margin: 0 auto; }

/* ---------- Tags ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
.tags--sm li { font-size: 12px; padding: 5px 11px; }
.tags a:hover { color: var(--c3); }

/* ---------- Navigation ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; transition: transform .5s var(--ease-out), top .4s; }
.nav-inner {
  max-width: calc(var(--container) - 2 * var(--gutter) + 40px); margin: 0 auto; width: calc(100% - 2 * var(--gutter) + 20px);
  height: 64px; display: flex; align-items: center; gap: 24px; padding: 0 10px 0 22px; border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 55%, transparent); box-shadow: 0 0 0 1px var(--border), 0 20px 50px -30px rgba(0,0,0,.6);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
}
.nav.is-hidden { transform: translateY(-130%); }
.brand { display: flex; align-items: center; flex: none; }
.brand-logo { height: 42px; width: auto; }
[data-theme="dark"] .brand-logo--light, [data-theme="light"] .brand-logo--dark { display: none; }
.nav-links { display: flex; gap: 4px; margin: 0 auto; }
.nav-links a { position: relative; padding: 9px 14px; border-radius: 999px; font: 500 14.5px/1 var(--f-display); color: var(--muted); transition: color .25s, background .25s; }
.nav-links a:hover, .nav-links a.is-active { color: var(--text); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font: 500 14px/1 var(--f-display); color: var(--muted); padding: 0 8px; }
.nav-phone:hover { color: var(--text); }
.nav-phone .ico { color: var(--c3); }
.theme-toggle { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--border); color: var(--muted); transition: color .3s, box-shadow .3s, transform .5s var(--ease-out); }
.theme-toggle:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--c3); transform: rotate(25deg); }
[data-theme="dark"] .i-moon, [data-theme="light"] .i-sun { display: none; }
.nav-burger { display: none; width: 42px; height: 42px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--border); position: relative; }
.nav-burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform .4s var(--ease-out), top .4s; }
.nav-burger span:first-child { top: 16px; } .nav-burger span:last-child { top: 24px; }
.menu-open .nav-burger span:first-child { top: 20px; transform: rotate(45deg); }
.menu-open .nav-burger span:last-child { top: 20px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 95; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu nav { display: grid; gap: 6px; }
.mobile-menu nav a { font: 600 clamp(34px, 9vw, 54px)/1.1 var(--f-display); letter-spacing: -.03em; transform: translateY(20px); opacity: 0; transition: transform .6s var(--ease-out), opacity .6s, color .2s; }
.menu-open .mobile-menu nav a { transform: none; opacity: 1; }
.mobile-menu nav a:nth-child(2) { transition-delay: .04s } .mobile-menu nav a:nth-child(3) { transition-delay: .08s } .mobile-menu nav a:nth-child(4) { transition-delay: .12s } .mobile-menu nav a:nth-child(5) { transition-delay: .16s } .mobile-menu nav a:nth-child(6) { transition-delay: .2s }
.mobile-menu nav a:hover { color: var(--c3); }
.mobile-menu-foot { margin-top: 40px; display: grid; gap: 8px; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; padding: calc(var(--nav-h) + clamp(60px, 9vh, 110px)) 0 40px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 40px; align-items: center; }
.hero-copy { display: grid; gap: 26px; justify-items: start; }
.hero-eyebrow { padding: 9px 16px 9px 12px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); color: var(--text); letter-spacing: .1em; font-size: 11.5px; }
.hero-title { font-size: clamp(44px, 6.3vw, 92px); line-height: .98; letter-spacing: -.045em; font-weight: 600; }
.hero-title .hl { font-size: 1.06em; }
.hero-sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 580px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 14px; }
.hero-chips li { display: inline-flex; align-items: center; gap: 7px; }
.hero-chips .ico { color: var(--c3); width: 16px; height: 16px; }
.hero-visual { position: relative; height: min(560px, 62vh); }
.core-fallback { position: absolute; inset: 12% 10%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--c3) 70%, #fff 10%), var(--c1) 45%, transparent 70%); filter: blur(8px); opacity: .55; animation: breathe 6s ease-in-out infinite; }
.gl-on .core-fallback { animation: none; opacity: .16; filter: blur(40px); }
.orbit { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid var(--border-2); transform: translate(-50%, -50%) rotateX(72deg); }
.orbit-1 { width: 115%; aspect-ratio: 1; animation: spin 30s linear infinite; }
.orbit-2 { width: 85%; aspect-ratio: 1; border-style: dashed; opacity: .6; animation: spin 40s linear infinite reverse; }
@keyframes spin { to { transform: translate(-50%, -50%) rotateX(72deg) rotateZ(360deg); } }
.hud { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; font-size: 13px; white-space: nowrap; animation: floaty 7s ease-in-out infinite; }
.hud small { display: block; font: 500 10.5px/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hud strong { font: 600 14px/1.3 var(--f-display); }
.hud-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c3); box-shadow: 0 0 14px var(--c3); }
.hud-1 { top: 8%; left: -6%; }
.hud-2 { top: 46%; right: -4%; animation-delay: -2s; }
.hud-2 .hud-dot { background: #2fe3a2; box-shadow: 0 0 14px #2fe3a2; }
.hud-3 { bottom: 6%; left: 4%; animation-delay: -4s; }
.hud-3 .hud-dot { background: var(--c1); box-shadow: 0 0 14px var(--c1); }
@keyframes floaty { 50% { translate: 0 -12px; } }
.hero-stats { margin-top: clamp(40px, 7vh, 80px); display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--r-lg); overflow: hidden; }
.hero-stat { padding: 22px 26px; display: flex; flex-direction: column-reverse; gap: 4px; }
.hero-stat + .hero-stat { border-left: 1px solid var(--border); }
.hero-stat dt { color: var(--muted); font-size: 13.5px; }
.hero-stat dd { margin: 0; font: 600 clamp(28px, 3vw, 40px)/1 var(--f-display); letter-spacing: -.03em; }
.hero-stat .suffix, .stat .suffix { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 24px; height: 38px; margin-left: -12px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--border-2); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--c3); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee-sec { padding: 26px 0; border-block: 1px solid var(--border); background: color-mix(in srgb, var(--bg) 60%, transparent); display: grid; gap: 10px; overflow: hidden; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee--rev .marquee-track { animation-direction: reverse; }
.marquee--slow .marquee-track { animation-duration: 70s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item { display: inline-flex; align-items: center; gap: 26px; padding-right: 26px; font: 600 clamp(22px, 3vw, 38px)/1.2 var(--f-display); letter-spacing: -.02em; color: var(--text); white-space: nowrap; }
.marquee--rev .marquee-item { color: transparent; -webkit-text-stroke: 1px var(--border-2); }
.marquee-item i { font-style: normal; font-size: .5em; color: var(--c3); -webkit-text-stroke: 0; }

/* ---------- Pillars (sticky stacked cards) ---------- */
.stack { display: grid; gap: 28px; }
.stack-card { position: sticky; top: calc(var(--nav-h) + 30px + var(--i) * 22px); }
.stack-card-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; padding: clamp(28px, 4vw, 56px); min-height: min(560px, 72vh); align-items: center; overflow: hidden; transform-origin: 50% 0; }
.stack-copy { display: grid; gap: 18px; align-content: center; justify-items: start; }
.stack-meta { display: flex; gap: 8px; color: var(--muted); }
.stack-meta span:first-child { color: var(--c3); }
.stack-title { font-size: clamp(40px, 5.4vw, 76px); letter-spacing: -.045em; background: linear-gradient(180deg, var(--text) 30%, color-mix(in srgb, var(--text) 55%, transparent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stack-headline { font: 500 clamp(19px, 1.8vw, 24px)/1.3 var(--f-display); letter-spacing: -.015em; }
.stack-text { color: var(--muted); max-width: 520px; font-size: 16.5px; }
.stack-visual { display: grid; place-items: center; perspective: 900px; }
.gyro { position: relative; width: min(320px, 70%); aspect-ratio: 1; transform-style: preserve-3d; animation: gyro 18s linear infinite; }
.gyro-ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--c3) 55%, transparent); box-shadow: 0 0 30px -6px color-mix(in srgb, var(--c1) 70%, transparent), inset 0 0 30px -10px color-mix(in srgb, var(--c3) 70%, transparent); }
.gyro-ring.r1 { transform: rotateX(70deg); }
.gyro-ring.r2 { transform: rotateY(70deg); inset: 8%; border-color: color-mix(in srgb, var(--c1) 70%, transparent); }
.gyro-ring.r3 { transform: rotateX(70deg) rotateY(60deg); inset: 16%; border-style: dashed; }
.gyro-core { position: absolute; inset: 30%; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--c3) 80%, #fff 20%), var(--c1) 55%, color-mix(in srgb, var(--c1) 30%, #000) 100%); box-shadow: 0 0 80px color-mix(in srgb, var(--c1) 70%, transparent), inset 0 -10px 30px rgba(0,0,0,.3); animation: gyro 18s linear infinite reverse; }
.gyro-ico { width: 44%; height: 44%; color: #fff; stroke-width: 1.5; }
@keyframes gyro { to { transform: rotateY(360deg) rotateZ(20deg); } }

/* ---------- Automation ---------- */
.auto-top { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: 50px; align-items: start; margin-bottom: 60px; }
.auto-top .sec-head { margin-bottom: 0; }
.console { padding: 0; overflow: hidden; border-radius: var(--radius); }
.console-bar { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.dots { display: flex; gap: 6px; } .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-2); }
.dots i:first-child { background: #ff5f57; } .dots i:nth-child(2) { background: #febc2e; } .dots i:nth-child(3) { background: #28c840; }
.console-title { color: var(--muted); }
.console-live { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: #2fe3a2; }
.console-body { padding: 18px 20px 6px; display: grid; gap: 10px; font-size: 13px; min-height: 260px; }
.console-body li { display: grid; grid-template-columns: 86px 1fr auto; gap: 12px; align-items: baseline; opacity: 0; transform: translateX(-8px); }
.console.run .console-body li { animation: line-in .5s var(--ease-out) forwards; animation-delay: calc(var(--d) * .55s + .2s); }
.c-tag { color: var(--c3); }
[data-theme="light"] .c-tag { color: var(--c1); }
.c-msg { color: var(--text); }
.c-ok { color: #2fe3a2; }
.console-body li:last-child .c-tag, .console-body li:last-child .c-msg { color: #2fe3a2; }
@keyframes line-in { to { opacity: 1; transform: none; } }
.console-note { padding: 8px 20px 16px; color: var(--dim); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.cards-grid { display: grid; gap: 16px; }
.cards-grid--4 { grid-template-columns: repeat(4, 1fr); }
.feature { padding: 26px; border-radius: var(--radius); display: grid; gap: 12px; align-content: start; transition: transform .5s var(--ease-out), box-shadow .4s; }
.feature:hover { box-shadow: var(--glow); }
.feature-ico, .cat-ico, .ind-ico, .app-ico, .ci {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--c3);
  background: linear-gradient(140deg, color-mix(in srgb, var(--c1) 26%, transparent), color-mix(in srgb, var(--c3) 10%, transparent));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c3) 30%, transparent);
}
[data-theme="light"] .feature-ico, [data-theme="light"] .cat-ico, [data-theme="light"] .ind-ico, [data-theme="light"] .app-ico, [data-theme="light"] .ci { color: var(--c1); }
.feature-ico .ico, .cat-ico .ico, .ind-ico .ico, .app-ico .ico, .ci .ico { width: 22px; height: 22px; }
.feature h3 { font-size: 18px; letter-spacing: -.015em; margin-top: 6px; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* ---------- Catalog (software) ---------- */
.catalog-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 0 0 1px var(--border); background: var(--border); gap: 1px; }
.cat-item { background: color-mix(in srgb, var(--bg) 88%, transparent); padding: 28px 26px 30px; display: grid; gap: 12px; align-content: start; min-height: 220px; transition: background .4s; }
.cat-item:hover { background: color-mix(in srgb, var(--bg-2) 92%, var(--c1) 8%); }
.cat-num { position: absolute; top: 22px; right: 22px; color: var(--dim); }
.cat-item h3 { font-size: 18.5px; margin-top: 8px; }
.cat-item p { color: var(--muted); font-size: 14.5px; }
.cat-item .cat-ico { transition: transform .5s var(--ease-out), background .4s; }
.cat-item:hover .cat-ico { transform: translateY(-4px) rotate(-6deg); background: var(--grad); color: #fff; }

/* ---------- Apps ---------- */
.apps-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.apps-visual { position: sticky; top: calc(var(--nav-h) + 40px); display: grid; justify-items: center; gap: 18px; perspective: 1200px; }
.phone3d { position: relative; width: min(300px, 80%); transform: rotateY(-16deg) rotateX(6deg); }
.phone-frame { position: relative; aspect-ratio: 9 / 19.5; border-radius: 46px; padding: 12px; background: linear-gradient(145deg, #2a3350, #0b1022 45%, #1b2440); box-shadow: 0 0 0 1.5px rgba(160,190,255,.25), 0 40px 80px -20px rgba(0,0,0,.65), 30px 30px 80px -30px color-mix(in srgb, var(--c1) 70%, transparent), inset 0 0 0 2px rgba(0,0,0,.6); transform: translateZ(30px); }
.phone-notch { position: absolute; top: 20px; left: 50%; width: 32%; height: 22px; margin-left: -16%; border-radius: 20px; background: #000; z-index: 2; }
.phone-screen { height: 100%; border-radius: 36px; overflow: hidden; background: var(--grad); }
.phone-img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-skeleton { display: grid; gap: 12px; padding: 70px 18px; } .phone-skeleton i { height: 60px; border-radius: 14px; background: rgba(255,255,255,.2); }
.phone-shadow { position: absolute; left: 10%; right: 10%; bottom: -40px; height: 40px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c1) 50%, transparent), transparent); filter: blur(12px); transform: translateZ(-40px); }
.float-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; font: 600 13px/1 var(--f-display); transform: translateZ(80px); animation: floaty 6s ease-in-out infinite; }
.float-chip .ico { color: var(--c3); }
.fc-1 { top: 12%; left: -24%; } .fc-2 { top: 48%; right: -26%; animation-delay: -2s; } .fc-3 { bottom: 10%; left: -18%; animation-delay: -4s; }
.apps-caption { color: var(--dim); }
.apps-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.app-item { display: flex; gap: 14px; padding: 16px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); transition: box-shadow .3s, transform .4s var(--ease-out); }
.app-item:hover { transform: translateY(-3px); }
.app-ico { width: 40px; height: 40px; border-radius: 12px; flex: none; }
.app-ico .ico { width: 19px; height: 19px; }
.app-item h3 { font-size: 16px; margin: 2px 0 4px; }
.app-item p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* ---------- Websites band ---------- */
.web-band { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: clamp(28px, 4vw, 54px); overflow: hidden; }
.web-copy { display: grid; gap: 18px; justify-items: start; }
.web-title { font-size: clamp(30px, 3.8vw, 48px); }
.web-text { color: var(--muted); }
.browser { border-radius: 18px; overflow: hidden; background: var(--bg-2); box-shadow: 0 0 0 1px var(--border-2), 0 30px 60px -30px rgba(0,0,0,.6); transform: perspective(1000px) rotateY(-10deg) rotateX(4deg); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-2); }
.browser-url { margin-left: 14px; padding: 5px 14px; border-radius: 8px; background: var(--surface-2); color: var(--muted); font-size: 11px; }
.browser-body { position: relative; padding: 18px; display: grid; gap: 16px; }
.sk { border-radius: 8px; background: linear-gradient(90deg, var(--surface-2) 25%, color-mix(in srgb, var(--c3) 18%, transparent) 50%, var(--surface-2) 75%); background-size: 300% 100%; animation: shimmer 2.4s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -200% 0; } }
.sk-nav { height: 14px; width: 60%; }
.sk-hero { display: grid; gap: 10px; padding: 18px; border-radius: 12px; background: var(--grad-soft); }
.sk-h1 { height: 22px; width: 80%; } .sk-h2 { height: 12px; width: 55%; } .sk-btn { height: 28px; width: 110px; border-radius: 999px; background: var(--grad); animation: none; }
.sk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; } .sk-card { height: 70px; }
.speed { position: absolute; right: 16px; top: 16px; display: grid; justify-items: center; gap: 2px; padding: 8px 12px; border-radius: 12px; background: color-mix(in srgb, #2fe3a2 14%, transparent); color: #2fe3a2; font-size: 10px; }
.speed b { font: 700 22px/1 var(--f-display); }

/* ---------- Portfolio ---------- */
.portfolio-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vw, 72px); }
.portfolio-head .sec-head { margin-bottom: 0; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; padding: 5px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
.filters--links { margin-top: 10px; }
.filter { padding: 9px 18px; border-radius: 999px; font: 500 14px/1 var(--f-display); color: var(--muted); transition: background .3s, color .3s; }
.filter:hover { color: var(--text); }
.filter.is-active { background: var(--grad); color: #fff; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work { display: grid; gap: 16px; align-content: start; transition: opacity .5s, transform .5s var(--ease-out); }
.work.is-out { display: none; }
.work-media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); box-shadow: 0 0 0 1px var(--border); padding: 0; }
.work--tall .work-media { background: var(--grad-soft); }
.work-img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.2s var(--ease-out), filter .6s; }
.work--tall .work-img { object-fit: contain; padding: 18px 0 0; }
.work-media:hover .work-img { transform: scale(1.06); }
.work-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, color-mix(in srgb, var(--bg) 70%, transparent)); opacity: .7; transition: opacity .5s; }
.work-cat { position: absolute; left: 14px; top: 14px; z-index: 2; padding: 6px 11px; border-radius: 999px; background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(10px); color: var(--text); font-size: 11px; }
.work-ph { display: grid; place-items: center; height: 100%; color: var(--muted); }
.work-info { display: flex; justify-content: space-between; align-items: start; gap: 14px; }
.work-info h3 { font-size: 21px; }
.work-kind { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.work-link { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--border-2); transition: background .3s, color .3s; }
.work-link:hover { background: var(--grad); color: #fff; }
.lightbox { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox-backdrop { position: absolute; inset: 0; background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); animation: fade .4s var(--ease); }
.lightbox-panel { position: relative; width: min(1100px, 100%); max-height: 90vh; overflow: auto; display: grid; grid-template-columns: 1.4fr 1fr; animation: pop .55s var(--ease-out); }
.lightbox-media { background: var(--surface-2); display: grid; place-items: center; min-height: 320px; }
.lightbox-media img { width: 100%; height: 100%; max-height: 80vh; object-fit: contain; }
.lightbox-info { padding: 36px; display: grid; gap: 16px; align-content: center; justify-items: start; }
.lightbox-info h3 { font-size: 32px; }
.lightbox-info p { color: var(--muted); }
.lightbox-close { position: absolute; right: 14px; top: 14px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--bg) 70%, transparent); box-shadow: inset 0 0 0 1px var(--border-2); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(30px) scale(.96); } }

/* ---------- Process ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps-line { position: absolute; left: 0; right: 0; top: 62px; height: 1px; background: var(--border-2); }
.steps-line span { position: absolute; inset: 0; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); box-shadow: 0 0 14px var(--c3); }
.step { position: relative; display: grid; gap: 14px; justify-items: start; }
.step-num { color: var(--c3); font-size: 13px; }
.step-node { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); box-shadow: inset 0 0 0 1px var(--border-2); margin: 6px 0 10px; }
.step-node span { width: 10px; height: 10px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 14px var(--c3); }
.step h3 { font-size: 26px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* ---------- Stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-block: 1px solid var(--border); }
.stat { padding: 40px 24px; display: grid; gap: 8px; justify-items: center; text-align: center; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat dd { margin: 0; font: 600 clamp(48px, 6vw, 86px)/1 var(--f-display); letter-spacing: -.05em; }
.stat dt { color: var(--muted); font-size: 15px; }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.ind { padding: 24px 22px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); display: grid; gap: 10px; align-content: start; transition: transform .45s var(--ease-out); }
.ind:hover { transform: translateY(-6px); }
.ind h3 { font-size: 17px; margin-top: 8px; }
.ind p { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ---------- Tech ---------- */
.tech-rows { display: grid; gap: 14px; }
.tech-pill { display: inline-flex; align-items: center; margin-right: 14px; padding: 14px 24px; border-radius: 16px; font: 500 17px/1 var(--f-display); white-space: nowrap; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); transition: color .3s, box-shadow .3s; }
.tech-pill:hover { color: var(--c3); box-shadow: inset 0 0 0 1px var(--c3); }

/* ---------- Testimonials ---------- */
.testi-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: clamp(40px, 6vw, 64px); }
.testi-head .sec-head { margin-bottom: 0; }
.slider-nav { display: flex; gap: 10px; }
.slider-btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--border-2); transition: background .3s, color .3s; }
.slider-btn:hover { background: var(--grad); color: #fff; }
.testi-track { margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); display: grid; grid-auto-flow: column; grid-auto-columns: min(520px, 86%); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none; }
.testi-track::-webkit-scrollbar { display: none; }
.testi { margin: 0; padding: 34px; display: grid; gap: 22px; align-content: space-between; scroll-snap-align: start; overflow: hidden; }
.testi-stars { display: flex; gap: 3px; color: #ffc548; } .star { width: 17px; height: 17px; fill: currentColor; }
.testi blockquote { margin: 0; font: 400 clamp(17px, 1.5vw, 20px)/1.55 var(--f-body); }
.testi figcaption { display: flex; align-items: center; gap: 14px; }
.testi figcaption strong { display: block; font: 600 16px/1.3 var(--f-display); }
.testi figcaption small { color: var(--muted); font-size: 13.5px; }
.testi-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--grad-soft); box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--c2); flex: none; }
.testi-initials { display: grid; place-items: center; font: 600 17px/1 var(--f-display); }
.testi-q { position: absolute; right: 26px; top: 26px; width: 64px; height: 64px; color: var(--c1); opacity: .16; }

/* ---------- Clients ---------- */
.clients-title { text-align: center; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; margin-bottom: 28px; }
.client-logo { display: inline-grid; place-items: center; width: 200px; height: 92px; margin-right: 16px; padding: 18px 24px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--border); }
[data-theme="dark"] .client-logo { background: rgba(255,255,255,.92); }
.client-logo img { max-height: 54px; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .4s, opacity .4s; }
.client-logo:hover img { filter: none; opacity: 1; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 380px)); justify-content: center; gap: 22px; }
.member { padding: 36px 30px; display: grid; justify-items: center; text-align: center; gap: 10px; }
.member-avatar { position: relative; width: 116px; height: 116px; margin-bottom: 12px; }
.member-avatar img, .member-initials { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.member-initials { display: grid; place-items: center; background: var(--grad); color: #fff; font: 600 38px/1 var(--f-display); letter-spacing: -.02em; }
.member-ring { position: absolute; inset: -8px; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--c3) 60%, transparent); animation: spin2 22s linear infinite; }
@keyframes spin2 { to { transform: rotate(360deg); } }
.member h3 { font-size: 24px; }
.member-role { color: var(--c3); text-transform: uppercase; letter-spacing: .12em; font-size: 11.5px; }
[data-theme="light"] .member-role { color: var(--c1); }
.member-bio { color: var(--muted); font-size: 15px; }
.member-links { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; justify-content: center; }
.member-links a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; font-size: 13.5px; box-shadow: inset 0 0 0 1px var(--border-2); transition: box-shadow .3s, color .3s; }
.member-links a:hover { color: var(--c3); box-shadow: inset 0 0 0 1px var(--c3); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--nav-h) + 40px); }
.faq-mail { display: inline-flex; align-items: center; gap: 10px; color: var(--c3); font-weight: 500; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); transition: box-shadow .3s, background .3s; }
.faq-item[open] { background: var(--surface-2); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c3) 35%, transparent); }
.faq-item summary { list-style: none; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 22px 24px; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-n { color: var(--c3); }
.faq-q { font: 600 18px/1.35 var(--f-display); letter-spacing: -.01em; }
.faq-plus { position: relative; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--border-2); }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -.75px 0 0 -5.5px; background: var(--text); transition: transform .4s var(--ease-out); }
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus::after { transform: rotate(0); }
.faq-a { padding: 0 24px 22px 66px; color: var(--muted); }

/* ---------- Blog cards ---------- */
.blog-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: clamp(40px, 6vw, 64px); }
.blog-head .sec-head { margin-bottom: 0; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { overflow: hidden; border-radius: var(--radius); }
.post-card-link { display: grid; height: 100%; }
.post-cover { aspect-ratio: 16 / 10; overflow: hidden; background: var(--grad-soft); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.post-card:hover .post-cover img, .post-feature:hover .post-cover img { transform: scale(1.06); }
.post-body { padding: 24px; display: grid; gap: 12px; align-content: start; }
.post-meta { color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; }
.post-card h3 { font-size: 21px; line-height: 1.25; }
.post-excerpt { color: var(--muted); font-size: 15px; }
.post-feature { overflow: hidden; margin-bottom: 26px; }
.post-feature-link { display: grid; grid-template-columns: 1.2fr 1fr; }
.post-feature .post-cover { aspect-ratio: auto; min-height: 340px; }
.post-feature .post-body { padding: clamp(26px, 4vw, 50px); align-content: center; gap: 16px; }
.post-feature h2 { font-size: clamp(28px, 3vw, 40px); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.pager a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--border-2); }
.pager a.is-active { background: var(--grad); color: #fff; box-shadow: none; }
.empty { color: var(--muted); text-align: center; padding: 60px 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-info .sec-head { margin-bottom: 26px; }
.contact-note { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: color-mix(in srgb, #2fe3a2 10%, transparent); color: #2fe3a2; font-weight: 500; margin-bottom: 30px; }
[data-theme="light"] .contact-note { color: #0c8a5c; background: #e2f8ee; }
.contact-list { display: grid; gap: 18px; margin-bottom: 30px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.contact-list small { display: block; color: var(--muted); font-size: 12.5px; }
.contact-list a, .contact-list span { font: 500 16.5px/1.4 var(--f-display); }
.contact-list a:hover { color: var(--c3); }
.map { overflow: hidden; height: 240px; padding: 0; border-radius: var(--radius); }
.map iframe { width: 100%; height: 100%; border: 0; filter: var(--map-filter); }
.lead-form { padding: clamp(24px, 3.5vw, 44px); display: grid; gap: 18px; }
.form-head { display: grid; gap: 10px; margin-bottom: 6px; }
.form-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; }
.form-head h3 { font-size: 26px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font: 500 13.5px/1.2 var(--f-display); color: var(--muted); padding: 0; margin-bottom: 8px; }
.field > span { margin-bottom: 0; }
.field em { font-style: normal; color: var(--dim); }
.field input, .field textarea {
  width: 100%; padding: 15px 16px; border-radius: 14px; border: 0; outline: 0; font: 400 15.5px/1.4 var(--f-body); color: var(--text);
  background: color-mix(in srgb, var(--bg) 55%, transparent); box-shadow: inset 0 0 0 1px var(--border-2); transition: box-shadow .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus { box-shadow: inset 0 0 0 1.5px var(--c3), 0 0 0 4px color-mix(in srgb, var(--c3) 15%, transparent); background: color-mix(in srgb, var(--bg) 35%, transparent); }
.field.has-error input, .field.has-error .svc-chips { box-shadow: inset 0 0 0 1.5px #ff6b81; border-radius: 14px; }
.svc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.svc { position: relative; }
.svc input { position: absolute; opacity: 0; pointer-events: none; }
.svc span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border-2); cursor: pointer; transition: all .25s var(--ease); user-select: none; }
.svc span::before { content: ''; width: 14px; height: 14px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--border-2); transition: all .25s; }
.svc input:checked + span { background: color-mix(in srgb, var(--c1) 20%, transparent); box-shadow: inset 0 0 0 1px var(--c3); color: var(--text); }
.svc input:checked + span::before { background: var(--grad) center / 100% no-repeat; box-shadow: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"), var(--grad); background-size: 10px, 100%; background-repeat: no-repeat; background-position: center; }
.svc input:focus-visible + span { outline: 2px solid var(--c3); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { padding: 12px 16px; border-radius: 12px; background: color-mix(in srgb, #ff6b81 14%, transparent); color: #ff8b9d; font-size: 14px; }
[data-theme="light"] .form-error { color: #c4233f; }
.form-legal { font-size: 12.5px; color: var(--dim); text-align: center; }
.form-legal a { text-decoration: underline; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading span { opacity: .4; }
.btn.is-loading::before { opacity: 1; animation: loadbar 1.2s linear infinite; background: linear-gradient(90deg, var(--c1), var(--c3), var(--c1)); background-size: 200% 100%; }
@keyframes loadbar { to { background-position: -200% 0; } }
.form-success { padding: clamp(36px, 5vw, 60px); display: grid; justify-items: center; text-align: center; gap: 16px; animation: pop .7s var(--ease-out); }
.form-success h3 { font-size: 30px; }
.form-success p { color: var(--muted); max-width: 420px; }
.success-orb { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 0 60px color-mix(in srgb, var(--c3) 60%, transparent); animation: breathe 2.4s ease-in-out infinite; }
.success-orb .ico { width: 38px; height: 38px; stroke-width: 2.5; }

/* ---------- CTA / rich text ---------- */
.cta-band { padding: clamp(36px, 5vw, 70px); display: grid; justify-items: center; text-align: center; gap: 18px; }
.cta-band h2 { font-size: clamp(32px, 4.4vw, 58px); }
.cta-band p { color: var(--muted); max-width: 620px; }
.prose { font-size: 17.5px; line-height: 1.8; color: color-mix(in srgb, var(--text) 88%, var(--muted)); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); margin-top: 1.8em; color: var(--text); }
.prose h3 { font-size: 23px; margin-top: 1.6em; color: var(--text); }
.prose a { color: var(--c3); text-decoration: underline; text-underline-offset: 3px; }
[data-theme="light"] .prose a { color: var(--c1); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.6em; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 2px; background: var(--grad); transform: rotate(45deg); }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .45em; }
.prose blockquote { margin: 1.6em 0; padding: 22px 26px; border-radius: 16px; background: var(--grad-soft); border-left: 3px solid var(--c3); font: 500 20px/1.5 var(--f-display); color: var(--text); }
.prose img { border-radius: 16px; margin: 1.6em 0; }
.prose pre { padding: 18px; border-radius: 14px; background: var(--surface-2); overflow-x: auto; font-size: 14px; }
.prose code { font-family: var(--f-mono); font-size: .88em; }
.prose hr { border: 0; height: 1px; background: var(--border-2); margin: 2.4em 0; }
.prose-card { padding: clamp(26px, 4vw, 54px); }

/* ---------- Page hero / article ---------- */
.page-hero { padding: calc(var(--nav-h) + clamp(70px, 10vw, 120px)) 0 clamp(30px, 4vw, 50px); }
.page-hero .container { display: grid; gap: 22px; justify-items: start; }
.page-hero .center, .page-hero .container.center { justify-items: center; }
.page-title { font-size: clamp(42px, 6.4vw, 88px); letter-spacing: -.045em; }
.article-title { font-size: clamp(36px, 5vw, 64px); }
.back-link { color: var(--muted); }
.back-link:hover { color: var(--c3); }
.article-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--muted); }
.author-dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font: 600 12px/1 var(--f-display); }
.article-cover { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 50px; aspect-ratio: 16 / 8; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-share { display: flex; align-items: center; gap: 8px; margin: 50px 0 40px; padding-top: 26px; border-top: 1px solid var(--border); }
.article-share span { color: var(--muted); margin-right: 8px; }
.article-share a, .article-share button { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--border-2); transition: background .3s, color .3s; }
.article-share a:hover, .article-share button:hover { background: var(--grad); color: #fff; }
.article-cta { padding: 34px; display: grid; gap: 14px; justify-items: start; margin-bottom: 40px; }
.article-cta h3 { font-size: 26px; }
.article-cta p { color: var(--muted); }
.page-404 { min-height: 80vh; display: grid; align-items: center; }
.glitch { font-size: clamp(90px, 18vw, 200px); font-weight: 700; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.04em; }

/* ---------- Footer ---------- */
.footer { position: relative; padding: clamp(60px, 9vw, 110px) 0 30px; border-top: 1px solid var(--border); overflow: hidden; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--c1) 6%, transparent)); }
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding-bottom: clamp(50px, 7vw, 80px); margin-bottom: clamp(40px, 6vw, 70px); border-bottom: 1px solid var(--border); }
.footer-cta-title { font-size: clamp(34px, 5vw, 66px); max-width: 760px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-brand { display: grid; gap: 18px; align-content: start; }
.footer-brand .brand-logo { height: 56px; }
.footer-brand p { color: var(--muted); font-size: 15px; max-width: 320px; }
.socials { display: flex; gap: 8px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--border-2); transition: background .3s, color .3s, transform .4s var(--ease-out); }
.socials a:hover { background: var(--grad); color: #fff; transform: translateY(-3px); }
.footer h4 { font: 500 12px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .14em; color: var(--dim); margin-bottom: 20px; }
.footer ul { display: grid; gap: 12px; }
.footer ul a { color: var(--muted); transition: color .2s; }
.footer ul a:hover { color: var(--text); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 15px; }
.footer-contact .ico { color: var(--c3); margin-top: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--dim); font-size: 13.5px; }
.footer-bottom a:hover { color: var(--c3); }
.footer-mega { margin-top: 30px; font: 700 min(7.4vw, 112px)/.85 var(--f-display); letter-spacing: -.06em; text-align: center; white-space: nowrap; background: linear-gradient(180deg, color-mix(in srgb, var(--c1) 50%, transparent), transparent 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #25d366; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7); transition: transform .4s var(--ease-out); }
.wa-float .ico { width: 28px; height: 28px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2.4s var(--ease) infinite; }

/* ---------- Builder preview helpers ---------- */
.sec-disabled { margin: 10px auto; max-width: var(--container); padding: 14px 20px; border: 1px dashed var(--border-2); border-radius: 12px; color: var(--dim); font: 500 13px/1 var(--f-mono); text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-phone span { display: none; }
  .cards-grid--4, .catalog-grid { grid-template-columns: repeat(3, 1fr); }
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .nav-links, .nav-phone { display: none; }
  .nav-burger { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { position: absolute; inset: 0; height: auto; z-index: -1; opacity: .9; }
  .hud { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(3) { border-left: 0; }
  .hero-stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .stack-card-inner { grid-template-columns: 1fr; min-height: 0; }
  .stack-visual { display: none; }
  .auto-top, .apps-grid, .web-band, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .apps-visual, .faq-side { position: relative; top: 0; }
  .work-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 28px; }
  .steps-line { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .lightbox-panel, .post-feature-link { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --nav-h: 66px; }
  .nav { top: 10px; }
  .nav-inner { height: 58px; padding: 0 8px 0 16px; gap: 10px; }
  .nav-actions .btn { display: none; }
  .brand-logo { height: 34px; }
  .cards-grid--4, .catalog-grid, .ind-grid, .apps-list, .work-grid, .post-grid, .field-row { grid-template-columns: 1fr; }
  .catalog-grid { gap: 1px; }
  .ind-grid { grid-template-columns: 1fr 1fr; }
  .cat-item { min-height: 0; }
  .steps { grid-template-columns: 1fr; }
  .testi-head, .blog-head { flex-direction: column; align-items: start; }
  .float-chip { display: none; }
  .phone3d { transform: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .faq-a { padding-left: 24px; }
  .hero-stat { padding: 18px; }
  .stack-card { top: calc(var(--nav-h) + 18px + var(--i) * 14px); }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .hero-eyebrow { font-size: 10px; letter-spacing: .06em; }
  .hero { padding-top: calc(var(--nav-h) + 50px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-hero-in] { opacity: 1; transform: none; filter: none; }
  .split-word > span { transform: none; }
}
@media print {
  .bg-scene, .grain, .cursor, .nav, .wa-float, .preloader, .scroll-progress { display: none !important; }
}

/* ==========================================================================
   Multi-page components
   ========================================================================== */
/* ---------- Mega menu ---------- */
.nav-mega-wrap { position: relative; }
.has-mega { display: inline-flex !important; align-items: center; gap: 4px; }
.nav-caret { width: 14px; height: 14px; transition: transform .3s var(--ease-out); }
.nav-mega-wrap:hover .nav-caret, .nav-mega-wrap:focus-within .nav-caret { transform: rotate(180deg); }
.mega { position: fixed; left: 50%; top: 86px; width: min(1180px, calc(100vw - 40px)); transform: translate(-50%, 10px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .4s var(--ease-out), visibility .3s; z-index: 101; }
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -26px; height: 26px; }
.nav-mega-wrap:hover .mega, .nav-mega-wrap:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-inner { display: grid; grid-template-columns: repeat(4, 1fr) 220px; gap: 6px; padding: 18px; border-radius: 26px; background: color-mix(in srgb, var(--bg) 97%, transparent); box-shadow: 0 0 0 1px var(--border-2), 0 40px 80px -30px rgba(0,0,0,.7); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%); }
.mega-col { padding: 10px; }
.mega-head { display: flex; align-items: center; gap: 12px; padding: 8px; margin: -8px -8px 10px; border-radius: 14px; transition: background .2s; }
.mega-head:hover { background: var(--surface-2); }
.mega-head b { display: block; font: 600 15px/1.2 var(--f-display); }
.mega-head small { color: var(--muted); font-size: 12px; }
.mega-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--grad); color: #fff; flex: none; }
.mega-ico .ico { width: 18px; height: 18px; }
.nav-links .mega ul a { display: block; padding: 6px 8px; border-radius: 8px; font: 400 13.5px/1.35 var(--f-body); color: var(--muted); background: none; }
.nav-links .mega ul a:hover { color: var(--text); background: var(--surface-2); }
.nav-links .mega .mega-more { color: var(--c3); font-weight: 500; }
.nav-links .mega .mega-cta { display: grid; align-content: end; gap: 6px; padding: 20px; border-radius: 18px; background: var(--grad); color: #fff; position: relative; overflow: hidden; }
.nav-links .mega .mega-cta:hover { background: var(--grad); color: #fff; }
.mega-cta b { font: 600 18px/1.2 var(--f-display); }
.mega-cta small { opacity: .8; }
.mega-cta span { position: absolute; right: 16px; top: 16px; }
.mobile-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 30px; }
.mobile-cats a { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); font-weight: 500; }
.mobile-cats .ico { color: var(--c3); }

/* ---------- Breadcrumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--dim); margin-bottom: 18px; }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--c3); }
.crumbs b { color: var(--text); font-weight: 500; }
.center .crumbs { justify-content: center; }

/* ---------- Inner-page hero ---------- */
.phero { position: relative; padding: calc(var(--nav-h) + clamp(80px, 12vh, 140px)) 0 clamp(50px, 8vh, 90px); min-height: 78vh; display: grid; align-items: center; overflow: hidden; }
.phero .container { display: grid; gap: 24px; justify-items: start; }
.phero--center .container { justify-items: center; text-align: center; }
.phero-title { font-size: clamp(44px, 7vw, 100px); line-height: .98; letter-spacing: -.045em; max-width: 1100px; }
.phero--manifesto .phero-title { font-size: clamp(42px, 6.4vw, 92px); max-width: 1150px; }
.phero-sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 680px; }
.phero-chips, .cat-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: inherit; }
.phero--center .phero-chips, .cat-chips { justify-content: center; }
.phero-chips li, .cat-chips li { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border-2); font-size: 14px; backdrop-filter: blur(8px); }
.cat-chips .ico { color: var(--c3); width: 15px; height: 15px; }
.phero-ring { position: absolute; left: 50%; top: 55%; width: min(1100px, 130vw); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%) rotateX(74deg); border: 1px solid var(--border-2); pointer-events: none; z-index: -1; animation: ringspin 40s linear infinite; }
.phero-ring::after { content: ''; position: absolute; inset: 12%; border-radius: 50%; border: 1px dashed var(--border); }
@keyframes ringspin { to { transform: translate(-50%, -50%) rotateX(74deg) rotateZ(360deg); } }
.page-contact .contact { padding-top: calc(var(--nav-h) + 90px); }

/* ---------- Category hero ---------- */
.cat-hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: calc(var(--nav-h) + 70px) 0 90px; overflow: hidden; }
.cat-hero .container { display: grid; gap: 22px; justify-items: center; text-align: center; }
.cat-title { font-size: clamp(46px, 8vw, 118px); line-height: .95; letter-spacing: -.05em; max-width: 1150px; }
.cat-bignum { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font: 700 clamp(240px, 42vw, 620px)/1 var(--f-display); letter-spacing: -.08em; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--c3) 22%, transparent); pointer-events: none; z-index: -1; user-select: none; }

/* ---------- Service cards / grids ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.svc-grid--lg { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-card { position: relative; display: grid; gap: 10px; align-content: start; padding: 24px 22px 26px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); min-height: 200px; transition: transform .5s var(--ease-out), box-shadow .4s, background .4s; overflow: hidden; }
.svc-grid--lg .svc-card { min-height: 240px; padding: 30px 28px; }
.svc-card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c3) 45%, transparent), var(--glow); }
.svc-num { position: absolute; right: 20px; top: 20px; color: var(--dim); }
.svc-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--c3); background: linear-gradient(140deg, color-mix(in srgb, var(--c1) 26%, transparent), color-mix(in srgb, var(--c3) 10%, transparent)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c3) 30%, transparent); transition: background .4s, color .4s, transform .5s var(--ease-out); }
[data-theme="light"] .svc-ico { color: var(--c1); }
.svc-card:hover .svc-ico { background: var(--grad); color: #fff; transform: rotate(-8deg) scale(1.05); }
.svc-card strong { font: 600 18px/1.25 var(--f-display); letter-spacing: -.015em; margin-top: 8px; }
.svc-grid--lg .svc-card strong { font-size: 21px; }
.svc-card small { color: var(--muted); font-size: 14px; line-height: 1.5; }
.svc-go { position: absolute; right: 18px; bottom: 18px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--border-2); opacity: 0; transform: translate(-6px, 6px); transition: all .4s var(--ease-out); }
.svc-card:hover .svc-go { opacity: 1; transform: none; background: var(--grad); color: #fff; box-shadow: none; }

/* ---------- Service explorer ---------- */
.ex-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.ex-tab { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); font: 600 15px/1 var(--f-display); color: var(--muted); transition: all .3s var(--ease); }
.ex-tab em { font-style: normal; font: 500 11px/1 var(--f-mono); padding: 4px 7px; border-radius: 999px; background: var(--surface-2); }
.ex-tab:hover { color: var(--text); }
.ex-tab.is-active { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.ex-tab.is-active em { background: rgba(255,255,255,.2); color: #fff; }
.ex-panel { animation: pop .6s var(--ease-out); }
.ex-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-bottom: 22px; }
.ex-panel-head p { color: var(--muted); max-width: 720px; }
.ex-block { padding: clamp(30px, 4vw, 50px) 0; border-top: 1px solid var(--border); scroll-margin-top: 100px; }
.ex-block-head { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; margin-bottom: 26px; }
.ex-num { font-size: 15px; color: var(--c3); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--border-2); }
.ex-block-head h3 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 6px; }
.ex-block-head h3 a:hover { color: var(--c3); }
.ex-block-head p { color: var(--muted); max-width: 720px; }

/* ---------- Statement (scroll-scrubbed words) ---------- */
.statement .container { display: grid; gap: 26px; }
.statement-text { font: 500 clamp(28px, 3.8vw, 54px)/1.22 var(--f-display); letter-spacing: -.03em; }
.statement-text .w { opacity: .14; transition: opacity .25s linear, color .25s; }
.statement-text .w.on { opacity: 1; }
.no-scrub .statement-text .w { opacity: 1; }

/* ---------- Tech groups ---------- */
.techg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.techg-card { padding: 26px; display: grid; gap: 14px; align-content: start; border-radius: var(--radius); }
.techg-card h3 { font-size: 20px; }

/* ---------- Benefits ---------- */
.bene-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bene { padding: 30px 26px; display: grid; gap: 12px; align-content: start; border-radius: var(--radius); min-height: 230px; }
.bene-num { font-size: 13px; color: var(--c3); margin-bottom: 18px; }
.bene h3 { font-size: 22px; }
.bene p { color: var(--muted); }

/* ---------- Service page hero + spec card ---------- */
.svc-hero { padding: calc(var(--nav-h) + clamp(60px, 9vh, 110px)) 0 clamp(50px, 8vh, 80px); min-height: 100svh; display: grid; align-items: center; }
.svc-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.svc-hero-copy { display: grid; gap: 22px; justify-items: start; }
.svc-title { font-size: clamp(42px, 6vw, 86px); line-height: .98; letter-spacing: -.045em; }
.svc-tagline { font: 500 clamp(20px, 2vw, 27px)/1.3 var(--f-display); letter-spacing: -.02em; max-width: 640px; background: linear-gradient(90deg, var(--text), color-mix(in srgb, var(--text) 55%, var(--c3))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.spec { padding: 0; border-radius: var(--r-lg); overflow: hidden; align-self: center; }
.spec-bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); color: var(--muted); }
.spec-live { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: #2fe3a2; }
.spec-label { padding: 20px 22px 4px; color: var(--dim); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; }
.spec-list { padding: 8px 22px 18px; display: grid; gap: 4px; }
.spec-list li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--border); font: 500 15px/1.35 var(--f-display); opacity: 0; transform: translateX(14px); }
.loaded .spec-list li { animation: line-in .6s var(--ease-out) forwards; animation-delay: calc(var(--d) * .12s + .6s); }
.spec-list .ico { width: 18px; height: 18px; color: #2fe3a2; flex: none; }
.spec-foot { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 16px 22px; background: var(--surface); border-top: 1px solid var(--border); }
.spec-foot small { display: block; color: var(--dim); font-size: 10.5px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 4px; }
.spec-foot b { font: 600 14px/1.3 var(--f-display); }

/* ---------- Features / use cases / outcomes ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat-top { display: flex; justify-content: space-between; align-items: start; }
.feat-n { color: var(--dim); }
.feats .feature { padding: 30px; min-height: 220px; }
.feats .feature h3 { font-size: 20px; }
.uc-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.uc-grid .sec-head { position: sticky; top: calc(var(--nav-h) + 40px); }
.uc-list { display: grid; gap: 10px; }
.uc-list li { display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center; padding: 22px 24px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); transition: transform .4s var(--ease-out), box-shadow .3s; }
.uc-list li:hover { transform: translateX(8px); box-shadow: inset 0 0 0 1px var(--c3); }
.uc-list span { color: var(--c3); }
.uc-list b { font: 500 clamp(17px, 1.6vw, 21px)/1.35 var(--f-display); }
.uc-list .ico { color: var(--dim); }
.out-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-block: 1px solid var(--border); }
.out { padding: clamp(30px, 4vw, 54px) clamp(20px, 3vw, 40px); display: grid; gap: 12px; align-content: start; }
.out + .out { border-left: 1px solid var(--border); }
.out-glyph { font: 400 clamp(48px, 5vw, 72px)/1 var(--f-accent); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.out h3 { font-size: clamp(22px, 2.2vw, 30px); }
.out p { color: var(--muted); }
.stack-row { display: flex; gap: 30px; align-items: center; flex-wrap: wrap; }
.tech-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.tech-chips li { padding: 12px 20px; border-radius: 14px; font: 500 15px/1 var(--f-display); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border-2); }
.work-grid--2 { grid-template-columns: repeat(2, 1fr); }
.steps[style*="--cols"] { grid-template-columns: repeat(var(--cols), 1fr); }
.process .steps:not([style]) { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.more-row { margin-top: 40px; }

/* ---------- Quote block ---------- */
.why-list { display: grid; gap: 16px; margin: 10px 0 26px; }
.why-list li { display: flex; gap: 16px; align-items: center; }
.why-list strong { display: block; font: 600 16.5px/1.3 var(--f-display); }
.why-list small { color: var(--muted); font-size: 14.5px; }
.quote-direct { color: var(--muted); }
.quote-direct a { color: var(--text); font-weight: 500; }
.quote-direct a:hover { color: var(--c3); }

/* ---------- Case study ---------- */
.proj-hero { padding: calc(var(--nav-h) + clamp(60px, 9vh, 110px)) 0 40px; }
.proj-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 70px); }
.proj-title { font-size: clamp(48px, 8vw, 120px); line-height: .95; letter-spacing: -.05em; margin: 18px 0 14px; }
.proj-shot { border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); box-shadow: 0 0 0 1px var(--border-2), 0 60px 120px -40px rgba(0,0,0,.8), 0 0 120px -40px color-mix(in srgb, var(--c1) 70%, transparent); }
.proj-img { width: 100%; height: auto; display: block; }
.proj-shot--tall { max-width: 420px; margin: 0 auto; }
.cs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); }
.cs-block { display: grid; gap: 16px; padding-top: 26px; border-top: 1px solid var(--border-2); }
.cs-label { color: var(--c3); text-transform: uppercase; letter-spacing: .12em; }
.cs-block p { font: 400 clamp(18px, 1.6vw, 22px)/1.55 var(--f-body); }
.cs-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cs-card { padding: clamp(26px, 3.5vw, 44px); display: grid; gap: 18px; align-content: start; }
.cs-card h3 { font-size: 24px; }
.cs-sub { margin-top: 10px; }
.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.check-list .ico { color: #2fe3a2; margin-top: 3px; }
.check-list--res .ico { color: var(--c3); }
.cs-live { justify-self: start; }
.svc-banner { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 26px 30px; border-radius: var(--r-lg); }
.svc-banner small { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.svc-banner strong { display: block; font: 600 24px/1.2 var(--f-display); margin: 4px 0; }
.svc-banner p { color: var(--muted); }
.svc-banner .svc-go { position: static; opacity: 1; transform: none; }
.svc-banner:hover .svc-go { background: var(--grad); color: #fff; }
.proj-nav-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pn { display: grid; gap: 8px; padding: 30px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); transition: box-shadow .3s, transform .4s var(--ease-out); }
.pn:hover { box-shadow: inset 0 0 0 1px var(--c3); transform: translateY(-4px); }
.pn small { color: var(--muted); }
.pn strong { font: 600 clamp(22px, 2.4vw, 32px)/1.2 var(--f-display); }
.pn-next { text-align: right; grid-column: 2; }
.work-info h3 a:hover { color: var(--c3); }

@media (max-width: 1180px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .techg-grid, .bene-grid { grid-template-columns: repeat(2, 1fr); }
  .mega-inner { grid-template-columns: repeat(4, 1fr); }
  .mega-cta { display: none !important; }
}
@media (max-width: 1024px) {
  .svc-hero-grid, .uc-grid, .proj-hero-grid, .cs-grid, .cs-cols { grid-template-columns: 1fr; }
  .uc-grid .sec-head { position: static; }
  .svc-grid, .svc-grid--lg, .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .ex-block-head { grid-template-columns: auto 1fr; }
  .ex-block-head .btn { grid-column: 1 / -1; justify-self: start; }
  .out-grid { grid-template-columns: 1fr; }
  .out + .out { border-left: 0; border-top: 1px solid var(--border); }
  .steps[style*="--cols"] { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .svc-grid, .svc-grid--lg, .feat-grid, .techg-grid, .bene-grid, .work-grid--2, .proj-nav-grid { grid-template-columns: 1fr; }
  .steps[style*="--cols"] { grid-template-columns: 1fr; }
  .pn-next { grid-column: auto; text-align: left; }
  .ex-panel-head { flex-direction: column; align-items: start; }
  .svc-banner { grid-template-columns: 1fr; }
  .uc-list li { grid-template-columns: 36px 1fr; } .uc-list .ico { display: none; }
  .cat-hero, .svc-hero { min-height: 0; }
  .feats .feature, .bene, .svc-card { min-height: 0; }
}
.nav-links .mega-head { padding: 8px; color: var(--text); }
.nav-links .mega-head:hover { background: var(--surface-2); }
.seen .preloader, .preloader.skip { display: none; }
