/* ==========================================================================
   Celective Studios — Design System
   Dark "aurora glass" theme · per-page accent palettes · motion-first
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #07070d;
  --bg-2: #0c0b15;
  --bg-3: #13121e;
  --surface: rgba(255,255,255,.035);
  --surface-2: rgba(255,255,255,.06);
  --border: rgba(255,255,255,.08);
  --border-2: rgba(255,255,255,.15);
  --text: #EEEDF5;
  --muted: #A6A3BA;
  --dim: #747189;
  --ink: #09080f;

  /* brand */
  --purple: #8B6EC5;
  --purple-deep: #644A9E;
  --teal: #75CCD2;
  --mint: #98D4C5;
  --lav: #B8A0E0;

  /* page accents (overridden per theme) */
  --a1: #8B6EC5;
  --a2: #75CCD2;
  --a3: #98D4C5;
  --grad: linear-gradient(120deg, var(--a1), var(--a2));
  --grad-3: linear-gradient(120deg, var(--a1), var(--a2) 55%, var(--a3));

  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --font-d: 'Sora', system-ui, sans-serif;
  --font-b: 'Inter', system-ui, sans-serif;
  --font-m: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  color-scheme: dark;
}

body[data-theme="software"]  { --a1: #4F8CFF; --a2: #75CCD2; --a3: #7CF5D9; }
body[data-theme="marketing"] { --a1: #9B7BFF; --a2: #FF7AB6; --a3: #FFB86B; }
body[data-theme="social"]    { --a1: #FF6B9A; --a2: #FFB347; --a3: #B8A0E0; }
body[data-theme="work"]      { --a1: #75CCD2; --a2: #98D4C5; --a3: #8B6EC5; }
body[data-theme="team"]      { --a1: #B8A0E0; --a2: #7FB2FF; --a3: #75CCD2; }
body[data-theme="careers"]   { --a1: #98D4C5; --a2: #C6F36B; --a3: #75CCD2; }
body[data-theme="faq"]       { --a1: #5AA9FF; --a2: #75CCD2; --a3: #B8A0E0; }
body[data-theme="legal"]     { --a1: #9AA6C4; --a2: #75CCD2; --a3: #B8A0E0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before { /* fine grain */
  content: ''; position: fixed; inset: 0; z-index: 0; 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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, footer { position: relative; z-index: 1; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: color-mix(in srgb, var(--a1) 45%, transparent); color: #fff; }
:focus-visible { outline: 2px solid var(--a2); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, calc(100% - 40px)); margin-inline: auto; position: relative; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.grad-text, .grad .wi { background: var(--grad-3); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: gradShift 8s ease-in-out infinite alternate; }
@keyframes gradShift { to { background-position: 100% 0; } }

/* ---------- Page curtain / transitions ---------- */
.curtain { display: none; }
.js .curtain {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 1000;
  background: var(--bg-2); transform-origin: top; pointer-events: none;
  transition: transform .8s var(--ease-io);
}
.js .curtain::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad);
}
.curtain-logo { width: 56px; height: 56px; animation: curtainPulse 1.2s var(--ease) infinite; }
@keyframes curtainPulse { 0%,100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.88) rotate(30deg); opacity: .7; } }
.js.loaded .curtain { transform: scaleY(0); }
.js.leaving .curtain { transform: scaleY(1); transform-origin: bottom; transition-duration: .5s; }

/* ---------- Scroll progress + cursor ---------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 200; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.cursor { position: fixed; top: 0; left: 0; width: 36px; height: 36px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--a2) 60%, transparent); pointer-events: none; z-index: 300; opacity: 0; transition: width .35s var(--ease), height .35s var(--ease), background .35s, opacity .3s, border-color .3s; mix-blend-mode: screen; }
.cursor.on { opacity: 1; }
.cursor.hover { width: 64px; height: 64px; background: color-mix(in srgb, var(--a2) 12%, transparent); border-color: transparent; }
.cursor-glow { position: fixed; top: 0; left: 0; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; z-index: 0; background: radial-gradient(circle, color-mix(in srgb, var(--a1) 16%, transparent), transparent 65%); opacity: 0; transition: opacity .6s; }
.cursor-glow.on { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-glow { display: none; } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 150;
  width: min(1240px, calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 18px; border-radius: 18px; border: 1px solid transparent;
  transform: translate(-50%, 0);
  transition: transform .5s var(--ease), background .4s, border-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.nav.scrolled { background: rgba(12, 11, 21, .72); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); border-color: var(--border); box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
.nav.hide { transform: translate(-50%, calc(-100% - 24px)); }
.logo { display: flex; align-items: center; gap: 11px; }
.logo-mark { width: 38px; height: 38px; transition: transform .8s var(--ease); }
.logo:hover .logo-mark { transform: rotate(120deg); }
.logo-name { font-family: var(--font-d); font-size: 16px; font-weight: 700; letter-spacing: .12em; line-height: 1; }
.logo-tag { font-size: 9px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--a2); margin-top: 4px; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a { position: relative; display: block; padding: 9px 13px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--muted); transition: color .25s, background .25s; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--a2); transform: translateX(-50%); box-shadow: 0 0 10px var(--a2); }
.nav .btn { padding: 11px 18px; font-size: 14px; border-radius: 12px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); position: relative; z-index: 160; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--text); border-radius: 2px; transition: transform .45s var(--ease), top .45s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 140; display: flex; flex-direction: column; justify-content: center;
  padding: 100px 28px 40px; background: rgba(8, 8, 14, .92); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  clip-path: circle(0% at calc(100% - 40px) 40px); visibility: hidden;
  transition: clip-path .8s var(--ease-io), visibility 0s .8s;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; transition: clip-path .8s var(--ease-io), visibility 0s; }
.mobile-menu a { font-family: var(--font-d); font-size: clamp(26px, 7vw, 40px); font-weight: 600; letter-spacing: -.02em; padding: 8px 0; color: var(--muted); opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .2s; transition-delay: calc(.25s + var(--i, 0) * 50ms); }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--text); }
.mobile-menu a.active::before { content: '→ '; color: var(--a2); }
.menu-open .mobile-menu a { opacity: 1; transform: none; }
.mobile-menu .menu-foot { margin-top: 36px; font-size: 14px; color: var(--dim); opacity: 0; transition: opacity .5s .6s; }
.menu-open .mobile-menu .menu-foot { opacity: 1; }
.menu-open { overflow: hidden; }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 14px; font-family: var(--font-b); font-size: 15px; font-weight: 600; line-height: 1; overflow: hidden; isolation: isolate; white-space: nowrap; transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .3s, border-color .3s; will-change: transform; }
.btn .icon { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn-primary { background: var(--grad); color: var(--ink); box-shadow: 0 14px 34px -14px color-mix(in srgb, var(--a1) 80%, transparent), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-primary::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 20px 44px -14px color-mix(in srgb, var(--a2) 80%, transparent), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-ghost { border: 1px solid var(--border-2); background: rgba(255,255,255,.03); color: var(--text); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: color-mix(in srgb, var(--a2) 60%, transparent); background: color-mix(in srgb, var(--a2) 8%, transparent); }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--a2); }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.link-arrow:hover .icon { transform: translate(3px, -3px); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; padding: 150px 0 100px; overflow: hidden; isolation: isolate; }
.hero.full { min-height: 100vh; }
.hero.compact { min-height: 70vh; }
.hero.center { text-align: center; }
.hero.center .hero-desc { margin-inline: auto; }
.hero.center .hero-actions { justify-content: center; }
.aurora { position: absolute; inset: -10%; z-index: -2; filter: blur(90px) saturate(1.3); opacity: .75; pointer-events: none; }
.aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift 22s var(--ease-io) infinite alternate; }
.aurora span:nth-child(1) { width: 46vw; height: 46vw; top: -12%; right: -6%; background: color-mix(in srgb, var(--a1) 70%, transparent); }
.aurora span:nth-child(2) { width: 36vw; height: 36vw; bottom: -14%; left: -4%; background: color-mix(in srgb, var(--a2) 45%, transparent); animation-duration: 26s; animation-delay: -6s; }
.aurora span:nth-child(3) { width: 26vw; height: 26vw; top: 30%; left: 40%; background: color-mix(in srgb, var(--a3) 35%, transparent); animation-duration: 30s; animation-delay: -12s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-8vw, 6vh) scale(1.12); }
  66% { transform: translate(6vw, -4vh) scale(.92); }
  100% { transform: translate(-3vw, 8vh) scale(1.05); }
}
.grid-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%); animation: gridMove 20s linear infinite; }
@keyframes gridMove { to { background-position: 64px 64px; } }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: -1; background: linear-gradient(transparent, var(--bg)); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 100px; border: 1px solid var(--border-2); background: rgba(255,255,255,.04); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text); margin-bottom: 28px; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--a2); box-shadow: 0 0 0 0 var(--a2); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--a2) 70%, transparent); } 80%,100% { box-shadow: 0 0 0 10px transparent; } }
.hero-title { font-family: var(--font-d); font-size: clamp(42px, 6.6vw, 88px); font-weight: 700; line-height: 1.02; letter-spacing: -.045em; margin-bottom: 28px; }
.hero.compact .hero-title, .hero.center .hero-title { font-size: clamp(40px, 6vw, 80px); }
.hero-desc { font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); max-width: 560px; line-height: 1.7; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 20px; border: 1.5px solid var(--border-2); z-index: 2; }
.scroll-cue::after { content: ''; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; border-radius: 3px; background: var(--a2); transform: translateX(-50%); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* split text */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wi { display: inline-block; }
.js [data-split] .wi { transform: translateY(110%) rotate(4deg); opacity: 0; transition: transform 1.1s var(--ease), opacity 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 60ms + 250ms); }
.js [data-split].in .wi { transform: none; opacity: 1; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="scale"] { transform: scale(.92); }
.js [data-reveal="blur"] { filter: blur(12px); transform: translateY(16px); }
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(84px, 11vw, 140px) 0; }
.section.alt { background: linear-gradient(180deg, transparent, var(--bg-2) 18%, var(--bg-2) 82%, transparent); }
.section.tight { padding-top: 40px; }
.section-head { max-width: 720px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--a2); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 28px; height: 1.5px; background: var(--grad); border-radius: 2px; }
.h2 { font-family: var(--font-d); font-size: clamp(32px, 4.8vw, 58px); font-weight: 700; line-height: 1.06; letter-spacing: -.04em; margin-bottom: 20px; }
.h3 { font-family: var(--font-d); font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.lead { font-size: 17px; color: var(--muted); max-width: 580px; line-height: 1.75; }
.body-text { font-size: 16.5px; color: var(--muted); line-height: 1.85; margin-bottom: 20px; }
.muted { color: var(--muted); }

/* ---------- Cards (spotlight + border glow) ---------- */
.card { position: relative; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border: 1px solid var(--border); padding: 32px 28px; isolation: isolate; transition: transform .6s var(--ease), border-color .4s, background .4s; transform-style: preserve-3d; }
.card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--a2) 13%, transparent), transparent 45%); opacity: 0; transition: opacity .5s; }
.card::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--a2) 90%, transparent), transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: 0; transition: opacity .5s; }
.card:hover::before, .card:hover::after { opacity: 1; }
.card:hover { border-color: var(--border-2); }
.icon-box { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 24px; color: var(--a2); background: color-mix(in srgb, var(--a2) 10%, transparent); border: 1px solid color-mix(in srgb, var(--a2) 22%, transparent); transition: transform .6s var(--ease), background .4s; }
.icon-box.alt { color: var(--a1); background: color-mix(in srgb, var(--a1) 12%, transparent); border-color: color-mix(in srgb, var(--a1) 26%, transparent); }
.icon-box.alt2 { color: var(--a3); background: color-mix(in srgb, var(--a3) 10%, transparent); border-color: color-mix(in srgb, var(--a3) 24%, transparent); }
.card:hover .icon-box { transform: translateZ(30px) rotate(-8deg) scale(1.06); }
.card .h3 { margin-bottom: 12px; }
.card p { font-size: 15px; color: var(--muted); line-height: 1.7; }
.card .num { font-family: var(--font-d); font-size: 15px; font-weight: 600; color: var(--dim); letter-spacing: .08em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag { font-size: 12px; font-weight: 500; padding: 6px 12px; border-radius: 100px; background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); transition: color .3s, border-color .3s; }
.card:hover .tag { color: var(--text); border-color: var(--border-2); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 96px); align-items: center; }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; padding: 28px 0; border-block: 1px solid var(--border); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 56px; animation: marquee 38s linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 56px; font-family: var(--font-d); font-size: clamp(22px, 3vw, 36px); font-weight: 600; letter-spacing: -.02em; color: var(--dim); white-space: nowrap; transition: color .3s; }
.marquee-item:hover { color: var(--text); }
.marquee-item::after { content: '✦'; font-size: .6em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: var(--radius); background: rgba(255,255,255,.025); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); overflow: hidden; }
.stat { padding: 36px 24px; text-align: center; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--border); }
.stat-num { font-family: var(--font-d); font-size: clamp(34px, 4vw, 52px); font-weight: 700; letter-spacing: -.04em; line-height: 1; background: var(--grad-3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { font-size: 14px; color: var(--muted); margin-top: 10px; }

/* ---------- Glass window (terminal / code / dashboard) ---------- */
.window { position: relative; border-radius: var(--radius); border: 1px solid var(--border-2); background: linear-gradient(180deg, rgba(22,21,34,.85), rgba(12,11,20,.85)); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.02) inset; overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.window-bar i:nth-child(2) { background: #febc2e; } .window-bar i:nth-child(3) { background: #28c840; }
.window-bar span { margin-left: 10px; font-family: var(--font-m); font-size: 12px; color: var(--dim); }
.window-body { padding: 22px 22px 26px; }
.code { font-family: var(--font-m); font-size: 13.5px; line-height: 1.9; color: #cfcde0; white-space: pre; overflow-x: auto; }
.code .kw { color: #C8A6FF; } .code .fn { color: var(--teal); } .code .str { color: #A6E3A1; } .code .cm { color: var(--dim); } .code .ok { color: #7CF5D9; } .code .num { color: #FFB86B; }
.code .ln { display: block; min-height: 1.9em; }
.js .code[data-type] .ln { opacity: 0; transform: translateX(-8px); transition: opacity .35s, transform .35s var(--ease); }
.js .code[data-type] .ln.show { opacity: 1; transform: none; }
.caret { display: inline-block; width: 8px; height: 1.1em; vertical-align: -2px; background: var(--a2); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; padding: 5px 11px; border-radius: 100px; background: color-mix(in srgb, var(--c, var(--a2)) 14%, transparent); color: var(--c, var(--a2)); border: 1px solid color-mix(in srgb, var(--c, var(--a2)) 25%, transparent); }

/* ---------- Floating decorative cards ---------- */
.float { animation: floaty 6s ease-in-out infinite; }
.float.d2 { animation-delay: -2s; animation-duration: 7s; }
.float.d3 { animation-delay: -4s; animation-duration: 8s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.glass { border-radius: 18px; border: 1px solid var(--border-2); background: rgba(20, 19, 32, .6); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 30px 60px -25px rgba(0,0,0,.7); }

/* ---------- HOME hero visual ---------- */
.hv { position: relative; height: 520px; perspective: 1200px; }
.hv-orbit { position: absolute; inset: 50% auto auto 50%; border-radius: 50%; border: 1px dashed rgba(255,255,255,.1); transform: translate(-50%, -50%); animation: spin 40s linear infinite; }
.hv-orbit.o1 { width: 520px; height: 520px; }
.hv-orbit.o2 { width: 380px; height: 380px; animation-direction: reverse; animation-duration: 30s; border-style: solid; border-color: rgba(255,255,255,.05); }
.hv-orbit::before { content: ''; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--a2); box-shadow: 0 0 20px var(--a2); }
.hv-orbit.o2::before { background: var(--a1); box-shadow: 0 0 20px var(--a1); top: auto; bottom: -5px; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.dash { position: absolute; top: 40px; right: 0; width: 88%; padding: 26px; transform: rotateY(-10deg) rotateX(6deg); transform-style: preserve-3d; transition: transform .8s var(--ease); }
.hv:hover .dash { transform: rotateY(-4deg) rotateX(2deg); }
.dash-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.label-sm { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--a2); }
.dash-metric { font-family: var(--font-d); font-size: 48px; font-weight: 700; letter-spacing: -.04em; line-height: 1.1; margin: 8px 0 2px; }
.dash-sub { font-size: 13px; color: var(--dim); }
.spark { margin: 18px 0 16px; height: 70px; }
.spark path.line { fill: none; stroke: url(#sg); stroke-width: 2.5; stroke-linecap: round; }
.spark path.area { fill: url(#sa); opacity: .5; }
.bars { display: flex; flex-direction: column; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 96px 1fr 40px; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted); }
.bar-track { height: 6px; border-radius: 10px; background: rgba(255,255,255,.07); overflow: hidden; }
.bar-fill { height: 100%; width: var(--w); border-radius: 10px; background: var(--grad); transform-origin: left; }
.js .bar-fill { transform: scaleX(0); transition: transform 1.6s var(--ease); transition-delay: calc(var(--i, 0) * 150ms + 600ms); }
.js .in .bar-fill, .js .bar-fill.in { transform: scaleX(1); }
.bar-row b { color: var(--a2); font-weight: 600; text-align: right; }
.fcard { position: absolute; padding: 18px 20px; }
.fcard.f1 { left: 0; bottom: 30px; width: 58%; }
.fcard.f2 { right: -10px; top: -6px; padding: 12px 16px; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.fcard .big { font-family: var(--font-d); font-size: 34px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin: 6px 0 2px; }
.avatars { display: flex; margin-top: 12px; }
.avatars span { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--bg-3); margin-left: -8px; font-size: 10px; font-weight: 700; display: grid; place-items: center; color: #fff; }
.avatars span:first-child { margin-left: 0; }
.star-ic { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--a3) 20%, transparent); color: var(--a3); }
.star-ic .icon { width: 16px; height: 16px; }

/* Bento services */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bento > .card { grid-column: span 2; display: flex; flex-direction: column; }
.bento > .card.w4 { grid-column: span 4; }
.bento > .card.w3 { grid-column: span 3; }
.bento .card .spacer { flex: 1; }
.bento .card .foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.bento .card .tags { margin-top: 0; }
.card .ghost-num { position: absolute; right: 24px; top: 14px; font-family: var(--font-d); font-size: 88px; font-weight: 800; letter-spacing: -.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.07); z-index: -1; transition: -webkit-text-stroke-color .5s, transform .8s var(--ease); }
.card:hover .ghost-num { -webkit-text-stroke-color: color-mix(in srgb, var(--a2) 45%, transparent); transform: translateY(-6px); }

/* Process (horizontal) */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-line { position: absolute; top: 36px; left: 12.5%; right: 12.5%; height: 2px; background: var(--border); border-radius: 2px; overflow: hidden; }
.process-line::after { content: ''; position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease) .3s; }
.process.in .process-line::after { transform: scaleX(1); }
.step { text-align: center; position: relative; padding: 0 8px; }
.step-dot { width: 72px; height: 72px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-d); font-size: 20px; font-weight: 700; color: var(--muted); background: var(--bg-2); border: 1px solid var(--border-2); position: relative; transition: color .6s, border-color .6s, box-shadow .6s; transition-delay: calc(var(--i, 0) * 450ms + 300ms); }
.process.in .step-dot { color: var(--ink); background: var(--grad); border-color: transparent; box-shadow: 0 0 0 8px color-mix(in srgb, var(--a2) 10%, transparent), 0 10px 30px -8px var(--a2); }
.step .h3 { font-size: 18px; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* About visual */
.stack-list { position: relative; padding: 36px; border-radius: 28px; border: 1px solid var(--border); background: radial-gradient(120% 120% at 0% 0%, color-mix(in srgb, var(--a1) 18%, transparent), transparent 55%), radial-gradient(120% 120% at 100% 100%, color-mix(in srgb, var(--a2) 14%, transparent), transparent 55%), var(--bg-2); display: flex; flex-direction: column; gap: 14px; }
.stack-row { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--border); transition: transform .5s var(--ease), background .3s, border-color .3s; }
.stack-row:hover { transform: translateX(10px); background: rgba(255,255,255,.07); border-color: var(--border-2); }
.stack-row .sw { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 14px currentColor; }
.stack-row strong { display: block; font-size: 15px; font-weight: 600; }
.stack-row small { font-size: 13px; color: var(--dim); }
.badge-float { position: absolute; right: -18px; bottom: -22px; padding: 18px 22px; border-radius: 18px; background: var(--grad); color: var(--ink); text-align: center; font-size: 13px; font-weight: 600; box-shadow: 0 20px 40px -12px color-mix(in srgb, var(--a1) 70%, transparent); }
.badge-float b { display: block; font-family: var(--font-d); font-size: 34px; font-weight: 800; line-height: 1; margin-bottom: 4px; }

/* Portfolio / case cards */
.work-card { display: block; position: relative; overflow: hidden; padding: 0; }
.work-thumb { position: relative; height: 210px; overflow: hidden; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; display: grid; place-items: center; background: var(--g); }
.work-thumb::before { content: ''; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent, rgba(255,255,255,.18), transparent 30%); animation: spinSlow 10s linear infinite; opacity: .6; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.work-thumb::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: linear-gradient(transparent, #000); mask-image: linear-gradient(transparent, #000); }
.work-thumb span { position: relative; z-index: 1; font-family: var(--font-d); font-size: 52px; font-weight: 800; letter-spacing: -.04em; color: rgba(255,255,255,.92); text-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .8s var(--ease); }
.work-thumb .icon { position: relative; z-index: 1; width: 56px; height: 56px; color: #fff; stroke-width: 1.4; transition: transform .8s var(--ease); }
.work-card:hover .work-thumb span, .work-card:hover .work-thumb .icon { transform: scale(1.15) rotate(-4deg); }
.work-info { padding: 24px 26px 28px; }
.work-cat { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--a2); margin-bottom: 8px; }
.work-info .h3 { font-size: 19px; margin-bottom: 8px; }
.work-info p { font-size: 14.5px; }
.work-go { position: absolute; top: 16px; right: 16px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; transform: scale(.6) rotate(-45deg); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
.work-go .icon { width: 18px; height: 18px; }
.work-card:hover .work-go { transform: none; opacity: 1; }

/* Blog */
.blog-thumb { height: 150px; border-radius: 16px; margin: -8px -4px 22px; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--a1) 25%, transparent), transparent 60%), radial-gradient(circle at 70% 70%, color-mix(in srgb, var(--a2) 20%, transparent), transparent 60%), rgba(255,255,255,.02); border: 1px solid var(--border); overflow: hidden; }
.blog-thumb .icon { width: 44px; height: 44px; color: var(--a2); stroke-width: 1.3; transition: transform .8s var(--ease); }
.card:hover .blog-thumb .icon { transform: scale(1.2) rotate(8deg); }
.meta { display: flex; gap: 14px; font-size: 13px; color: var(--dim); margin-top: 16px; }
.blog-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--a2); margin-bottom: 12px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; padding: 38px 32px; }
.price-card.featured { background: linear-gradient(180deg, color-mix(in srgb, var(--a1) 22%, var(--bg-3)), var(--bg-2)); border-color: transparent; transform: translateY(-12px); }
.price-card.featured .price-ring { position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--ang, 0deg), var(--a1), var(--a2), var(--a3), var(--a1)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: rotateAng 5s linear infinite; pointer-events: none; }
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes rotateAng { to { --ang: 360deg; } }
.popular { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 6px 14px; border-radius: 100px; background: var(--grad); color: var(--ink); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.tier { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--a2); margin-bottom: 14px; }
.price { font-family: var(--font-d); font-size: 54px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.price small { font-family: var(--font-b); font-size: 15px; font-weight: 500; color: var(--dim); letter-spacing: 0; margin-left: 4px; }
.divider { height: 1px; background: var(--border); margin: 28px 0; }
.checks { list-style: none; display: flex; flex-direction: column; gap: 14px; flex: 1; margin-bottom: 32px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text); }
.checks .ck { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: color-mix(in srgb, var(--a2) 14%, transparent); color: var(--a2); margin-top: 1px; }
.checks .ck .icon { width: 13px; height: 13px; stroke-width: 2.5; }

