/* ============ NOJU — Design System ============ */
:root {
  --bg: #06060a;
  --bg-2: #0a0913;
  --surface: #0e0c18;
  --surface-2: #14111f;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --text-dim: #d4d4dc;
  --text-muted: #9a9aa6;
  --accent: oklch(0.68 0.19 295);
  --accent-2: oklch(0.58 0.21 285);
  --accent-soft: oklch(0.42 0.12 290);
  --accent-glow: oklch(0.65 0.22 295 / 0.45);
  /* Deep aubergine CTA */
  --cta-top: oklch(0.42 0.16 295);
  --cta-bot: oklch(0.30 0.14 290);
  --cta-hover-top: oklch(0.48 0.18 295);
  --cta-hover-bot: oklch(0.34 0.16 290);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient page texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 700px at 12% -10%, oklch(0.4 0.15 285 / 0.10), transparent 60%),
    radial-gradient(800px 600px at 90% 15%, oklch(0.35 0.18 305 / 0.06), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s;
}
body.no-grid::after { opacity: 0; }

/* Interactive background canvas */
.bg-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

main, nav, footer { position: relative; z-index: 1; }

/* ============ Custom cursor ============ */
.cursor-ring,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 2147483600;
  border-radius: 50%;
  will-change: transform, opacity, background, border-color;
  opacity: 0;
}
.cursor-ring {
  width: 28px;
  height: 28px;
  border: 1px solid oklch(0.7 0.18 295 / 0.55);
  box-shadow:
    0 0 18px oklch(0.6 0.2 295 / 0.35),
    0 0 0 1px oklch(0.55 0.18 295 / 0.08) inset;
  transition: border-color 0.18s ease, background 0.18s ease;
  mix-blend-mode: screen;
}
.cursor-dot {
  width: 5px;
  height: 5px;
  background: oklch(0.85 0.16 295);
  box-shadow: 0 0 8px oklch(0.7 0.2 295 / 0.7);
}

/* Hide native cursor on desktop when ours is active */
html.has-custom-cursor,
html.has-custom-cursor body { cursor: none; }
html.has-custom-cursor a,
html.has-custom-cursor button,
html.has-custom-cursor input,
html.has-custom-cursor .btn,
html.has-custom-cursor [data-cursor-hover] { cursor: none; }

/* Keep text input cursor visible inside form fields if we ever add them */
html.has-custom-cursor input[type="text"],
html.has-custom-cursor input[type="email"],
html.has-custom-cursor textarea { cursor: text; }

/* ============ Typography ============ */
.mono {
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-feature-settings: "ss01";
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-dim);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-glow);
}

h1, h2, h3, h4 {
  font-family: "Geist", sans-serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--text);
}

h1 { font-size: clamp(40px, 6vw, 88px); letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 4.2vw, 60px); letter-spacing: -0.03em; }
h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.02em; }

p { color: var(--text-dim); font-size: 16px; max-width: 60ch; }
p.lead { font-size: clamp(17px, 1.4vw, 20px); color: #e8e8ee; max-width: 64ch; }

a { color: inherit; text-decoration: none; }

/* ============ Layout ============ */
.wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}

section.section {
  padding: 140px 0;
  position: relative;
  scroll-margin-top: 80px;
}

/* Service cards are nav anchor targets — offset for sticky nav */
.service[id] { scroll-margin-top: 100px; }

@media (max-width: 720px) {
  section.section { padding: 90px 0; }
  .wrap { padding: 0 20px; }
}

.section-head { display: grid; gap: 18px; margin-bottom: 64px; max-width: 880px; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(180deg, var(--cta-top), var(--cta-bot));
  color: #ffffff;
  border-color: oklch(0.55 0.16 295 / 0.5);
  box-shadow:
    0 1px 0 oklch(0.85 0.1 295 / 0.18) inset,
    0 0 0 0 var(--accent-glow),
    0 10px 28px oklch(0.20 0.16 290 / 0.6);
}
.btn-primary:hover {
  background: linear-gradient(180deg, var(--cta-hover-top), var(--cta-hover-bot));
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 oklch(0.9 0.1 295 / 0.25) inset,
    0 0 0 6px oklch(0.45 0.16 295 / 0.18),
    0 14px 36px oklch(0.25 0.18 290 / 0.7);
}

