:root {
  --bg: #08080a;
  --surface: #101013;
  --surface-2: #151519;
  --text: #f2f0ea;
  --muted: #898990;
  --line: rgba(255, 255, 255, .12);
  --accent: #b6ff3b;
  --purple: #9e7bff;
  --font-main: "Manrope", sans-serif;
  --font-mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  cursor: none;
}
a, button { color: inherit; }
a { text-decoration: none; }
button { font: inherit; }
::selection { background: var(--accent); color: #050505; }

.noise {
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: .038;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-dot { width: 5px; height: 5px; background: var(--accent); }
.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(182, 255, 59, .55);
  transition: width .25s, height .25s, background .25s;
}
.cursor-ring.active { width: 58px; height: 58px; background: rgba(182, 255, 59, .08); }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 4vw;
  font-family: var(--font-mono);
  font-size: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 500; letter-spacing: -.5px; }
.brand-mark { color: var(--accent); font-size: 15px; }
.accent { color: var(--accent); }
.desktop-nav { display: flex; gap: 38px; }
.desktop-nav a { color: #a9a9ae; transition: color .2s; }
.desktop-nav a:hover { color: var(--text); }
.status-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255,255,255,.025);
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(182,255,59,.08);
  animation: pulse 2s infinite;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 120px 8vw 60px;
  overflow: hidden;
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 49.9%, rgba(255,255,255,.03) 50%, transparent 50.1%),
              linear-gradient(0deg, var(--bg) 0%, transparent 18%);
  pointer-events: none;
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .15; }
.glow-one { width: 420px; height: 420px; background: var(--purple); top: 8%; left: 12%; }
.glow-two { width: 350px; height: 350px; background: var(--accent); right: 8%; bottom: 4%; opacity: .08; }
.hero-content { position: relative; z-index: 2; width: min(1180px, 100%); }
.eyebrow {
  margin: 0 0 34px;
  color: var(--accent);
  font: 400 11px/1 var(--font-mono);
  letter-spacing: .18em;
}
.hero-title {
  margin: 0;
  font-size: clamp(58px, 9.2vw, 146px);
  font-weight: 700;
  line-height: .87;
  letter-spacing: -.075em;
}
.title-line { display: block; overflow: hidden; padding: 0 .07em .08em 0; }
.title-line > span {
  display: block;
  transform: translateY(110%);
  animation: title-in 1s cubic-bezier(.2,.8,.2,1) forwards;
}
.title-line:nth-child(2) > span { animation-delay: .12s; }
.title-line:nth-child(3) > span { animation-delay: .24s; }
.italic-line { padding-left: 11vw; }
.hero-title em {
  color: transparent;
  -webkit-text-stroke: 1px rgba(242,240,234,.72);
  font-family: Georgia, serif;
  font-weight: 400;
}
.hero-bottom {
  width: 74%;
  margin: 48px 0 0 auto;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}