/* Testimonials */
.quote-card { display: flex; flex-direction: column; }
.quote-mark { font-family: var(--font-d); font-size: 80px; line-height: .6; height: 40px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.stars { display: flex; gap: 3px; color: #FFC857; margin-bottom: 18px; }
.stars svg { width: 16px; height: 16px; fill: currentColor; }
.quote-card blockquote { font-size: 16.5px; line-height: 1.75; color: var(--text); flex: 1; margin-bottom: 28px; }
.author { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid var(--border); }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 15px; color: #fff; flex-shrink: 0; background: var(--g, var(--grad)); }
.author strong { display: block; font-size: 15px; }
.author small { font-size: 13px; color: var(--dim); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-list { display: flex; flex-direction: column; gap: 14px; margin-top: 36px; }
.contact-item { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); transition: border-color .3s, transform .5s var(--ease), background .3s; }
.contact-item:hover { border-color: var(--border-2); transform: translateX(6px); background: var(--surface-2); }
.contact-item .icon-box { margin: 0; width: 46px; height: 46px; border-radius: 13px; }
.contact-item .icon-box .icon { width: 20px; height: 20px; }
.contact-item small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 2px; }
.contact-item span { font-size: 15.5px; font-weight: 500; }
.form-card { padding: clamp(28px, 4vw, 44px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; margin-bottom: 18px; }
.field input, .field select, .field textarea { width: 100%; padding: 24px 16px 10px; border-radius: 14px; border: 1px solid var(--border-2); background: rgba(255,255,255,.03); color: var(--text); font: inherit; font-size: 15px; outline: none; transition: border-color .3s, background .3s, box-shadow .3s; -webkit-appearance: none; appearance: none; }
.field textarea { min-height: 140px; resize: vertical; }
.field select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23A6A3BA' stroke-width='1.6'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field select option { background: var(--bg-3); color: var(--text); }
.field label { position: absolute; left: 17px; top: 17px; font-size: 15px; color: var(--dim); pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .3s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: color-mix(in srgb, var(--a2) 70%, transparent); background: rgba(255,255,255,.05); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a2) 12%, transparent); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select.filled + label, .field select:valid + label { transform: translateY(-10px) scale(.76); color: var(--a2); }
.field ::placeholder { color: transparent; }
.form-note { font-size: 13px; color: var(--dim); text-align: center; margin-top: 14px; }

/* ---------- CTA panel ---------- */
.cta { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(56px, 8vw, 96px) clamp(24px, 6vw, 80px); text-align: center; isolation: isolate; background: var(--bg-2); }
.cta::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, var(--a2), var(--a1), transparent); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: rotateAng 6s linear infinite; }
.cta .aurora { inset: 0; opacity: .55; filter: blur(70px); }
.cta .aurora span:nth-child(1) { width: 40%; height: 120%; top: -40%; right: 10%; }
.cta .aurora span:nth-child(2) { width: 36%; height: 110%; bottom: -50%; left: 5%; }
.cta .h2 { max-width: 820px; margin-inline: auto; }
.cta p { font-size: 18px; color: var(--muted); max-width: 580px; margin: 0 auto 36px; }