.btn-ghost {
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border-color: var(--line-strong);
  backdrop-filter: blur(20px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.25);
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ============ Cards ============ */
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 0%), oklch(0.6 0.2 295 / 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.card:hover { border-color: rgba(255,255,255,0.18); }
.card:hover::before { opacity: 1; }

/* ============ Nav ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 6, 10, 0.7);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Geist Mono", monospace;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
}
.nav-logo img { height: 42px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 4px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-links a {
  font-size: 13.5px;
  color: var(--text-dim);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-cta { display: flex; gap: 10px; align-items: center; }

@media (max-width: 920px) {
  .nav-links { display: none; }
}

/* ============ Hero ============ */
.hero {
  min-height: 100vh;
  padding: 140px 0 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 120px; min-height: auto; }
}

.hero-text { display: grid; gap: 28px; max-width: 620px; }
.hero h1 .grad {
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: #ffffff;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

.trust-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.trust-pill .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: oklch(0.7 0.2 150);
  box-shadow: 0 0 8px oklch(0.7 0.2 150 / 0.7);
}

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 640px;
  width: 100%;
  justify-self: end;
}
@media (max-width: 980px) {
  .hero-visual { justify-self: center; max-width: 500px; }
}
.hero-visual canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  background: transparent;
}
.hero-orbit-label {
  position: absolute;
  top: 12px;
  left: 16px;
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 2;
}
.hero-orbit-label .live {
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: oklch(0.7 0.2 150);
  margin-right: 6px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 oklch(0.7 0.2 150 / 0.5); }
  50% { opacity: 0.4; box-shadow: 0 0 0 6px oklch(0.7 0.2 150 / 0); }
}

/* ============ Section Title ============ */
.section-title {
  display: grid;
  gap: 20px;
  max-width: 880px;
  margin-bottom: 56px;
}
.section-title h2 .grad {
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: #ffffff;
  opacity: 0.78;
}

/* ============ Problem grid ============ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .problem-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .problem-grid { grid-template-columns: 1fr; } }

.problem-card {
  padding: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 200px;
  overflow: hidden;
}
.problem-visual {
  padding: 20px 20px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 100%, oklch(0.35 0.18 25 / 0.08), transparent 70%);
}
.problem-visual svg {
  width: 100%;
  height: auto;
  max-height: 90px;
  opacity: 0.95;
}
.problem-card-foot {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.problem-card-foot .label {
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.35;
}
.problem-card .x-mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(255, 90, 100, 0.08);
  display: grid;
  place-items: center;
  color: oklch(0.7 0.18 25);
  font-size: 14px;
}

/* ============ Solution 3 blocks ============ */
.solution-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .solution-row { grid-template-columns: 1fr; } }

.solution-block {
  position: relative;
  padding: 32px;
  min-height: 320px;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 20px;
}
.solution-block h3 { letter-spacing: -0.02em; }
.solution-block .visual {
  align-self: end;
  height: 80px;
  position: relative;
  overflow: hidden;
}

/* ============ Service blocks ============ */
.services-stack { display: grid; gap: 24px; }
.service {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  padding: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .service { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; }
}
.service .label {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  color: #ffffff;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.service .label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-soft), transparent);
}
.service h3 { font-size: clamp(24px, 2.4vw, 34px); margin-bottom: 14px; }
.service .points {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  list-style: none;
}
@media (max-width: 600px) { .service .points { grid-template-columns: 1fr; } }
.service .points li {
  font-size: 14px;
  color: var(--text-dim);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.service .points li::before {
  content: "";
  width: 5px; height: 5px;
  margin-top: 9px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--accent-glow);
}

