:root {
  --lime: #d4ff3b;
  --lime-deep: #c6f52a;
  --blue: #0088ff;
  --blue-deep: #0066e0;
  --sky-top: #0076f5;
  --sky-mid: #1a9bff;
  --ink: #111111;
  --muted: #5c5c5c;
  --line: #ececec;
  --white: #ffffff;
  --radius: 999px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-lime {
  background: var(--lime);
  color: var(--ink);
}

.btn-lime:hover {
  background: var(--lime-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.85);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  height: 72px;
  padding: 0 max(16px, env(safe-area-inset-left)) 0 max(16px, env(safe-area-inset-right));
  color: var(--white);
  transition: background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(16px);
}

.logo {
  display: inline-flex;
  align-items: flex-end;
  gap: 1px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
  color: var(--white);
}

.nav.scrolled .logo {
  color: var(--ink);
}

.logo .dot {
  width: 9px;
  height: 9px;
  margin: 0 0 3px 1px;
  border-radius: 50%;
  background: var(--lime);
}

.nav-links {
  position: fixed;
  inset: 72px 12px auto;
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  padding: 16px;
  border-radius: 20px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
}

.nav-links.open {
  display: flex;
}

.nav-links a,
.nav-drop-btn {
  padding: 12px 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-drop {
  position: relative;
}

.nav-drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-drop-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  min-width: 200px;
  padding: 10px;
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
  transform: translateX(-50%) translateY(6px);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
}

.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu,
.nav-drop.open .nav-drop-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-drop-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  font-weight: 600;
}

.nav-drop-menu a:hover {
  background: #f4f4f4;
}

.nav-cta {
  display: none;
  justify-self: end;
  height: 42px;
  padding: 0 22px;
}

.nav-toggle {
  display: block;
  width: 42px;
  height: 42px;
  justify-self: end;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  margin: 5px auto;
  background: currentColor;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 108px 16px 36px;
  overflow: hidden;
  text-align: center;
  color: var(--white);
}

.hero-sky {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      #006de8 0%,
      #0084f7 28%,
      #1aa0ff 52%,
      #5ec4ff 74%,
      #b7e6ff 90%,
      #eaf7ff 100%);
  z-index: 0;
}

.hero-clouds {
  position: absolute;
  left: 50%;
  bottom: -4%;
  width: 160%;
  max-width: none;
  height: 52%;
  object-fit: cover;
  object-position: center bottom;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 1;
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 100%);
}

.hero-copy,
.showcase,
.trust {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 860px;
  margin: 0 auto 42px;
}