/* ---------- Footer ---------- */
.footer { padding: 100px 0 32px; border-top: 1px solid var(--border); background: linear-gradient(180deg, transparent, var(--bg-2)); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.footer p.brand-desc { font-size: 14.5px; color: var(--muted); line-height: 1.75; margin: 20px 0 24px; max-width: 320px; }
.footer h4 { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--text); margin-bottom: 20px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer ul a { font-size: 14.5px; color: var(--muted); position: relative; transition: color .25s; }
.footer ul a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: var(--a2); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.footer ul a:hover { color: var(--text); }
.footer ul a:hover::after { transform: scaleX(1); transform-origin: left; }
.socials { display: flex; gap: 10px; }
.social { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--border); background: var(--surface); color: var(--muted); transition: color .3s, background .3s, transform .4s var(--ease), border-color .3s; }
.social .icon { width: 18px; height: 18px; }
.social:hover { color: var(--ink); background: var(--grad); border-color: transparent; transform: translateY(-4px); }
.wordmark { font-family: var(--font-d); font-size: clamp(60px, 16.5vw, 240px); font-weight: 800; letter-spacing: -.06em; line-height: .85; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.1); background: linear-gradient(180deg, rgba(255,255,255,.08), transparent 80%); -webkit-background-clip: text; background-clip: text; user-select: none; margin: 10px 0 28px; white-space: nowrap; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; border-top: 1px solid var(--border); font-size: 13px; color: var(--dim); flex-wrap: wrap; }
.to-top { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); transition: color .3s; }
.to-top:hover { color: var(--text); }
.to-top .icon { width: 16px; height: 16px; transform: rotate(-90deg); }