/* Inbox visual */
.inbox-visual {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  display: grid;
  gap: 8px;
  font-family: "Geist Mono", monospace;
  font-size: 12px;
}
.inbox-row {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text-dim);
  position: relative;
  transition: all 0.4s;
}
.inbox-row.routing {
  border-color: oklch(0.6 0.18 295 / 0.5);
  background: oklch(0.3 0.15 295 / 0.12);
}
.inbox-row .from { color: var(--text); font-size: 12px; }
.inbox-row .sub { color: var(--text-muted); font-size: 11px; }
.inbox-row .meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow: hidden; }
.inbox-row .tag {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text-dim);
}
.inbox-row .tag.support { color: #ffffff; opacity: 0.9; border-color: oklch(0.4 0.18 220 / 0.4); background: oklch(0.3 0.16 220 / 0.18); }
.inbox-row .tag.sales { color: #ffffff; opacity: 0.9; border-color: oklch(0.4 0.18 150 / 0.4); background: oklch(0.3 0.16 150 / 0.18); }
.inbox-row .tag.urgent { color: #ffffff; opacity: 0.9; border-color: oklch(0.5 0.2 30 / 0.5); background: oklch(0.35 0.18 30 / 0.18); }
.inbox-row .tag.facturation { color: #ffffff; opacity: 0.9; border-color: oklch(0.5 0.18 90 / 0.5); background: oklch(0.35 0.16 90 / 0.18); }
.inbox-row .tag.human { color: #ffffff; opacity: 0.9; border-color: oklch(0.5 0.18 295 / 0.5); background: oklch(0.35 0.16 295 / 0.2); }
.inbox-row .tag.planning { color: #ffffff; opacity: 0.9; border-color: oklch(0.5 0.15 200 / 0.4); background: oklch(0.3 0.14 200 / 0.18); }
.inbox-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: oklch(0.6 0.2 295);
  box-shadow: 0 0 8px var(--accent-glow);
}

/* Web visual for service 1 */
.web-visual {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent);
  padding: 16px;
  display: grid;
  gap: 10px;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  color: var(--text-muted);
}
.web-visual .header {
  display: flex;
  gap: 6px;
  align-items: center;
}
.web-visual .header .lights { display: flex; gap: 5px; }
.web-visual .header .lights span { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.web-visual .header .url { flex: 1; padding: 5px 10px; background: var(--surface-2); border-radius: 6px; font-size: 10px; }
.web-visual .body { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 0; }
.web-visual .skeleton {
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
}
.web-visual .skeleton.tall { height: 60px; grid-column: 1/-1; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.web-visual .metric {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.web-visual .metric .v { color: #ffffff; }

/* Automation visual */
.flow-visual {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  display: grid;
  gap: 10px;
}
.flow-step {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
}
.flow-step .icn {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: oklch(0.3 0.12 295 / 0.3);
  border: 1px solid oklch(0.5 0.18 295 / 0.4);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 12px;
}
.flow-step .name { color: var(--text); }
.flow-step .stat { color: #ffffff; opacity: 0.7; font-size: 10px; }
.flow-connector {
  width: 1px;
  height: 14px;
  background: linear-gradient(180deg, var(--accent), transparent);
  margin-left: 14px;
}

/* Hosting visual */
.host-visual {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  display: grid;
  gap: 14px;
}
.host-row {
  display: flex; justify-content: space-between; align-items: center;
  font-family: "Geist Mono", monospace; font-size: 12px;
}
.host-row .k { color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; font-size: 10px; }
.host-row .v { color: #ffffff; }
.host-bar { height: 4px; background: var(--surface-2); border-radius: 2px; overflow: hidden; }
.host-bar .fill { height: 100%; background: linear-gradient(90deg, var(--accent), oklch(0.78 0.18 150)); }

/* ============ Agent team ============ */
.agent-stage {
  position: relative;
  padding: 20px 0 0;
}
.agent-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
  z-index: 2;
}
@media (max-width: 1100px) { .agent-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .agent-grid { grid-template-columns: 1fr; } }

.agent-card {
  padding: 24px 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  min-height: 220px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  transition: border-color 0.3s, transform 0.3s;
}
.agent-card:hover {
  border-color: oklch(0.5 0.2 295 / 0.5);
  transform: translateY(-2px);
}
.agent-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(180deg, oklch(0.6 0.2 295 / 0.4), transparent);
  -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 0.3s;
  pointer-events: none;
}
.agent-card:hover::after { opacity: 1; }

.agent-card .head {
  display: flex; justify-content: space-between; align-items: flex-start;
}
.agent-card .id {
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.12em;
}
.agent-card .status {
  width: 8px; height: 8px; border-radius: 50%;
  background: oklch(0.75 0.2 150);
  box-shadow: 0 0 12px oklch(0.65 0.2 150 / 0.6);
  animation: pulse 2s infinite;
}
.agent-card h4 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
}
.agent-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}
.agent-card .glyph {
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.02);
  margin-bottom: 4px;
}

.agent-connections {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* ============ Process ============ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .process-grid { grid-template-columns: 1fr; } }

.process-step {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 20px;
  align-content: start;
  position: relative;
  min-height: 280px;
}
.process-step:last-child { border-right: none; }
@media (max-width: 900px) {
  .process-step:nth-child(2n) { border-right: none; }
}
.process-step .num {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  display: flex;
  justify-content: flex-start;
}
.process-step .num .big {
  font-size: 56px;
  color: #ffffff;
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
}
.process-step h3 { font-size: 22px; }
.process-step p { font-size: 14px; }

/* ============ Why NOJU ============ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .why-grid { grid-template-columns: 1fr; } }
.why-cell {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 180px;
  transition: background 0.3s;
}
.why-cell:hover { background: rgba(255,255,255,0.015); }
.why-cell .glyph {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: oklch(0.3 0.12 295 / 0.25);
  border: 1px solid oklch(0.5 0.18 295 / 0.3);
  color: var(--accent);
  box-shadow: 0 0 16px oklch(0.5 0.18 295 / 0.15);
}
.why-cell .glyph svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.why-cell h4 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text);
}
.why-cell p { font-size: 13.5px; }

/* ============ Cases / Werk ============ */
.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.case-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  padding: 36px;
  align-items: center;
}
@media (max-width: 900px) {
  .case-card { grid-template-columns: 1fr; gap: 28px; padding: 24px; }
}

.case-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 24px 60px -20px oklch(0.2 0.16 290 / 0.6),
    0 0 0 1px rgba(255,255,255,0.02);
  aspect-ratio: 16 / 10;
}
.case-frame .chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.025);
  border-bottom: 1px solid var(--line);
}
.case-frame .chrome .lights { display: flex; gap: 6px; }
.case-frame .chrome .lights span {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.case-frame .chrome .url {
  flex: 1;
  padding: 5px 12px;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  white-space: nowrap;
}
.case-frame .chrome .url::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: oklch(0.7 0.2 150);
  box-shadow: 0 0 8px oklch(0.7 0.2 150 / 0.6);
  flex-shrink: 0;
}
.case-frame .shot {
  width: 100%;
  height: calc(100% - 41px);
  object-fit: cover;
  object-position: center top;
  display: block;
  background: var(--surface-2);
  transition: object-position 8s linear, filter 0.4s;
}
.case-card:hover .case-frame .shot {
  object-position: center bottom;
  filter: brightness(1.03);
}
.case-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, oklch(0.25 0.16 290 / 0.3));
  opacity: 0;
  transition: opacity 0.4s;
}
.case-card:hover .case-frame::after { opacity: 1; }

