:root {
  --bg: #ffffff;
  --bg-alt: #f5f6fb;
  --card: #ffffff;
  --text: #141625;
  --muted: #5b607a;
  --line: #e4e6f0;
  --brand: #4f46e5;
  --brand-2: #0ea5a4;
  --ok: #16a34a;
  --soon: #d97706;
  --shadow: 0 10px 30px rgba(20, 22, 37, .08);
  --radius: 16px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #08090f; --bg-alt: #0e1019; --card: #141624; --text: #eef0fa;
    --muted: #a3a8c3; --line: #272b45; --brand: #818cf8; --brand-2: #2dd4bf;
    --ok: #4ade80; --soon: #fbbf24; --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  }
}
:root[data-theme="dark"] {
  --bg: #08090f; --bg-alt: #0e1019; --card: #141624; --text: #eef0fa;
  --muted: #a3a8c3; --line: #272b45; --brand: #818cf8; --brand-2: #2dd4bf;
  --ok: #4ade80; --soon: #fbbf24; --shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.65 "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); }
img { max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.section { padding: 80px 0; }
.alt { background: var(--bg-alt); }
.eyebrow { color: var(--brand); font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .6em; }
.sub, .lead { color: var(--muted); font-size: 1.1rem; }
.grad { background: linear-gradient(90deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 12px; border: 2px solid transparent;
  background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: #fff;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-sm { padding: 8px 16px; font-size: .92rem; }
.icon-btn { background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; width: 40px; height: 40px; font-size: 1.1rem; cursor: pointer; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--text); text-decoration: none; }
.menu { display: flex; align-items: center; gap: 22px; }
.menu a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 500; }
.menu a:not(.btn):hover { color: var(--text); }
.nav-tools { display: flex; gap: 8px; }
.burger { display: none; }

/* Hero */
.hero { padding: 72px 0 88px; background: radial-gradient(60% 60% at 85% 20%, color-mix(in srgb, var(--brand) 14%, transparent), transparent), radial-gradient(50% 50% at 10% 90%, color-mix(in srgb, var(--brand-2) 12%, transparent), transparent); }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .93rem; }
.hero-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: var(--shadow); }
.hc-top { display: flex; align-items: center; gap: 6px; margin-bottom: 16px; font-size: .85rem; color: var(--muted); }
.hc-top span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.hc-top b { margin-left: 8px; font-weight: 600; }
.hc-list { list-style: none; padding: 0; margin: 0 0 14px; }
.hc-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.hc-row { color: var(--brand); font-weight: 700; text-decoration: none; font-size: .92rem; }
.st { font-style: normal; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; white-space: nowrap; }
.st-ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.st-dev { color: var(--soon); background: color-mix(in srgb, var(--soon) 16%, transparent); }