.hero h1 {
  font-size: clamp(32px, 10vw, 76px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.hero h1 em {
  font-style: normal;
  color: var(--lime);
}

.hero-copy p {
  max-width: 620px;
  margin: 18px auto 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.hero-actions .btn {
  min-width: min(100%, 168px);
}

/* 3D COVERFLOW */
.showcase {
  position: relative;
  height: 236px;
  max-width: 1240px;
  margin: 12px auto 0;
  perspective: 1600px;
}

.shot {
  position: absolute;
  top: 36px;
  left: 50%;
  width: 248px;
  height: 160px;
  margin-left: -124px;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  box-shadow:
    0 22px 48px rgba(8, 40, 80, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.2) inset;
  cursor: pointer;
  transition:
    transform 0.7s cubic-bezier(0.32, 0.72, 0, 1),
    width 0.7s cubic-bezier(0.32, 0.72, 0, 1),
    height 0.7s cubic-bezier(0.32, 0.72, 0, 1),
    margin-left 0.7s cubic-bezier(0.32, 0.72, 0, 1),
    top 0.7s cubic-bezier(0.32, 0.72, 0, 1),
    box-shadow 0.7s ease;
}

.shot.no-anim {
  transition: none !important;
}

.shot-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 18px;
  padding: 0 10px;
  background: #1a1a1a;
}

.shot-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3d3d3d;
}

.shot-bar i:nth-child(1) { background: #ff5f57; }
.shot-bar i:nth-child(2) { background: #febc2e; }
.shot-bar i:nth-child(3) { background: #28c840; }

.shot img {
  width: 100%;
  height: calc(100% - 18px);
  object-fit: cover;
  object-position: center top;
}

.shot.pos-m3,
.shot.pos-p3,
.shot.pos-m2,
.shot.pos-p2 {
  opacity: 0;
  pointer-events: none;
}

.shot.pos-m1 { transform: translateX(-88px) translateY(14px) rotateY(12deg) scale(0.86); z-index: 3; }
.shot.pos-0 {
  top: 12px;
  width: 280px;
  height: 178px;
  margin-left: -140px;
  transform: translateX(0) translateY(0) rotateY(0) scale(1);
  z-index: 7;
  box-shadow: 0 28px 60px rgba(8, 40, 80, 0.38);
}
.shot.pos-p1 { transform: translateX(88px) translateY(14px) rotateY(-12deg) scale(0.86); z-index: 3; }

.trust {
  margin-top: 8px;
}

.trust p {
  font-size: 15px;
  font-weight: 500;
}

.stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 8px;
}

.stars svg {
  width: 16px;
  height: 16px;
  fill: #ffd400;
}

/* ABOUT */
.about {
  padding: 72px 20px 48px;
  max-width: 1180px;
  margin: 0 auto;
}

.about h2,
.section-head h2,
.reviews h2,
.brain-copy h2,
.contact h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.c-blue {
  font-style: normal;
  color: var(--blue);
}

.c-lime {
  font-style: normal;
  color: #b6e012;
}

.about-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.about-copy h2 {
  max-width: 520px;
}

.about-copy > p:not(.eyebrow) {
  max-width: 460px;
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.about-link span {
  color: var(--blue);
  transition: transform 0.2s ease;
}

.about-link:hover span {
  transform: translateX(4px);
}

.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 16px;
  padding-top: 6px;
}

.metrics strong {
  display: block;
  font-size: clamp(32px, 10vw, 56px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.metrics p {
  margin-top: 10px;
  max-width: 220px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
}

.tech {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e8e8e8;
}

.tech > p {
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a9a9a;
}

.tech-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.tech-loop {
  display: flex;
  width: max-content;
  animation: techLoop 36s linear infinite;
}

@media (hover: hover) {
  .tech-marquee:hover .tech-loop {
    animation-play-state: paused;
  }
}

.tech-logo {
  width: 22px;
  height: 22px;
  margin-right: 8px;
  flex-shrink: 0;
  object-fit: contain;
}

.tech ul {
  display: flex;
  align-items: center;
  list-style: none;
  flex-shrink: 0;
}

.tech li {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #1a1a1a;
  white-space: nowrap;
}

.tech li::after {
  content: "·";
  margin: 0 18px;
  color: #c8c8c8;
  font-weight: 700;
}

@keyframes techLoop {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* SHARED SECTIONS */
.section-head {
  max-width: 640px;
  margin: 0 auto 32px;
  text-align: center;
}

.eyebrow {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.lead {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
}

.services,
.work {
  padding: 32px 20px 64px;
  max-width: 1180px;
  margin: 0 auto;
}

.work {
  max-width: none;
  overflow: hidden;
}

.work .section-head {
  max-width: 720px;
}

.svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.svc {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  border-radius: 28px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.svc.is-in {
  opacity: 1;
  transform: none;
}

.svc:nth-child(2) { transition-delay: 0.1s; }
.svc:nth-child(3) { transition-delay: 0.18s; }
.svc:nth-child(4) { transition-delay: 0.26s; }

.svc-web { background: var(--blue); color: var(--white); }
.svc-ai { background: var(--lime); color: var(--ink); }
.svc-auto { background: #0066e0; color: var(--white); }
.svc-dev { background: var(--ink); color: var(--white); }

.svc-visual {
  flex: 1;
  position: relative;
  min-height: 176px;
  overflow: hidden;
}

.svc-body {
  padding: 8px 22px 24px;
}

.svc-body span {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.72;
}

.svc-body h3 {
  font-size: clamp(22px, 6vw, 28px);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.svc-body p {
  margin: 10px 0 18px;
  max-width: 360px;
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.82;
}

.svc-body a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
}

.svc-body a em {
  font-style: normal;
  transition: transform 0.2s ease;
}

.svc-body a:hover em {
  transform: translateX(4px);
}

.mini-browser {
  position: absolute;
  left: 10%;
  top: 36px;
  width: 84%;
  height: 220px;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  background: #111;
  box-shadow: 0 24px 50px rgba(0, 20, 60, 0.28);
  transform: rotate(-5deg) translateY(16px);
  opacity: 0;
}

.svc-web.is-in .mini-browser {
  animation: browserIn 0.8s 0.25s ease forwards, browserFloat 5s 1.1s ease-in-out infinite;
}

.mini-browser img {
  width: 100%;
  height: calc(100% - 18px);
  object-fit: cover;
  object-position: center top;
  transform: scale(1.08);
}

.svc-web.is-in .mini-browser img {
  animation: pagePan 8s 0.4s ease-in-out infinite alternate;
}

@keyframes browserIn {
  to {
    opacity: 1;
    transform: rotate(-5deg) translateY(0);
  }
}

@keyframes browserFloat {
  50% { transform: rotate(-5deg) translateY(-8px); }
}

@keyframes pagePan {
  to {
    transform: scale(1.16);
    object-position: center 30%;
  }
}

.svc-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 36px 24px 10px;
}

.bubble {
  max-width: 86%;
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(10px);
}

.svc-ai.is-in .bubble:nth-child(1) { animation: bubbleIn 6s 0.2s ease infinite; }
.svc-ai.is-in .bubble:nth-child(2) { animation: bubbleIn 6s 0.85s ease infinite; }
.svc-ai.is-in .bubble:nth-child(3) { animation: bubbleIn 6s 1.5s ease infinite; }

@keyframes bubbleIn {
  0%, 8% { opacity: 0; transform: translateY(10px); }
  16%, 78% { opacity: 1; transform: none; }
  90%, 100% { opacity: 0; transform: translateY(-6px); }
}

.bubble.in {
  background: rgba(17, 17, 17, 0.08);
}

.bubble.out {
  align-self: flex-end;
  background: var(--ink);
  color: var(--white);
}

.svc-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 36px 22px 8px;
  flex-wrap: wrap;
  gap: 0;
}

.node {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: scale(0.82);
}

.svc-auto.is-in .node:nth-of-type(1) { animation: nodePop 0.45s 0.15s ease forwards, nodePulse 2.4s 1.2s ease-in-out infinite; }
.svc-auto.is-in .node:nth-of-type(2) { animation: nodePop 0.45s 0.35s ease forwards, nodePulse 2.4s 1.5s ease-in-out infinite; }
.svc-auto.is-in .node:nth-of-type(3) { animation: nodePop 0.45s 0.55s ease forwards, nodePulse 2.4s 1.8s ease-in-out infinite; }
.svc-auto.is-in .node:nth-of-type(4) { animation: nodePop 0.45s 0.75s ease forwards, nodePulse 2.4s 2.1s ease-in-out infinite; }

@keyframes nodePop {
  to { opacity: 1; transform: none; }
}

@keyframes nodePulse {
  50% { transform: translateY(-3px); }
}

.node-lime {
  background: var(--lime);
  color: var(--ink);
}

.line {
  width: 22px;
  height: 2px;
  margin: 0 4px;
  background: rgba(255, 255, 255, 0.45);
  position: relative;
}

.line::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  animation: flowDot 1.8s linear infinite;
}

@keyframes flowDot {
  to { left: 14px; }
}

.mini-app {
  display: flex;
  width: 86%;
  height: 200px;
  margin: 40px auto 0;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  background: #1c212b;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  transform: rotate(4deg) translateY(16px);
  opacity: 0;
}

.svc-dev.is-in .mini-app {
  animation: appIn 0.8s 0.3s ease forwards, appFloat 5.2s 1.2s ease-in-out infinite;
}

@keyframes appIn {
  to {
    opacity: 1;
    transform: rotate(4deg) translateY(0);
  }
}

@keyframes appFloat {
  50% { transform: rotate(4deg) translateY(-8px); }
}

.svc-dev.is-in .app-grid span:nth-child(1) { animation: blockFill 2.8s 0.6s ease-in-out infinite; }
.svc-dev.is-in .app-grid span:nth-child(2) { animation: blockFill 2.8s 1s ease-in-out infinite; }
.svc-dev.is-in .app-grid span:nth-child(3) { animation: blockFill 2.8s 1.4s ease-in-out infinite; }

@keyframes blockFill {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; filter: brightness(1.15); }
}

.mini-app aside {
  width: 52px;
  padding: 16px 12px;
  background: #14171e;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mini-app aside b {
  display: block;
  height: 8px;
  border-radius: 99px;
  background: #3a3f48;
}

.mini-app aside b:first-child {
  background: var(--lime);
}

.app-main {
  flex: 1;
  padding: 16px;
}

.app-bar {
  height: 10px;
  width: 42%;
  margin-bottom: 14px;
  border-radius: 99px;
  background: #3a3f48;
}

.app-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 10px;
}

.app-grid span {
  height: 72px;
  border-radius: 12px;
  background: #2a303b;
}

.app-grid span:first-child {
  background: linear-gradient(160deg, #0088ff, #5ec4ff);
}

.app-grid span:nth-child(2) {
  background: var(--lime);
}

.app-grid span:nth-child(3) {
  grid-column: 1 / -1;
  height: 46px;
}

.reviews {
  padding: 64px 0 56px;
  background: #f6f6f3;
  overflow: hidden;
}

.reviews .section-head {
  margin-bottom: 28px;
  padding: 0 20px;
}

.reviews h2 {
  color: var(--ink);
}

.review-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 18px;
}

.review-rating strong {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.review-rating .stars {
  margin-top: 0;
}

.review-rating p {
  width: 100%;
  margin-top: 2px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}

.review-flow {
  display: grid;
  gap: 16px;
}

.review-row {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.review-loop {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: review-marquee 42s linear infinite;
}

.review-row-rev .review-loop {
  animation-direction: reverse;
  animation-duration: 48s;
}

@media (hover: hover) {
  .review-flow:hover .review-loop {
    animation-play-state: paused;
  }
}

@keyframes review-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.rv {
  flex: 0 0 min(300px, 82vw);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 24px 22px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.05);
}

.rv-stars {
  color: #ffd400;
  font-size: 15px;
  letter-spacing: 2px;
  line-height: 1;
}

.rv > p {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.5;
  color: var(--ink);
}

.rv footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.rv-ava {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ava, #111);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.rv footer strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.rv footer small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

.work-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 15px;
  font-weight: 700;
}

.work-more span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lime);
  font-size: 14px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.work-more:hover span {
  transform: translateX(3px);
}

.work-stage {
  --work-card: clamp(240px, 78vw, 360px);
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: calc(var(--work-card) * 9 / 16 + 10vw);
  margin-top: 16px;
  overflow: hidden;
  touch-action: pan-y;
}

.work-stage:not(.is-ready) {
  height: 0;
  margin: 0;
}

.work-item {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--work-card);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
  transform-origin: center center;
  will-change: transform, opacity;
}

.work-stage:not(.is-ready) .work-item {
  opacity: 0;
}

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.brain {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 20px 12px;
}

.brain-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.brain-copy h2 {
  max-width: 520px;
}

.brain-copy .lead {
  max-width: 440px;
  margin-bottom: 28px;
}

.brain-stage {
  position: relative;
  min-height: 0;
}

.brain-glow {
  position: absolute;
  inset: auto;
  width: 80%;
  height: 220px;
  margin: 0 auto -80px;
  left: 10%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 40%, rgba(212, 255, 59, 0.28), transparent 46%),
    radial-gradient(circle at 70% 60%, rgba(0, 136, 255, 0.16), transparent 50%);
  filter: blur(8px);
  pointer-events: none;
}

.brain-orbit {
  position: static;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  z-index: 3;
  pointer-events: none;
}

.brain-chip {
  position: static;
  left: var(--x);
  top: var(--y);
  animation: none;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.1);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brain-chip:nth-child(2) { animation-delay: 0.4s; }
.brain-chip:nth-child(3) { animation-delay: 0.9s; }
.brain-chip:nth-child(4) { animation-delay: 1.3s; }
.brain-chip:nth-child(5) { animation-delay: 0.2s; }
.brain-chip:nth-child(6) { animation-delay: 1.7s; }

.brain-chip-lime {
  background: var(--lime);
}

@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.brain-core {
  position: relative;
  left: auto;
  top: auto;
  z-index: 2;
  width: 100%;
  transform: none;
  padding: 16px;
  border-radius: 24px;
  background: #0f1115;
  box-shadow: 0 28px 70px rgba(15, 17, 21, 0.28);
  color: var(--white);
}

.brain-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.brain-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a3f48;
}

.brain-bar span:first-child { background: #ff5f57; }
.brain-bar span:nth-child(2) { background: #febc2e; }
.brain-bar span:nth-child(3) { background: #28c840; }

.brain-bar em {
  margin-left: 8px;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
}

.brain-chat {
  display: grid;
  gap: 10px;
  min-height: 248px;
}

.brain-msg {
  max-width: 92%;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(10px);
}

.brain-msg.in {
  background: #1c212b;
}

.brain-msg.out {
  margin-left: auto;
  background: var(--lime);
  color: var(--ink);
}

.brain.is-in .brain-msg:nth-child(1) { animation: brainMsg 0.55s 0.15s ease forwards; }
.brain.is-in .brain-msg:nth-child(2) { animation: brainMsg 0.55s 0.55s ease forwards; }
.brain.is-in .brain-msg:nth-child(3) { animation: brainMsg 0.55s 0.95s ease forwards; }
.brain.is-in .brain-msg:nth-child(4) { animation: brainMsg 0.55s 1.35s ease forwards; }

@keyframes brainMsg {
  to {
    opacity: 1;
    transform: none;
  }
}

.brain-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #22242a;
  font-size: 12px;
  font-weight: 700;
  color: #9a9a9a;
}

.brain-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(212, 255, 59, 0.7);
  animation: brainPulse 1.8s ease-out infinite;
}

@keyframes brainPulse {
  70% { box-shadow: 0 0 0 8px rgba(212, 255, 59, 0); }
}

.brain-caps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.brain-caps h3 {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brain-caps p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.brain-caps a {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
}

.brain-caps a:hover {
  color: var(--blue);
}

.brain .work-more {
  display: flex;
  width: fit-content;
  margin: 36px auto 0;
}

.contact {
  padding: 12px 16px 72px;
}

.contact-box {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 28px 22px;
  border-radius: 32px;
  background: #0f1115;
  color: var(--white);
}

.contact .lead {
  color: #b8b8b8;
}

.form {
  display: grid;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.form .btn {
  width: 100%;
  margin-top: 4px;
}

.form input,
.form textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border: 0;
  border-radius: 14px;
  background: #1c212b;
  color: var(--white);
  outline: none;
}

.form input:focus,
.form textarea:focus {
  box-shadow: 0 0 0 2px var(--lime);
}

.form-ok,
.form-err {
  font-weight: 600;
}

.form-ok {
  color: var(--lime);
}

.form-err {
  color: #ff8a80;
}

.form .btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 12px;
  padding: 24px 20px 32px;
  text-align: center;
  background: #000;
  color: #8a8a8a;
}

.logo-on-dark {
  color: #eaeaea;
}

.page-inner .nav {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.sol-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 112px 20px 28px;
}

.sol-page h1 {
  max-width: 720px;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.sol-page .lead {
  max-width: 560px;
  margin-bottom: 48px;
}

.sol-grid {
  display: grid;
  gap: 20px;
}

.sol-card {
  scroll-margin-top: 110px;
  padding: 32px;
  border-radius: 24px;
  background: #f6f6f3;
}

.sol-card h2 {
  margin-bottom: 10px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.sol-card p {
  max-width: 640px;
  color: var(--muted);
}

.sol-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--ink);
}

.sol-card li + li {
  margin-top: 8px;
}

.seo-def {
  max-width: 640px;
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}

.faq {
  max-width: 800px;
  margin: 0 auto;
  padding: 12px 20px 64px;
}

.faq h2 {
  margin-bottom: 8px;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.faq > p {
  margin-bottom: 24px;
  color: var(--muted);
}

.faq details {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--blue);
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin-top: 10px;
  max-width: 640px;
  color: var(--muted);
  line-height: 1.65;
}

.faq details a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--white);
}