.case-meta { display: grid; gap: 18px; }
.case-meta .client {
  display: flex; align-items: center; gap: 14px;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.case-meta .client::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}
.case-meta h3 { font-size: clamp(22px, 2.2vw, 30px); }
.case-meta .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.case-meta .tag-pill {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.case-meta .stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.case-meta .stat {
  padding: 14px 16px;
  background: var(--bg-2);
  display: grid;
  gap: 4px;
}
.case-meta .stat .k {
  font-family: "Geist Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.case-meta .stat .v {
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #ffffff;
  font-weight: 500;
}
.case-meta .visit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #ffffff;
  padding: 10px 0;
  border-bottom: 1px solid transparent;
  width: fit-content;
  transition: border-color 0.2s;
}
.case-meta .visit:hover { border-bottom-color: var(--accent); }
.final-cta {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 80px 60px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(20,17,31,0.6), rgba(10,9,19,0.4));
  text-align: center;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 100%, oklch(0.4 0.2 295 / 0.4), transparent 60%),
    radial-gradient(circle at 70% 0%, oklch(0.4 0.2 320 / 0.3), transparent 60%);
  z-index: 0;
}
.final-cta canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 0;
  opacity: 0.6;
}
.final-cta > * { position: relative; z-index: 2; }
.final-cta h2 { font-size: clamp(36px, 4.5vw, 64px); margin: 0 auto 20px; max-width: 18ch; }
.final-cta p { margin: 0 auto 32px; max-width: 56ch; }
@media (max-width: 720px) { .final-cta { padding: 56px 28px; } }