.hero-bottom p { max-width: 470px; margin: 0; color: #a2a2a8; font-size: 14px; line-height: 1.7; }
.scroll-cta { display: flex; align-items: center; gap: 18px; font: 500 11px var(--font-mono); letter-spacing: .1em; }
.scroll-cta .arrow {
  width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; font-size: 20px;
  transition: background .3s, color .3s, transform .3s;
}
.scroll-cta:hover .arrow { background: var(--accent); color: #050505; transform: rotate(45deg); }
.hero-side-label {
  position: absolute;
  right: 25px;
  top: 50%;
  z-index: 3;
  color: #5e5e64;
  font: 9px var(--font-mono);
  letter-spacing: .15em;
  writing-mode: vertical-rl;
}

.section-pad { padding: 120px max(5vw, 30px); }
.intro { border-top: 1px solid var(--line); }
.section-number { color: var(--accent); font: 400 10px var(--font-mono); letter-spacing: .16em; margin-bottom: 56px; }
.intro-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 8vw; }
.section-title { margin: 0; font-size: clamp(38px, 5.2vw, 76px); line-height: 1.06; letter-spacing: -.055em; }
.section-title .muted { color: #55555c; }
.intro-copy { padding-top: 8px; }
.intro-copy p { margin: 0 0 24px; color: #a1a1a7; font-size: 15px; line-height: 1.8; }
.intro-copy p:first-child { color: var(--text); font-size: 19px; }

.code-window {
  max-width: 900px;
  margin: 100px auto 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0c0c0f;
  box-shadow: 0 40px 100px rgba(0,0,0,.35);
  overflow: hidden;
  transform: perspective(1200px) rotateX(2deg);
}
.window-bar {
  height: 46px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: #6f6f75;
  font: 10px var(--font-mono);
}
.window-dots { display: flex; gap: 7px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #333338; }
.window-bar > span:nth-child(2) { text-align: center; }
.window-status { color: var(--accent); text-align: right; }
.code-window pre { margin: 0; padding: 34px 40px 40px; overflow-x: auto; }
.code-window code { font: 13px/2.1 var(--font-mono); color: #cbcad0; }
.line { display: block; }
.line b { display: inline-block; width: 42px; color: #38383e; font-weight: 400; user-select: none; }
.purple { color: #bb9dff; }.green { color: #b6ff3b; }.orange { color: #ff9e64; }.blue { color: #73c8ff; }.yellow { color: #f4d573; }
.caret { display: inline-block; height: 1.1em; width: 1px; background: var(--accent); vertical-align: middle; animation: blink 1s steps(1) infinite; }

.services { background: #0c0c0f; }
.section-head { display: flex; justify-content: space-between; align-items: flex-start; }
.section-note { width: 280px; margin: 0; color: #8e8e94; font-size: 13px; line-height: 1.6; }
.service-list { border-top: 1px solid var(--line); }
.service-card {
  position: relative;
  min-height: 260px;
  display: grid;
  grid-template-columns: 110px 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  transition: padding .4s cubic-bezier(.2,.8,.2,1);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform .45s cubic-bezier(.6,0,.2,1);
}
.service-card > * { position: relative; z-index: 1; }
.service-card:hover { padding: 0 25px; color: #08080a; }
.service-card:hover::before { transform: translateY(0); }
.service-icon {
  width: 64px; height: 64px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; color: var(--accent); font-size: 27px;
}
.service-card:hover .service-icon { border-color: rgba(0,0,0,.25); color: #08080a; }
.service-card h3 { margin: 0 0 16px; font-size: clamp(30px, 3vw, 46px); line-height: 1; letter-spacing: -.045em; }
.service-card p { max-width: 430px; margin: 0; color: #85858b; font-size: 13px; line-height: 1.7; }
.service-card:hover p { color: rgba(0,0,0,.65); }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tags span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 20px; font: 9px var(--font-mono); letter-spacing: .08em; }
.service-card:hover .tags span { border-color: rgba(0,0,0,.2); }
.card-arrow { position: absolute; right: 4px; top: 30px; font-size: 22px; opacity: .35; }

.marquee-section { padding: 24px 0; overflow: hidden; background: var(--accent); color: #08080a; transform: rotate(-1deg) scale(1.02); }
.marquee { overflow: hidden; }
.marquee-track { width: max-content; display: flex; align-items: center; gap: 28px; animation: marquee 24s linear infinite; }
.marquee-track span { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.marquee-track i { font-size: 13px; font-style: normal; }

.process { padding-top: 160px; }
.process .section-head { align-items: flex-end; margin-bottom: 70px; }
.process-heading { margin: 0; font-size: clamp(45px, 6vw, 90px); line-height: .95; letter-spacing: -.06em; }
.process-heading span { padding-left: 12vw; }
.process-heading em { color: var(--accent); font-family: Georgia, serif; font-weight: 400; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.process-step { min-height: 440px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.step-no { display: block; color: #55555b; font: 10px var(--font-mono); }
.step-visual { height: 190px; margin: 25px 0; position: relative; }
.process-step h3 { margin: 0 0 16px; font-size: 25px; letter-spacing: -.03em; }
.process-step p { margin: 0; color: #88888f; font-size: 13px; line-height: 1.7; }
.radar { display: grid; place-items: center; }
.radar i { position: absolute; border: 1px solid #303035; border-radius: 50%; }
.radar i:nth-child(1) { width: 150px; height: 150px; }.radar i:nth-child(2) { width: 100px; height: 100px; }.radar i:nth-child(3) { width: 48px; height: 48px; }
.radar b { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px var(--accent); animation: radar 4s linear infinite; }
.blocks { display: grid; place-content: center; grid-template-columns: 45px 45px; gap: 6px; transform: rotate(45deg); }
.blocks i { display: block; width: 45px; height: 45px; border: 1px solid #343439; }
.blocks i:nth-child(2) { background: var(--purple); border-color: var(--purple); animation: float 3s ease-in-out infinite; }
.terminal-mini { display: flex; flex-direction: column; justify-content: center; padding-left: 18%; font: 14px/2.2 var(--font-mono); }
.terminal-mini span:first-child { color: #77777d; }
.terminal-mini span:last-child { color: var(--accent); }

.manifesto {
  min-height: 95vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px 30px;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.orb {
  position: absolute;
  width: min(52vw, 650px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(182,255,59,.2), transparent 24%), radial-gradient(circle, #292230 0%, #121216 58%, transparent 70%);
  box-shadow: inset -30px -30px 80px #08080a, 0 0 130px rgba(158,123,255,.08);
  animation: breathe 7s ease-in-out infinite;
}
.orb::after { content: ""; position: absolute; inset: -5%; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.manifesto > *:not(.orb) { position: relative; z-index: 1; }
.manifesto h2 { margin: 0; font-size: clamp(45px, 7.6vw, 110px); line-height: .95; letter-spacing: -.065em; }
.manifesto h2 em { font-family: Georgia, serif; font-weight: 400; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.75); }
.manifesto-copy { max-width: 480px; margin: 36px 0; color: #94949a; font-size: 14px; line-height: 1.7; }
.back-top {
  display: flex; align-items: center; gap: 18px; padding: 14px 18px 14px 22px;
  border: 1px solid var(--line); border-radius: 30px; background: rgba(8,8,10,.35);
  color: var(--text); font: 10px var(--font-mono); letter-spacing: .1em; cursor: none;
  backdrop-filter: blur(10px); transition: border-color .2s;
}
.back-top:hover { border-color: var(--accent); }
.back-top span:last-child { color: var(--accent); font-size: 17px; }

footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 30px 4vw;
  border-top: 1px solid var(--line);
  color: #606067;
  font: 9px var(--font-mono);
  letter-spacing: .1em;
}
footer p { margin: 0; }
footer p:nth-child(2) { text-align: center; }
footer p:last-child { text-align: right; }
footer .brand { color: var(--text); letter-spacing: 0; font-size: 11px; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes title-in { to { transform: translateY(0); } }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(182,255,59,0); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes radar { from { transform: rotate(0deg) translateX(55px); } to { transform: rotate(360deg) translateX(55px); } }
@keyframes float { 50% { transform: translate(-5px, -5px); box-shadow: 8px 8px 0 rgba(158,123,255,.15); } }
@keyframes breathe { 50% { transform: scale(1.04); filter: hue-rotate(12deg); } }

@media (max-width: 900px) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
  .desktop-nav { display: none; }
  .hero { padding-inline: 6vw; }
  .hero-title { font-size: clamp(58px, 12vw, 110px); }
  .italic-line { padding-left: 5vw; }
  .hero-bottom { width: 92%; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-copy { max-width: 600px; margin-left: auto; }
  .service-card { grid-template-columns: 80px 1fr; padding: 35px 0; }
  .service-card .tags { grid-column: 2; }
  .process .section-head { display: block; }
  .process-heading { margin-top: 20px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { min-height: auto; display: grid; grid-template-columns: 50px 190px 1fr; align-items: center; gap: 20px; }
  .process-step .step-visual { margin: 0; }
  .process-step p { grid-column: 3; }
}

@media (max-width: 600px) {
  .site-header { padding: 22px 20px; }
  .status-pill { font-size: 0; padding: 9px; }
  .status-pill .status-dot { margin: 0; }
  .hero { min-height: 760px; padding: 110px 20px 50px; align-items: center; }
  .hero-title { font-size: clamp(50px, 16.5vw, 76px); line-height: .9; }
  .italic-line { padding-left: 0; }
  .hero-bottom { width: 100%; margin-top: 38px; align-items: flex-end; }
  .hero-bottom p { max-width: 72%; font-size: 12px; }
  .scroll-cta > span:first-child { display: none; }
  .hero-side-label { display: none; }
  .section-pad { padding: 85px 20px; }
  .section-number { margin-bottom: 35px; }
  .section-title { font-size: 39px; }
  .intro-copy p:first-child { font-size: 17px; }
  .code-window { margin-top: 65px; }
  .code-window pre { padding: 25px 18px 30px; }
  .code-window code { font-size: 10px; }
  .line b { width: 28px; }
  .section-head { display: block; }
  .section-note { margin: -10px 0 35px; }
  .service-card { grid-template-columns: 55px 1fr; gap: 18px; min-height: 0; padding: 34px 0; }
  .service-card:hover { padding: 34px 12px; }
  .service-icon { width: 44px; height: 44px; font-size: 20px; }
  .service-card h3 { font-size: 30px; }
  .service-card p { font-size: 12px; }
  .service-card .tags { grid-column: 2; }
  .card-arrow { display: none; }
  .process { padding-top: 120px; }
  .process-heading span { padding-left: 0; }
  .process-grid { border-left: 0; }
  .process-step { display: block; min-height: 420px; padding: 26px 12px; border-right: 0; }
  .process-step .step-visual { margin: 10px 0; }
  .manifesto { min-height: 780px; padding-inline: 20px; }
  .orb { width: 100vw; }
  footer { grid-template-columns: 1fr 1fr; gap: 15px; }
  footer p:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .title-line > span, .reveal { transform: none; opacity: 1; }
}