.blog-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 112px 20px 56px;
}

.blog-index {
  max-width: 860px;
}

.blog-wrap h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.blog-meta {
  margin: 14px 0 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.blog-wrap .lead {
  margin-bottom: 28px;
}

.blog-wrap h2 {
  margin: 36px 0 12px;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.blog-wrap p,
.blog-wrap li {
  font-size: 17px;
  line-height: 1.7;
  color: #333;
}

.blog-wrap p {
  margin: 0 0 16px;
}

.blog-wrap ul {
  margin: 0 0 18px 20px;
}

.blog-wrap li + li {
  margin-top: 8px;
}

.blog-list {
  display: grid;
  gap: 14px;
  margin-top: 36px;
}

.blog-item {
  display: block;
  padding: 24px 26px;
  border-radius: 20px;
  background: #f6f6f3;
}

.blog-item:hover {
  background: #eef6c8;
}

.blog-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.blog-item span {
  font-size: 15px;
  color: var(--muted);
}

.blog-cta {
  margin-top: 48px;
  padding: 28px;
  border-radius: 24px;
  background: #0f1115;
  color: var(--white);
}

.blog-cta p {
  color: #c8c8c8;
}

.blog-cta a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--lime);
  font-weight: 800;
}

.crumbs {
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.crumbs a:hover {
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  .shot,
  .shot img,
  .tech-loop,
  .line::after,
  .mini-browser,
  .mini-browser img,
  .bubble,
  .node,
  .mini-app,
  .app-grid span,
  .review-loop,
  .brain-chip,
  .brain-msg,
  .brain-status i {
    animation: none !important;
    transition: none !important;
  }

  .svc,
  .mini-browser,
  .mini-app,
  .bubble,
  .node,
  .brain-msg {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 861px) {
  .nav {
    grid-template-columns: 1fr auto 1fr;
    height: 84px;
    padding: 0 40px;
  }

  .logo {
    font-size: 28px;
  }

  .nav-links {
    position: static;
    inset: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    box-shadow: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a,
  .nav-drop-btn {
    padding: 0;
  }

  .nav-cta {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }

  .hero {
    min-height: 100vh;
    padding: 132px 24px 56px;
  }

  .hero-copy p {
    margin-top: 22px;
    font-size: 17px;
  }

  .hero-actions {
    gap: 12px;
    margin-top: 30px;
  }

  .showcase {
    height: 320px;
    margin-top: 18px;
  }

  .shot {
    width: 340px;
    height: 214px;
    margin-left: -170px;
  }

  .shot.pos-m2,
  .shot.pos-p2 {
    opacity: 1;
    pointer-events: auto;
  }

  .shot.pos-m2 { transform: translateX(-250px) translateY(22px) rotateY(24deg) scale(0.78); z-index: 2; }
  .shot.pos-m1 { transform: translateX(-128px) translateY(8px) rotateY(14deg) scale(0.9); z-index: 3; }
  .shot.pos-0 {
    top: 12px;
    width: 420px;
    height: 258px;
    margin-left: -210px;
    transform: translateX(0) translateY(0) rotateY(0) scale(1);
  }
  .shot.pos-p1 { transform: translateX(128px) translateY(8px) rotateY(-14deg) scale(0.9); z-index: 3; }
  .shot.pos-p2 { transform: translateX(250px) translateY(22px) rotateY(-24deg) scale(0.78); z-index: 2; }

  .about {
    padding: 108px 40px 72px;
  }

  .about-top {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .metrics {
    gap: 48px 32px;
  }

  .tech {
    margin-top: 72px;
  }

  .tech li::after {
    margin: 0 28px;
  }

  .section-head {
    margin-bottom: 48px;
  }

  .services,
  .work {
    padding: 40px 40px 90px;
  }

  .svc-grid {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 16px;
  }

  .svc {
    min-height: 460px;
  }

  .svc-visual {
    min-height: 210px;
  }

  .svc-body {
    padding: 8px 28px 28px;
  }

  .reviews {
    padding: 88px 0 80px;
  }

  .reviews .section-head {
    margin-bottom: 40px;
    padding: 0 40px;
  }

  .rv {
    flex-basis: 360px;
  }

  .work-stage {
    --work-card: clamp(220px, 36vw, 520px);
    height: calc(var(--work-card) * 9 / 16 + 4vw);
    margin-top: 28px;
  }

  .brain {
    padding: 80px 40px 20px;
  }

  .brain-hero {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 56px;
  }

  .brain-stage {
    min-height: 520px;
  }

  .brain-glow {
    inset: 8% 6%;
    left: auto;
    width: auto;
    height: auto;
    margin: 0;
  }

  .brain-orbit {
    position: absolute;
    inset: 0;
    display: block;
    margin-top: 0;
  }

  .brain-chip {
    position: absolute;
    animation: chipFloat 4.6s ease-in-out infinite;
  }

  .brain-core {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(100%, 372px);
    transform: translate(-50%, -50%);
  }

  .brain-caps {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px 36px;
    margin-top: 64px;
  }

  .contact {
    padding: 20px 40px 100px;
  }

  .contact-box {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 48px;
  }

  .form .btn {
    width: fit-content;
  }

  .footer {
    flex-direction: row;
    gap: 16px 28px;
    padding: 28px 40px 36px;
    text-align: left;
  }

  .sol-page {
    padding: 140px 40px 40px;
  }

  .faq {
    padding: 20px 40px 80px;
  }

  .blog-wrap {
    padding: 140px 40px 80px;
  }
}

@media (min-width: 1101px) {
  .about-top {
    gap: 80px;
  }

  .shot.pos-m3,
  .shot.pos-p3 {
    opacity: 1;
    pointer-events: auto;
  }

  .shot.pos-m3 { transform: translateX(-560px) translateY(38px) rotateY(40deg) rotateZ(-5deg) scale(0.62); z-index: 1; }
  .shot.pos-m2 { transform: translateX(-380px) translateY(22px) rotateY(28deg) rotateZ(-3deg) scale(0.76); z-index: 2; }
  .shot.pos-m1 { transform: translateX(-190px) translateY(8px) rotateY(15deg) rotateZ(-1.2deg) scale(0.88); z-index: 3; }
  .shot.pos-p1 { transform: translateX(190px) translateY(8px) rotateY(-15deg) rotateZ(1.2deg) scale(0.88); z-index: 3; }
  .shot.pos-p2 { transform: translateX(380px) translateY(22px) rotateY(-28deg) rotateZ(3deg) scale(0.76); z-index: 2; }
  .shot.pos-p3 { transform: translateX(560px) translateY(38px) rotateY(-40deg) rotateZ(5deg) scale(0.62); z-index: 1; }
}