/* Services */
.division { margin-top: 40px; }
.div-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.div-head h3 { margin: 0; }
.badge { font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.badge-live { color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.badge-soon { color: var(--soon); background: color-mix(in srgb, var(--soon) 16%, transparent); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.card.muted { opacity: .75; }
.ic { font-size: 1.6rem; margin-bottom: 10px; }
.note { color: var(--muted); margin-top: 16px; }

/* Our work */
.work { margin-top: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.proj { display: flex; flex-direction: column; gap: 10px; }
.proj img { border-radius: 10px; border: 1px solid var(--line); }
.proj h4 { margin: 0; }
.proj-head { display: flex; justify-content: space-between; align-items: center; }
.proj-head .ic { margin: 0; }
.stack { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding-top: 6px; }
.stack span { font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 8px; background: var(--bg-alt); border: 1px solid var(--line); }
.proj-link { font-weight: 700; text-decoration: none; }
.progress { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; margin-top: auto; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.muted-txt { color: var(--muted); }

/* Process */
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.steps b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; margin-bottom: 12px; }
.steps p { color: var(--muted); margin: 0; font-size: .93rem; }

/* Pricing */
.prices { margin-top: 24px; }
.price { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.price { display: flex; flex-direction: column; }
.price small { color: var(--muted); font-size: .8rem; }
.price .amt { font-size: 1.5rem; font-weight: 800; color: var(--brand); margin: 0 0 .4em; }
.price p:not(.amt) { color: var(--muted); margin: 0 0 16px; flex: 1; }
.price .btn { align-self: flex-start; }

/* About */
.about { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: center; }
.avatar { width: 220px; height: 220px; border-radius: 28px; object-fit: cover; display: grid; place-items: center; font-size: 4rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: var(--shadow); }
.sign { color: var(--muted); font-weight: 600; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 24px; }
.reviews blockquote { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.review-empty { grid-column: 1 / -1; background: var(--card); border: 2px dashed var(--line); border-radius: var(--radius); padding: 28px; text-align: center; }
.review-empty p { color: var(--muted); max-width: 560px; margin: 0 auto 16px; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--brand); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin: 10px 0 0; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-list { list-style: none; padding: 0; }
.contact-list li { display: flex; flex-direction: column; margin-bottom: 14px; }
.contact-list span { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.contact-list a { font-weight: 700; text-decoration: none; word-break: break-all; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.form input, .form select, .form textarea { font: inherit; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.form-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* Footer */
.footer { padding: 36px 0; border-top: 1px solid var(--line); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.foot-in p { margin: 0; color: var(--muted); }
.small { font-size: .85rem; }

/* WhatsApp floating button */
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); z-index: 60; }

/* Mobile */
@media (max-width: 900px) {
  .hero-in, .contact, .about { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .about .avatar { width: 160px; height: 160px; font-size: 3rem; }
  .burger { display: inline-block; }
  .menu { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .menu.open { display: flex; }
  .menu a { padding: 12px 0; }
  .menu .btn { text-align: center; margin-top: 8px; }
}
@media (max-width: 520px) {
  .section { padding: 60px 0; }
  .steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}

/* Featured project card (full width, screenshot + details) */
.proj.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: center; padding: 18px; }
.shot-link { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.shot-link img { display: block; width: 100%; height: auto; border: 0; border-radius: 0; transition: transform .6s; }
.shot-link:hover img { transform: scale(1.03); }
.featured-text { display: flex; flex-direction: column; gap: 10px; padding: 6px 8px 6px 0; }
.mini-ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; color: var(--muted); font-size: .93rem; }
.mini-ticks li { padding-left: 24px; position: relative; }
.mini-ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-2); font-weight: 800; }
.featured .stack { margin-top: 4px; }
@media (max-width: 900px) {
  .proj.featured { grid-template-columns: 1fr; gap: 16px; }
  .featured-text { padding: 0 4px 4px; }
}

/* =========================================================
   Motion & style layer (v5)
   ========================================================= */
:root { --ease: cubic-bezier(.16, 1, .3, 1); --glow: color-mix(in srgb, var(--brand) 35%, transparent); }

/* Scroll progress + cursor */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 100; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transform: scaleX(0); transform-origin: left; }
.cursor { position: fixed; left: 0; top: 0; z-index: 99; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 1.5px solid var(--brand); pointer-events: none; opacity: 0; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s, opacity .3s; }
.cursor.on { opacity: .9; }
.cursor.link { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: color-mix(in srgb, var(--brand) 14%, transparent); border-color: var(--brand-2); }
@media (pointer: coarse) { .cursor { display: none; } }

/* Hero: moving gradient blobs + node network */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 90px 0 100px; }
.blobs { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.blobs i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .45; animation: blob 16s ease-in-out infinite alternate; }
.blobs i:nth-child(1) { width: 46vmax; height: 46vmax; background: var(--brand); top: -22vmax; right: -12vmax; }
.blobs i:nth-child(2) { width: 36vmax; height: 36vmax; background: var(--brand-2); bottom: -20vmax; left: -10vmax; animation-delay: -5s; }
.blobs i:nth-child(3) { width: 24vmax; height: 24vmax; background: #a855f7; top: 30%; left: 35%; opacity: .25; animation-delay: -10s; }
@keyframes blob { to { transform: translate(6vmax, 5vmax) scale(1.18) rotate(25deg); } }
.net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: .7; }

.hero-chip { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: color-mix(in srgb, var(--card) 70%, transparent); border: 1px solid var(--line); backdrop-filter: blur(8px); letter-spacing: .06em; text-transform: none; font-size: .82rem; }
.hero-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); line-height: 1.08; letter-spacing: -.03em; }
.typed { position: relative; color: var(--text); white-space: nowrap; }
.typed::after { content: ""; display: inline-block; width: 3px; height: .9em; margin-left: 4px; vertical-align: -.08em; background: var(--brand-2); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.grad { background-size: 200% 100%; animation: gradMove 6s ease-in-out infinite alternate; }
@keyframes gradMove { to { background-position: 100% 0; } }

/* Floating tech chips orbiting the project card */
.orbit { position: relative; padding: 28px 10px; }
.chip { position: absolute; z-index: 2; padding: 8px 14px; border-radius: 999px; font-size: .82rem; font-weight: 700; white-space: nowrap; background: color-mix(in srgb, var(--card) 85%, transparent); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(10px); animation: bob 6s ease-in-out infinite; }
.c1 { top: -4px; left: 6%; } .c2 { top: 18%; right: -18px; animation-delay: -1.2s; } .c3 { bottom: 26%; left: -26px; animation-delay: -2.4s; }
.c4 { bottom: -6px; right: 12%; animation-delay: -3.6s; } .c5 { top: 52%; right: -30px; animation-delay: -4.8s; }
@keyframes bob { 50% { transform: translateY(-12px); } }
.hero-card { position: relative; z-index: 1; background: color-mix(in srgb, var(--card) 80%, transparent); backdrop-filter: blur(14px); transform-style: preserve-3d; transition: transform .25s ease-out, box-shadow .3s; }
.hero-card::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, var(--brand), transparent 40%, transparent 60%, var(--brand-2)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.hc-list li { opacity: 0; transform: translateX(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.ready .hc-list li { opacity: 1; transform: none; }
.ready .hc-list li:nth-child(2) { transition-delay: .1s; } .ready .hc-list li:nth-child(3) { transition-delay: .2s; }
.ready .hc-list li:nth-child(4) { transition-delay: .3s; } .ready .hc-list li:nth-child(5) { transition-delay: .4s; }

/* Hero entrance */
.hero-in > div:first-child > * { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.ready .hero-in > div:first-child > * { opacity: 1; transform: none; }
.ready .hero-in > div:first-child > *:nth-child(2) { transition-delay: .1s; }
.ready .hero-in > div:first-child > *:nth-child(3) { transition-delay: .2s; }
.ready .hero-in > div:first-child > *:nth-child(4) { transition-delay: .3s; }
.ready .hero-in > div:first-child > *:nth-child(5) { transition-delay: .4s; }

/* Tech marquee */
.tech { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-alt); padding: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.tech-track { display: flex; gap: 14px; width: max-content; animation: marquee 34s linear infinite; }
.tech:hover .tech-track { animation-play-state: paused; }
.tech-track span { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 700; font-size: .9rem; color: var(--muted); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }

/* Promises counters */
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 56px; }
.promises div { position: relative; overflow: hidden; padding: 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.promises div::after { content: ""; position: absolute; width: 140px; height: 140px; right: -50px; top: -50px; border-radius: 50%; background: radial-gradient(var(--glow), transparent 70%); }
.promises b { display: block; font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; background: linear-gradient(90deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.promises small { color: var(--muted); font-size: .88rem; }

/* Cards: mouse spotlight + gradient icon tiles */
.card { position: relative; overflow: hidden; isolation: isolate; transition: transform .45s var(--ease), box-shadow .45s, border-color .3s; }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s; background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%); }
.card:hover::after { opacity: 1; }
.card:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.card .ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 18%, transparent), color-mix(in srgb, var(--brand-2) 18%, transparent)); transition: transform .5s var(--ease); }
.card:hover .ic { transform: rotate(-8deg) scale(1.1); }
.proj-head .ic { width: 44px; height: 44px; }

/* Featured project: browser frame */
.shot-link { position: relative; background: var(--card); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #f87171; }
.browser-bar i:nth-child(2) { background: #fbbf24; } .browser-bar i:nth-child(3) { background: #4ade80; }
.browser-bar em { margin-left: 10px; flex: 1; font-style: normal; font-size: .75rem; color: var(--muted); padding: 3px 10px; border-radius: 6px; background: var(--card); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.proj.featured { background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 6%, var(--card)), var(--card) 50%, color-mix(in srgb, var(--brand-2) 6%, var(--card))); }

/* Process: steps light up along a drawn line */
.steps { position: relative; }
.steps::before { content: ""; position: absolute; left: 4%; right: 4%; top: 38px; height: 2px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); z-index: 0; }
.steps.in::before { transform: scaleX(1); }
.steps li { position: relative; z-index: 1; }
.steps b { transform: scale(.4); opacity: .4; transition: transform .7s cubic-bezier(.34, 1.56, .64, 1), opacity .5s; }
.steps.in li b { transform: none; opacity: 1; }
.steps.in li:nth-child(2) b { transition-delay: .3s; } .steps.in li:nth-child(3) b { transition-delay: .6s; }
.steps.in li:nth-child(4) b { transition-delay: .9s; } .steps.in li:nth-child(5) b { transition-delay: 1.2s; }

/* Pricing: animated gradient border on hover */
.price { position: relative; transition: transform .45s var(--ease), box-shadow .45s; }
.price::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--a, 0deg), var(--brand), var(--brand-2), #a855f7, var(--brand)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; animation: spinA 4s linear infinite; }
.price:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price:hover::before { opacity: 1; }
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spinA { to { --a: 360deg; } }

/* About: logo with a spinning dashed ring */
.about .avatar { position: relative; padding: 26px; background: var(--card); border: 1px solid var(--line); animation: bob 7s ease-in-out infinite; }
.about { position: relative; }

/* CTA band */
.cta-band { padding: 30px 0 80px; }
.cta-band-in { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(48px, 7vw, 80px) 24px; border-radius: 28px; color: #fff; background: linear-gradient(120deg, #4f46e5, #7c3aed 45%, #0ea5a4); background-size: 200% 200%; animation: bandMove 10s ease-in-out infinite alternate; }
@keyframes bandMove { to { background-position: 100% 100%; } }
.cta-band h2 { font-size: clamp(1.9rem, 4.5vw, 3.2rem); margin-bottom: .3em; }
.cta-band h2 span { opacity: .85; }
.cta-band p { opacity: .9; font-size: 1.1rem; }
.cta-band .cta { justify-content: center; margin-bottom: 0; }
.btn-white { background: #fff; color: #312e81; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.shapes i { position: absolute; z-index: -1; border: 2px solid rgba(255, 255, 255, .35); animation: drift 14s linear infinite; }
.shapes i:nth-child(1) { width: 90px; height: 90px; border-radius: 22px; top: 12%; left: 6%; }
.shapes i:nth-child(2) { width: 140px; height: 140px; border-radius: 50%; bottom: -40px; right: 8%; animation-duration: 18s; }
.shapes i:nth-child(3) { width: 0; height: 0; border: 0; border-left: 34px solid transparent; border-right: 34px solid transparent; border-bottom: 58px solid rgba(255, 255, 255, .18); top: 18%; right: 20%; animation-duration: 12s; }
.shapes i:nth-child(4) { width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 255, 255, .5); border: 0; bottom: 22%; left: 22%; animation-duration: 9s; }
@keyframes drift { 0% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(20px, -24px) rotate(180deg); } 100% { transform: translate(0, 0) rotate(360deg); } }

/* Buttons: shine + magnetic */
.btn { position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.btn::after { content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .4), transparent); transform: skewX(-20deg); transition: left .8s var(--ease); }
.btn:hover::after { left: 130%; }

/* Scroll reveal (classes added by script) */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 60ms); }
.in .w > span { transform: none; }