/* ==========================================================================
   Page-specific
   ========================================================================== */

/* Software */
.term { width: 100%; }
.term .code { font-size: 13px; min-height: 290px; }
.term-float { position: absolute; padding: 14px 18px; display: flex; align-items: center; gap: 12px; font-size: 13px; }
.term-float strong { display: block; font-family: var(--font-d); font-size: 20px; }
.term-float small { color: var(--dim); font-size: 12px; }
.hv-soft { position: relative; }
.hv-soft .tf1 { right: -18px; bottom: -28px; }
.hv-soft .tf2 { left: -26px; top: -28px; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: #28c840; box-shadow: 0 0 12px #28c840; animation: ping 2s infinite; }
.features { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.feature { display: flex; gap: 16px; padding: 18px 20px; border-radius: 16px; border: 1px solid transparent; transition: background .3s, border-color .3s, transform .5s var(--ease); }
.feature:hover { background: var(--surface); border-color: var(--border); transform: translateX(6px); }
.feature .ck { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; background: color-mix(in srgb, var(--a2) 14%, transparent); color: var(--a2); }
.feature .ck .icon { width: 16px; height: 16px; stroke-width: 2.4; }
.feature strong { display: block; font-size: 16px; font-weight: 600; margin-bottom: 3px; }
.feature p { font-size: 14.5px; color: var(--muted); }
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tech { display: flex; align-items: center; gap: 16px; padding: 20px; }
.tech .mono { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-family: var(--font-d); font-weight: 700; font-size: 15px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); border: 1px solid color-mix(in srgb, var(--c) 26%, transparent); flex-shrink: 0; transition: transform .6s var(--ease); }
.tech:hover .mono { transform: rotate(-10deg) scale(1.08); }
.tech strong { display: block; font-size: 15.5px; font-weight: 600; }
.tech small { font-size: 12.5px; color: var(--dim); }
.timeline { position: relative; max-width: 820px; }
.timeline::before, .timeline::after { content: ''; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; border-radius: 2px; background: var(--border); }
.timeline::after { background: var(--grad); transform-origin: top; transform: scaleY(var(--tp, 0)); }
.tl-item { display: grid; grid-template-columns: 56px 1fr; gap: 28px; padding: 0 0 44px; position: relative; z-index: 1; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-d); font-weight: 700; font-size: 17px; background: var(--bg-2); border: 1px solid var(--border-2); color: var(--muted); transition: all .6s var(--ease); }
.tl-item.lit .tl-dot { background: var(--grad); color: var(--ink); border-color: transparent; box-shadow: 0 0 0 7px color-mix(in srgb, var(--a2) 10%, transparent); }
.tl-body { padding: 26px 28px; }
.tl-body .h3 { margin-bottom: 8px; }