/* ============ Footer ============ */
footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 40px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h5 {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-grid a {
  display: block;
  color: var(--text-dim);
  font-size: 14px;
  padding: 4px 0;
}
.footer-grid a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============ Scroll Spine ============ */
.spine {
  position: fixed;
  top: 96px;
  left: 28px;
  bottom: 32px;
  width: 14px;
  z-index: 50;
  pointer-events: none;
  display: flex;
  justify-content: center;
}
.spine .track {
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(255,255,255,0.06) 8%,
    rgba(255,255,255,0.06) 92%,
    transparent 100%);
  position: relative;
}
.spine .fill {
  position: absolute;
  top: 0;
  left: -0.5px;
  width: 2px;
  height: var(--p, 0%);
  background: linear-gradient(180deg,
    transparent,
    var(--accent) 30%,
    var(--accent) 70%,
    transparent);
  box-shadow: 0 0 8px var(--accent-glow);
  transition: height 0.15s linear;
}
.spine .node {
  position: absolute;
  top: var(--p, 0%);
  left: -3.5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow), 0 0 0 4px rgba(155, 107, 255, 0.08);
  transform: translateY(-50%);
  transition: top 0.15s linear;
}
.spine .ticks {
  position: absolute;
  inset: 0;
  width: 1px;
  left: 0;
}
.spine .tick {
  position: absolute;
  width: 9px;
  height: 1px;
  left: -4px;
  background: rgba(255,255,255,0.12);
  transition: background 0.4s, width 0.4s, left 0.4s;
}
.spine .tick.active {
  background: var(--accent);
  width: 14px;
  left: -7px;
  box-shadow: 0 0 8px var(--accent-glow);
}
.spine .label {
  position: absolute;
  left: 18px;
  transform: translateY(-50%);
  font-family: "Geist Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.4s, opacity 0.4s;
  opacity: 0;
}
.spine .tick.active .label {
  color: #ffffff;
  opacity: 1;
}
@media (max-width: 1100px) { .spine { display: none; } }

/* ============ Reveal staging ============ */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.0s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.06s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.12s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.18s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.24s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.30s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 0.36s; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 0.42s; }
.reveal-stagger.in > *:nth-child(9) { transition-delay: 0.48s; }

/* Section enter glow */
.section-glow {
  position: relative;
}
.section-glow::before {
  content: "";
  position: absolute;
  top: -40%;
  left: 50%;
  width: 70%;
  height: 60%;
  transform: translateX(-50%);
  background: radial-gradient(circle, oklch(0.4 0.18 295 / 0.18), transparent 65%);
  filter: blur(20px);
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
  z-index: -1;
}
.section-glow.in::before { opacity: 1; }

/* ============ Reveal on scroll ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* Marquee/scroll labels */
.kicker-line {
  display: flex; align-items: center; gap: 14px;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

/* ============ Contact section — two-column layout ============ */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 960px) {
  .contact-section { grid-template-columns: 1fr; gap: 40px; }
}

.contact-intro {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 100px;
}
@media (max-width: 960px) { .contact-intro { position: static; } }

.contact-trust {
  display: grid;
  gap: 10px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-card {
  background: linear-gradient(180deg, rgba(20,17,31,0.7), rgba(10,9,19,0.5));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
}
@media (max-width: 640px) { .contact-card { padding: 24px 20px; } }

/* ============ Contact Form ============ */
.contact-form {
  display: grid;
  gap: 28px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) { .form-grid-2 { grid-template-columns: 1fr; } }

.form-group { display: grid; gap: 10px; }

.form-section-label {
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.form-label {
  font-size: 14px;
  color: var(--text-dim);
  display: block;
}

.form-optional {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  font-weight: 400;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 11px 14px;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px oklch(0.55 0.18 295 / 0.15);
}
.form-input-error { border-color: oklch(0.65 0.2 25) !important; }

.form-select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='rgba(255,255,255,0.4)' d='M0 0h12L6 8z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
.form-select option { background: #0e0c18; color: #ffffff; }

.form-textarea { resize: vertical; min-height: 96px; }

.form-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.form-option {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-dim);
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, color 0.18s;
  user-select: none;
  line-height: 1.4;
}
.form-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}
.form-option:hover {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.form-option.selected {
  border-color: oklch(0.6 0.18 295 / 0.9);
  background: oklch(0.28 0.12 295 / 0.25);
  color: #ffffff;
}

.form-error {
  font-size: 12px;
  color: oklch(0.72 0.2 25);
  margin-top: 2px;
}

.form-submit {
  justify-content: center;
  padding: 14px 28px;
  font-size: 14.5px;
  width: 100%;
  margin-top: 4px;
}
@media (min-width: 480px) { .form-submit { width: auto; } }

.form-success {
  text-align: center;
  padding: 48px 16px;
  display: grid;
  gap: 14px;
  justify-items: center;
}
.form-success-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: oklch(0.28 0.12 295 / 0.3);
  border: 1px solid var(--accent);
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--accent);
}
.form-success h3 { font-size: 22px; }
.form-success p { color: var(--text-dim); max-width: 40ch; }

.kicker-line .line { flex: 1; height: 1px; background: var(--line); }