@media (max-width: 900px) {
  .promises { grid-template-columns: 1fr 1fr; }
  .orbit { padding: 34px 6px 30px; }
  .c2, .c5 { right: -4px; } .c3 { left: -4px; }
  .steps::before { display: none; }
}
@media (max-width: 520px) {
  .hero { padding: 56px 0 70px; }
  .chip { display: none; } /* floating tags read as stray labels on phones; the stack strip below lists them */
  .c5 { display: none; }
  .promises { margin-top: 40px; gap: 10px; }
  .promises div { padding: 16px; }
  .typed { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero-in > div:first-child > *, .hc-list li, .w > span, .steps b { opacity: 1 !important; transform: none !important; }
  .net, .cursor { display: none; }
}
/* Keep floating chips off the card's text */
.c2 { top: 16%; right: -64px; } .c5 { top: 58%; right: -52px; }
.c3 { bottom: -8px; left: 2%; top: auto; } .c4 { bottom: -8px; right: 6%; }
@media (max-width: 1240px) { .c2, .c5 { right: -20px; top: -8px; } .c5 { display: none; } .c2 { right: 4%; } }
@media (max-width: 900px) { .c2, .c3, .c5 { display: none; } .c1 { left: 4%; } .c4 { right: 4%; } }

/* ===== Brand highlight ===== */
/* Intro */
.intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 45%, color-mix(in srgb, var(--brand) 22%, var(--bg)), var(--bg) 75%); clip-path: inset(0 0 0 0); transition: clip-path 1s cubic-bezier(.76, 0, .24, 1); }
.intro.done { clip-path: inset(0 0 100% 0); }
.intro-in { display: grid; justify-items: center; gap: 14px; }
.intro-mark { width: 96px; height: 96px; filter: drop-shadow(0 18px 40px var(--glow)); animation: markIn .9s var(--ease) both; }
@keyframes markIn { from { transform: scale(.6) rotate(-12deg); opacity: 0; } }
.intro-mark .b { transform-box: fill-box; transform-origin: left center; animation: barIn .7s var(--ease) both; }
.intro-mark .b2, .intro-mark .b4 { transform-origin: center top; animation-name: barDown; }
.intro-mark .b1 { animation-delay: .25s; } .intro-mark .b2 { animation-delay: .4s; } .intro-mark .b3 { animation-delay: .55s; } .intro-mark .b4 { animation-delay: .7s; } .intro-mark .b5 { animation-delay: .85s; }
@keyframes barIn { from { transform: scaleX(0); } }
@keyframes barDown { from { transform: scaleY(0); } }
.intro-name { overflow: hidden; }
.intro-name span { display: block; font-size: clamp(2.4rem, 7vw, 3.6rem); font-weight: 800; letter-spacing: -.04em; background: linear-gradient(90deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; transform: translateY(110%); animation: rise .9s var(--ease) .6s forwards; }
@keyframes rise { to { transform: none; } }
.intro p { margin: 0; color: var(--muted); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; opacity: 0; animation: fadeUp .8s ease 1s forwards; }
@keyframes fadeUp { to { opacity: 1; } }
body.loading { overflow: hidden; }

/* Nav brand: bigger mark with glow, gradient name, small tagline */
.nav-in { height: 74px; }
.brand-main { gap: 12px; }
.brand-main .mark { width: 44px; height: 44px; border-radius: 13px; box-shadow: 0 10px 26px -8px var(--glow); transition: transform .6s var(--ease); }
.brand-main:hover .mark { transform: rotate(-10deg) scale(1.08); }
.brand-main .mark .b { transform-box: fill-box; transform-origin: left center; transition: transform .5s var(--ease); }
.brand-main:hover .mark .b3 { transform: scaleX(.7); }
.brand-text { display: grid; line-height: 1.05; }
.brand-text b { font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; background: linear-gradient(90deg, var(--text) 0%, var(--text) 40%, var(--brand) 50%, var(--brand-2) 60%, var(--text) 70%); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: nameShine 7s ease-in-out infinite; }
@keyframes nameShine { 0%, 60% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.brand-text small { font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

/* Giant footer name */
.footer { overflow: hidden; }
.giant { margin: 10px 0 -0.12em; font-size: clamp(4rem, 17vw, 13rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; text-align: center; background: linear-gradient(90deg, var(--brand), #a855f7, var(--brand-2)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; animation: gradMove 8s ease-in-out infinite alternate; }

@media (max-width: 520px) {
  .brand-text small { display: none; }
  .brand-text b { font-size: 1.3rem; }
  .brand-main .mark { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) { .intro { display: none; } .intro-name span { transform: none; } }
.giant { margin-bottom: 18px; }
@media (max-width: 520px) { .hide-sm { display: none; } }

/* ===== Case studies page (projects.html) ===== */
.cs-hero { position: relative; overflow: hidden; isolation: isolate; padding: 70px 0 60px; }
.cs-hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.8rem); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 .3em; }
.cs-hero .lead { max-width: 620px; }
.back { display: inline-block; margin-bottom: 22px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .92rem; }
.back:hover { color: var(--text); }
.cs-index { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.cs-index a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: color-mix(in srgb, var(--card) 70%, transparent); backdrop-filter: blur(8px); color: var(--text); text-decoration: none; font-weight: 600; font-size: .9rem; transition: border-color .2s, transform .2s; }
.cs-index a:hover { border-color: var(--brand); transform: translateY(-2px); }
.case-sec { scroll-margin-top: 70px; }
.case { display: grid; gap: 22px; }
.case-head { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; }
.case-head h2 { margin: 10px 0 .3em; }
.case-head .sub { margin: 0; }
.case-no { font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 800; line-height: .9; letter-spacing: -.04em; background: linear-gradient(135deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .85; }
.case-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.case-meta > div { background: var(--card); padding: 14px 18px; }
.case-meta dt { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.case-meta dd { margin: 4px 0 0; font-weight: 700; }
.case-shot { max-width: 920px; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case-grid .card { position: relative; overflow: hidden; }
.case-grid .card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: linear-gradient(var(--brand), var(--brand-2)); }
.case-grid h3, .case-detail h3 { margin: 0 0 .5em; font-size: 1.1rem; }
.case-detail { display: grid; gap: 16px; justify-items: start; }
.mini-ticks.cols { grid-template-columns: repeat(2, 1fr); gap: 8px 28px; width: 100%; }
.case-detail .note { margin: 0; }
.case > .progress { margin: 0; max-width: 420px; }
@media (max-width: 860px) {
  .case-meta { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: 1fr; }
  .mini-ticks.cols { grid-template-columns: 1fr; }
  .case-head { grid-template-columns: 1fr; gap: 0; }
}

/* Links from home cards to the case studies */
.cs-link { font-weight: 700; text-decoration: none; margin-top: 4px; }
.work-more { text-align: center; margin-top: 32px; }

/* ===== Work slider: one full-size project card at a time ===== */
.slider { position: relative; margin-top: 24px; }
.work-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 8px 2px 12px; scrollbar-width: none; overscroll-behavior-x: contain; }
.work-track::-webkit-scrollbar { display: none; }
.work-track:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: var(--radius); }
.work-track > .proj { flex: 0 0 100%; scroll-snap-align: center; min-width: 0; }
.proj-visual { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; display: grid; place-items: center; align-content: center; gap: 14px; border: 1px solid var(--line);
  background: radial-gradient(60% 70% at 25% 20%, color-mix(in srgb, var(--brand) 45%, transparent), transparent), radial-gradient(60% 70% at 85% 90%, color-mix(in srgb, var(--brand-2) 40%, transparent), transparent), var(--bg-alt); }
.proj-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(color-mix(in srgb, var(--text) 7%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--text) 7%, transparent) 1px, transparent 1px); background-size: 34px 34px; mask-image: radial-gradient(circle at center, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(circle at center, #000 30%, transparent 75%); }
.pv-ic { position: relative; font-size: clamp(4rem, 9vw, 6.5rem); line-height: 1; animation: pvFloat 5s ease-in-out infinite; }
.pv-label { position: relative; font-weight: 800; font-size: clamp(1.1rem, 2.4vw, 1.6rem); letter-spacing: -.02em; padding: 6px 16px; border-radius: 999px; background: color-mix(in srgb, var(--card) 70%, transparent); border: 1px solid var(--line); backdrop-filter: blur(8px); }
@keyframes pvFloat { 50% { transform: translateY(-12px) rotate(-4deg); } }
.slider-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 14px; }
.slide-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: color-mix(in srgb, var(--card) 85%, transparent); color: var(--text); font-size: 1.8rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding-bottom: 4px; box-shadow: var(--shadow); backdrop-filter: blur(8px); transition: transform .2s, border-color .2s, opacity .2s; }
.slide-btn:hover:not(:disabled) { border-color: var(--brand); transform: scale(1.08); }
.slide-btn:disabled { opacity: .35; cursor: default; }
.slide-dots { display: flex; gap: 8px; }
.slide-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: var(--line); cursor: pointer; transition: width .3s, background .3s; }
.slide-dots button[aria-current="true"] { width: 28px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
/* Desktop: arrows sit on the left and right edges of the card */
@media (min-width: 861px) {
  #workPrev, #workNext { position: absolute; top: calc(50% - 30px); z-index: 2; }
  #workPrev { left: -24px; } #workNext { right: -24px; }
}
@media (prefers-reduced-motion: reduce) { .work-track { scroll-behavior: auto; } .pv-ic { animation: none; } }
@media (max-width: 860px) { .work-track > .proj { align-content: start; } }

/* ===== Slider v2: clearer that there is more to see ===== */
.slider-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; }
.slide-hint { margin: 0; color: var(--muted); font-size: .95rem; }
.slide-hint b { color: var(--text); }
.hint-hand { display: inline-block; animation: swipeHint 2.2s ease-in-out infinite; }
@keyframes swipeHint { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(10px); } }
.slide-count { margin: 0; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.slide-count b { font-size: 1.5rem; color: var(--text); }
.slider { margin-top: 12px; }
/* show the edge of the next card so it's obvious the row continues */
.work-track > .proj { flex: 0 0 calc(100% - 70px); }
.work-track::after { content: ""; flex: 0 0 1px; }
.slide-btn { width: 60px; height: 60px; padding: 0; border: 0; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 10px 30px color-mix(in srgb, var(--brand) 45%, transparent); }
.slide-btn:hover:not(:disabled) { transform: scale(1.1); }
.slide-btn:disabled { opacity: .25; box-shadow: none; }
.slide-btn:not(:disabled) { animation: btnPulse 2.4s ease-in-out infinite; }
.slider.used .slide-btn { animation: none; }
@keyframes btnPulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 50%, transparent), 0 10px 30px color-mix(in srgb, var(--brand) 40%, transparent); } 50% { box-shadow: 0 0 0 12px transparent, 0 10px 30px color-mix(in srgb, var(--brand) 40%, transparent); } }
.slide-dots button { width: 10px; height: 10px; }
.slide-dots button[aria-current="true"] { width: 34px; }
@media (min-width: 861px) {
  #workPrev, #workNext { top: calc(50% - 34px); }
  #workPrev { left: -30px; } #workNext { right: -30px; }
}
@media (max-width: 860px) {
  .work-track > .proj { flex-basis: calc(100% - 36px); }
  .slide-hint { font-size: .86rem; }
  .slide-btn { width: 54px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) { .hint-hand, .slide-btn { animation: none !important; } }
.work-track > .proj { scroll-snap-align: start; } .work-track { scroll-padding-left: 2px; }
.case-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.case-fig { margin: 0; }
.case-fig figcaption { color: var(--muted); font-size: .88rem; margin-top: 8px; }
@media (max-width: 860px) { .case-gallery { grid-template-columns: 1fr; } }
.giant { font-size: clamp(2.6rem, 8vw, 5.5rem); margin-top: 6px; }
.case-gallery.single { grid-template-columns: 1fr; }
/* keep the slider arrows on-screen when the window is only a little wider than the content */
@media (min-width: 861px) and (max-width: 1199px) { #workPrev { left: -10px; } #workNext { right: -10px; } }