/* Marketing */
.hv-chart { position: relative; }
.chart-card { padding: 26px; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .gridline { stroke: rgba(255,255,255,.06); stroke-width: 1; }
.chart .line { fill: none; stroke: url(#mg); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; }
.chart .area { fill: url(#ma); opacity: 0; }
.chart .pt { fill: var(--bg-3); stroke: var(--a2); stroke-width: 2.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.chart.in .line { animation: draw 2.4s var(--ease) .4s forwards; }
.chart.in .area { animation: fadeIn 1.2s ease 1.6s forwards; }
.chart.in .pt { animation: pop .6s var(--ease) forwards; animation-delay: calc(var(--i) * 180ms + 1s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: .6; } }
@keyframes pop { 0% { opacity: 0; transform: scale(0); } 100% { opacity: 1; transform: scale(1); } }
.chart-legend { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--dim); margin-top: 10px; }
.kpi { position: absolute; padding: 14px 18px; }
.kpi small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.kpi strong { font-family: var(--font-d); font-size: 26px; font-weight: 700; letter-spacing: -.03em; }
.kpi .up { color: #7CF5A0; font-size: 12px; font-weight: 600; margin-left: 6px; }
.hv-chart .k1 { left: -30px; bottom: -30px; }
.hv-chart .k2 { right: -20px; top: -34px; }
.approach { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; }
.approach .card { padding: 24px; }
.approach .card .h3 { font-size: 17px; margin-bottom: 6px; }
.approach .card p { font-size: 14px; }
.step-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--a2); padding: 5px 10px; border-radius: 100px; background: color-mix(in srgb, var(--a2) 12%, transparent); margin-bottom: 14px; }
.channels { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.channel { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); transition: transform .5s var(--ease), border-color .3s, background .3s; position: relative; overflow: hidden; }
.channel::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c); transform: scaleY(0); transition: transform .5s var(--ease); }
.channel:hover { transform: translateX(8px); border-color: var(--border-2); background: var(--surface-2); }
.channel:hover::before { transform: scaleY(1); }
.channel .sw { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 18%, transparent); flex-shrink: 0; }
.channel strong { display: block; font-size: 15.5px; font-weight: 600; }
.channel small { font-size: 13.5px; color: var(--muted); }
.results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.result { text-align: center; padding: 40px 20px; }
.result .stat-num { font-size: clamp(40px, 5vw, 60px); }
.result p { margin-top: 12px; font-size: 14.5px; }

/* Social */
.phone-wrap { position: relative; display: flex; justify-content: center; }
.phone { position: relative; width: 310px; border-radius: 44px; padding: 12px; background: linear-gradient(160deg, #2a2838, #111019); border: 1px solid var(--border-2); box-shadow: 0 50px 100px -30px rgba(0,0,0,.8), inset 0 0 0 2px rgba(255,255,255,.04); transform: rotate(-4deg); transition: transform .9s var(--ease); }
.phone-wrap:hover .phone { transform: rotate(0deg) translateY(-6px); }
.phone-screen { border-radius: 34px; overflow: hidden; background: #0b0a12; padding: 44px 16px 20px; position: relative; }
.phone-screen::before { content: ''; position: absolute; top: 12px; left: 50%; width: 90px; height: 24px; border-radius: 20px; background: #000; transform: translateX(-50%); }
.post-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.post-av { width: 36px; height: 36px; border-radius: 50%; padding: 2px; background: var(--grad-3); }
.post-av span { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; background: #0b0a12; font-size: 11px; font-weight: 700; }
.post-head strong { display: block; font-size: 13px; }
.post-head small { font-size: 11px; color: var(--dim); }
.post-img { height: 230px; border-radius: 16px; position: relative; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, var(--a1), var(--a2) 60%, var(--a3)); background-size: 200% 200%; animation: gradMove 6s ease infinite alternate; margin-bottom: 12px; }
@keyframes gradMove { to { background-position: 100% 100%; } }
.post-img span { font-family: var(--font-d); font-size: 22px; font-weight: 700; color: rgba(255,255,255,.95); text-align: center; line-height: 1.15; letter-spacing: -.02em; }
.post-img .heart-pop { position: absolute; inset: 0; display: grid; place-items: center; }
.post-img .heart-pop svg { width: 90px; height: 90px; fill: #fff; opacity: 0; transform: scale(0); animation: heartPop 4s var(--ease) infinite 1.5s; filter: drop-shadow(0 10px 20px rgba(0,0,0,.3)); }
@keyframes heartPop { 0% { opacity: 0; transform: scale(0); } 10% { opacity: 1; transform: scale(1.2); } 18% { transform: scale(.95); } 25% { opacity: 1; transform: scale(1); } 35%,100% { opacity: 0; transform: scale(1); } }
.post-actions { display: flex; gap: 14px; margin-bottom: 10px; color: var(--text); }
.post-actions svg { width: 22px; height: 22px; }
.post-actions .liked { color: #FF4D6D; fill: #FF4D6D; animation: likeBeat 4s infinite 1.5s; }
@keyframes likeBeat { 0%,8% { transform: scale(1); } 12% { transform: scale(1.3); } 18%,100% { transform: scale(1); } }
.post-caption { font-size: 12.5px; color: var(--muted); line-height: 1.55; margin-bottom: 10px; }
.post-caption b { color: var(--text); }
.post-caption em { color: var(--a2); font-style: normal; }
.post-stats { display: flex; gap: 14px; font-size: 11.5px; color: var(--dim); }
.post-stats b { color: var(--text); }
.toast { position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 14px; font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.toast .ic { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--c); }
.toast .ic .icon { width: 15px; height: 15px; }
.toast.t1 { left: -10px; top: 70px; }
.toast.t2 { right: -20px; top: 210px; }
.toast.t3 { left: 0; bottom: 70px; }
.hearts { position: absolute; right: 18%; bottom: 20%; width: 40px; height: 300px; pointer-events: none; }
.hearts i { position: absolute; bottom: 0; left: 50%; width: 18px; height: 18px; opacity: 0; animation: rise 5s ease-in infinite; animation-delay: calc(var(--i) * 1s); }
.hearts i svg { width: 100%; height: 100%; fill: var(--c, #FF6B9A); }
@keyframes rise { 0% { opacity: 0; transform: translate(-50%, 0) scale(.6); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(-50% + var(--x, 20px)), -280px) scale(1.2); } }
.platforms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.platform { text-align: center; padding: 30px 18px; }
.platform .icon-box { margin: 0 auto 18px; width: 58px; height: 58px; border-radius: 18px; }
.platform strong { display: block; font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.platform small { font-size: 13px; color: var(--dim); }
.deliverables { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.deliv { display: flex; gap: 26px; align-items: flex-start; padding: 34px 32px; }
.deliv .dn { font-family: var(--font-d); font-size: 64px; font-weight: 800; line-height: .9; letter-spacing: -.05em; min-width: 76px; background: var(--grad-3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.deliv .h3 { font-size: 18px; margin-bottom: 8px; }

/* Case studies */
.filters { display: inline-flex; gap: 6px; padding: 6px; border-radius: 16px; border: 1px solid var(--border); background: rgba(255,255,255,.03); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); margin-top: 8px; flex-wrap: wrap; justify-content: center; }
.filter { position: relative; padding: 10px 18px; border-radius: 11px; font-size: 14px; font-weight: 500; color: var(--muted); transition: color .3s, background .3s; }
.filter:hover { color: var(--text); }
.filter.active { color: var(--ink); background: var(--grad); }
.feat-case { display: grid; grid-template-columns: .9fr 1.1fr; padding: 0; overflow: hidden; margin-bottom: 20px; }
.feat-case .work-thumb { height: auto; min-height: 420px; border-radius: 0; }
.feat-case .work-thumb span { font-size: 88px; }
.feat-body { padding: clamp(28px, 4vw, 48px); }
.feat-body .h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 14px; }
.cr { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0; }
.cr-box { padding: 20px; border-radius: 16px; border: 1px solid var(--border); background: rgba(255,255,255,.03); }
.cr-box small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; color: var(--c); }
.cr-box p { font-size: 14px; }
.metrics { display: flex; gap: 36px; padding-top: 24px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.metrics .stat-num { font-size: 34px; }
.metrics small { display: block; font-size: 13px; color: var(--dim); margin-top: 6px; max-width: 150px; }
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.case-grid .metrics { margin-top: 22px; gap: 32px; }
.case-grid .metrics .stat-num { font-size: 30px; }
.filterable { transition: opacity .5s var(--ease), transform .5s var(--ease), filter .5s; }
.filterable.out { opacity: .12; transform: scale(.97); filter: grayscale(1) blur(2px); pointer-events: none; }

/* Team */
.hv-team { position: relative; height: 480px; display: grid; place-items: center; }
.team-core { position: relative; z-index: 2; width: 140px; height: 140px; border-radius: 40px; display: grid; place-items: center; background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid var(--border-2); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 0 80px -10px color-mix(in srgb, var(--a1) 60%, transparent); }
.team-core svg { width: 72px; height: 72px; }
.ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); transform: translate(-50%, -50%); }
.ring.r1 { width: 280px; height: 280px; }
.ring.r2 { width: 440px; height: 440px; border-style: dashed; }
.orbit { position: absolute; left: 50%; top: 50%; width: 0; height: 0; animation: orbit 36s linear infinite; }
.orbit.rev { animation-direction: reverse; animation-duration: 28s; }
.orbit .sat { position: absolute; transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(-1 * var(--a))); }
.orbit .sat > span { display: grid; place-items: center; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; font-size: 14px; font-weight: 700; color: #fff; background: var(--g); border: 3px solid var(--bg); box-shadow: 0 10px 30px -8px rgba(0,0,0,.6); animation: counter 36s linear infinite; }
.orbit.rev .sat > span { animation-direction: reverse; animation-duration: 28s; }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes counter { to { transform: rotate(-360deg); } }
.team-card { padding: 0; overflow: hidden; }
.team-top { position: relative; height: 190px; display: grid; place-items: center; background: var(--g); overflow: hidden; }
.team-top::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 120%, rgba(0,0,0,.45), transparent 60%); }
.team-top::after { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.35); animation: spinSlow 30s linear infinite; }
.initials { position: relative; z-index: 1; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-d); font-size: 30px; font-weight: 700; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .8s var(--ease); }
.team-card:hover .initials { transform: scale(1.1) rotate(-6deg); }
.team-body { padding: 26px 26px 28px; }
.team-body .h3 { margin-bottom: 4px; }
.role { font-size: 13.5px; font-weight: 600; color: var(--a2); margin-bottom: 14px; }
.team-body p { font-size: 14.5px; }
.team-card.sm .team-top { height: 150px; }
.team-card.sm .initials { width: 76px; height: 76px; font-size: 24px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.values .card { text-align: center; }
.values .icon-box { margin-inline: auto; }

/* Careers */
.job-stack { position: relative; height: 380px; }
.job-stack .jcard { position: absolute; left: 0; right: 0; top: 60px; margin-inline: auto; width: 88%; padding: 26px; transition: transform .9s var(--ease), opacity .9s var(--ease), filter .9s; }
.jcard .h3 { font-size: 21px; margin: 12px 0 16px; }
.jcard .row { display: flex; flex-wrap: wrap; gap: 8px; }
.jcard .apply { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); font-size: 13px; color: var(--dim); }
.jcard .apply b { color: var(--a2); font-weight: 600; }
.jcard[data-pos="0"] { transform: translateY(0) scale(1); z-index: 3; opacity: 1; }
.jcard[data-pos="1"] { transform: translateY(-34px) scale(.93); z-index: 2; opacity: .6; filter: blur(1px); }
.jcard[data-pos="2"] { transform: translateY(-64px) scale(.86); z-index: 1; opacity: .3; filter: blur(2px); }
.jcard[data-pos="3"] { transform: translateY(80px) scale(.95); z-index: 4; opacity: 0; }
.hiring-chip { position: absolute; right: 0; bottom: 12px; z-index: 5; padding: 12px 16px; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.jobs { display: flex; flex-direction: column; gap: 14px; }
.job { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 30px; flex-wrap: wrap; }
.job .h3 { font-size: 21px; margin-bottom: 12px; transition: color .3s; }
.job:hover .h3 { color: var(--a2); }
.job .row { display: flex; flex-wrap: wrap; gap: 8px; }
.job .btn { padding: 13px 22px; }
.open-panel { margin-top: 40px; text-align: center; padding: clamp(40px, 5vw, 64px) 28px; border-style: dashed; }
.open-panel .icon-box { margin-inline: auto; }
.open-panel p { max-width: 460px; margin: 10px auto 28px; }
.hire-steps .step-dot { width: 64px; height: 64px; font-size: 18px; }
.hire-steps .process-line { top: 32px; }

/* FAQ */
.search { position: relative; max-width: 560px; margin: 8px auto 0; }
.search input { width: 100%; padding: 19px 22px 19px 56px; border-radius: 18px; border: 1px solid var(--border-2); background: rgba(255,255,255,.04); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--text); font: inherit; font-size: 16px; outline: none; transition: border-color .3s, box-shadow .3s; }
.search input::placeholder { color: var(--dim); }
.search input:focus { border-color: color-mix(in srgb, var(--a2) 70%, transparent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--a2) 12%, transparent); }
.search .icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--dim); }
.side-layout { display: grid; grid-template-columns: 250px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.side-nav { position: sticky; top: 110px; }
.side-nav h4 { font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.side-nav ul { list-style: none; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--border); }
.side-nav a { display: block; padding: 9px 16px; margin-left: -1px; font-size: 14.5px; color: var(--muted); border-left: 2px solid transparent; transition: color .3s, border-color .3s, background .3s; }
.side-nav a:hover { color: var(--text); }
.side-nav a.active { color: var(--text); border-left-color: var(--a2); background: linear-gradient(90deg, color-mix(in srgb, var(--a2) 10%, transparent), transparent); }
.faq-group { margin-bottom: 56px; scroll-margin-top: 110px; }
.faq-group h2 { font-family: var(--font-d); font-size: 24px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 18px; display: flex; align-items: center; gap: 14px; }
.faq-group h2 .count { font-family: var(--font-b); font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 100px; background: var(--surface-2); color: var(--muted); }
.faq-item { border-radius: 18px; border: 1px solid var(--border); background: var(--surface); margin-bottom: 10px; transition: border-color .3s, background .3s; }
.faq-item:hover { border-color: var(--border-2); }
.faq-item.open { background: rgba(255,255,255,.05); border-color: color-mix(in srgb, var(--a2) 35%, transparent); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; text-align: left; font-size: 16.5px; font-weight: 600; }
.faq-q .pm { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; background: var(--surface-2); color: var(--a2); transition: transform .5s var(--ease), background .3s, color .3s; }
.faq-q .pm .icon { width: 16px; height: 16px; stroke-width: 2.2; }
.faq-item.open .pm { transform: rotate(135deg); background: var(--grad); color: var(--ink); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 24px 24px; font-size: 15.5px; color: var(--muted); line-height: 1.8; }
.faq-item.hidden, .faq-group.hidden { display: none; }
.no-results { display: none; text-align: center; padding: 60px 20px; color: var(--muted); }
.no-results.show { display: block; }
mark { background: color-mix(in srgb, var(--a2) 30%, transparent); color: var(--text); border-radius: 4px; padding: 0 2px; }

/* Legal */
.tabs { position: relative; display: inline-flex; padding: 6px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); margin-bottom: 20px; }
.tab { position: relative; z-index: 1; padding: 12px 22px; border-radius: 11px; font-size: 15px; font-weight: 600; color: var(--muted); transition: color .4s; }
.tab.active { color: var(--ink); }
.tab-ind { position: absolute; top: 6px; bottom: 6px; left: 0; border-radius: 11px; background: var(--grad); transition: transform .6s var(--ease), width .6s var(--ease); }
.updated { font-size: 13.5px; color: var(--dim); margin-bottom: 44px; }
.panel { display: none; }
.panel.active { display: block; animation: panelIn .7s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.legal-section { padding: 34px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 110px; }
.legal-section:first-child { padding-top: 0; }
.legal-section h2 { font-family: var(--font-d); font-size: 26px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 16px; }
.legal-section h3 { font-size: 16px; font-weight: 600; margin: 22px 0 10px; }
.legal-section p { font-size: 15.5px; color: var(--muted); line-height: 1.85; margin-bottom: 14px; }
.legal-section ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.legal-section li { position: relative; padding-left: 22px; font-size: 15.5px; color: var(--muted); line-height: 1.75; }
.legal-section li::before { content: ''; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--a2); }
.legal-section strong { color: var(--text); font-weight: 600; }
.legal-section a { color: var(--a2); }

/* Thank-you */
.check-anim { width: 120px; height: 120px; margin: 0 auto 36px; }
.check-anim circle { fill: none; stroke: url(#tg); stroke-width: 3; stroke-dasharray: 340; stroke-dashoffset: 340; animation: draw 1.2s var(--ease) .5s forwards; }
.check-anim path { fill: none; stroke: var(--text); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw .7s var(--ease) 1.4s forwards; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav-links a { padding: 9px 9px; font-size: 13.5px; }
}
@media (max-width: 1024px) {
  .nav-links, .nav .nav-cta { display: none; }
  .burger { display: block; }
  .hero { min-height: auto; padding: 140px 0 90px; }
  .hero-grid, .split, .contact-grid, .feat-case, .side-layout { grid-template-columns: 1fr; }
  .hero-grid { gap: 72px; }
  .hv { height: 480px; max-width: 560px; margin-inline: auto; width: 100%; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento > .card, .bento > .card.w4, .bento > .card.w3 { grid-column: span 1; }
  .grid-3, .pricing, .values, .platforms, .tech-grid, .results { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .process-line { display: none; }
  .price-card.featured { transform: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .side-nav { position: static; }
  .side-nav ul { flex-direction: row; flex-wrap: wrap; border-left: 0; gap: 8px; }
  .side-nav a { border: 1px solid var(--border); border-radius: 100px; padding: 8px 14px; margin: 0; }
  .side-nav a.active { border-color: var(--a2); }
  .feat-case .work-thumb { min-height: 260px; }
  .hv-team { height: 440px; }
}
@media (max-width: 680px) {
  .container { width: calc(100% - 32px); }
  .nav { width: calc(100% - 16px); top: 8px; }
  .hero { padding: 120px 0 80px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hv { height: 420px; }
  .hv-orbit.o1 { width: 380px; height: 380px; }
  .hv-orbit.o2 { width: 280px; height: 280px; }
  .dash { width: 100%; padding: 20px; top: 20px; }
  .dash-metric { font-size: 38px; }
  .fcard.f1 { width: 72%; bottom: 0; }
  .fcard.f2 { right: 0; top: -20px; }
  .bento, .grid-3, .grid-2, .pricing, .values, .case-grid, .deliverables, .approach, .form-row, .results { grid-template-columns: 1fr; }
  .grid-4, .platforms, .tech-grid { grid-template-columns: 1fr 1fr; }
  .tech { flex-direction: column; text-align: center; gap: 12px; padding: 20px 12px; }
  .process { grid-template-columns: 1fr; }
  .cr { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .badge-float { right: 12px; bottom: -28px; }
  .stack-list { padding: 22px; }
  .deliv { flex-direction: column; gap: 14px; padding: 28px 24px; }
  .job { padding: 24px; }
  .job .btn { width: 100%; }
  .phone { width: 270px; }
  .toast.t2 { right: -6px; }
  .hv-chart .k1 { left: -6px; bottom: -40px; }
  .hv-chart .k2 { right: -6px; top: -40px; }
  .hv-soft .tf1 { right: -4px; } .hv-soft .tf2 { left: -4px; }
  .hv-team { height: 360px; }
  .ring.r1 { width: 210px; height: 210px; }
  .ring.r2 { width: 320px; height: 320px; }
  .orbit .sat { --r: 105px !important; }
  .orbit.rev .sat { --r: 160px !important; }
  .orbit .sat > span { width: 44px; height: 44px; margin: -22px 0 0 -22px; font-size: 12px; }
  .team-core { width: 104px; height: 104px; border-radius: 30px; }
  .job-stack { height: 360px; }
  .job-stack .jcard { width: 100%; }
  .tabs { display: flex; }
  .tab { flex: 1; padding: 12px 10px; font-size: 14px; }
  .faq-q { padding: 18px; font-size: 15.5px; }
  .faq-a p { padding: 0 18px 20px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-split] .wi { opacity: 1 !important; transform: none !important; filter: none !important; }
  .chart .line { stroke-dashoffset: 0; } .chart .area { opacity: .6; } .chart .pt { opacity: 1; }
}
