@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 700;
  font-stretch: 75% 100%;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --ink: #f5f7fb;
  --muted: #9da6b7;
  --bg: #080b12;
  --bg-soft: #0e131d;
  --panel: rgba(16, 22, 33, .78);
  --line: rgba(183, 203, 232, .14);
  --cyan: #00ffff;
  --cyan-dark: #00caca;
  --violet: #9d7cff;
  --coral: #ff7f72;
  --max: 1240px;
  --radius: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 100px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Segoe UI Variable", "Aptos", "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 12% 18%, rgba(101,247,220,.10), transparent 28%),
    radial-gradient(circle at 88% 32%, rgba(170,140,255,.10), transparent 32%),
    linear-gradient(180deg, #080b12, #090d15 60%, #080b12);
}

.scroll-progress {
  position: fixed;
  z-index: 200;
  inset: 0 0 auto;
  height: 2px;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--coral));
  box-shadow: 0 0 14px rgba(101,247,220,.65);
  transform: scaleX(0);
  transform-origin: left;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: #07110f; background: var(--cyan); }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #080b12;
  background: var(--cyan);
  transform: translateY(-180%);
  transition: transform .2s;
}
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.site-header {
  position: fixed;
  z-index: 100;
  top: 18px;
  left: 50%;
  width: min(calc(100% - 36px), var(--max));
  height: 72px;
  padding: 0 16px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid transparent;
  border-radius: 18px;
  transform: translateX(-50%);
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.site-header.scrolled {
  background: rgba(8, 11, 18, .82);
  border-color: var(--line);
  box-shadow: 0 12px 50px rgba(0,0,0,.3);
}

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; line-height: 1; }
.brand-mark { width: 37px; height: 37px; overflow: visible; }
.brand-mark path:first-child { fill: rgba(101,247,220,.08); stroke: var(--cyan); stroke-width: 1.5; }
.brand-mark path:last-child { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.brand span { display: flex; flex-direction: column; gap: 3px; text-transform: uppercase; letter-spacing: .08em; }
.brand strong { font-size: .86rem; }
.brand em { color: var(--muted); font-size: .62rem; font-style: normal; letter-spacing: .19em; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: #c7cfdb; font-size: .84rem; font-weight: 650; text-decoration: none; letter-spacing: .02em; transition: color .2s; }
.main-nav a:hover { color: var(--cyan); }
.main-nav .nav-cta { padding: 10px 17px; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; }
.nav-toggle { display: none; padding: 8px; background: none; border: 0; }
.nav-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px; background: var(--ink); transition: transform .2s, opacity .2s; }

.hero {
  min-height: 100svh;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 150px 0 85px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(370px, .9fr);
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
}

.eyebrow { margin: 0 0 22px; color: #b9c2cf; font: 700 .72rem/1.2 Consolas, monospace; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 24px; height: 1px; margin-right: 9px; vertical-align: middle; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-weight: 760; letter-spacing: -.055em; line-height: .98; }
h1 { max-width: 850px; margin-bottom: 30px; font-size: clamp(3.5rem, 7vw, 7.4rem); }
h1 span, h2 span { color: transparent; background: linear-gradient(100deg, var(--cyan), #b6fff1 35%, var(--violet)); -webkit-background-clip: text; background-clip: text; }
.hero-lead { max-width: 690px; margin-bottom: 34px; color: #b7c0ce; font-size: clamp(1.06rem, 1.5vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border: 1px solid var(--line); border-radius: 999px; font-weight: 750; font-size: .9rem; text-decoration: none; transition: transform .2s, border-color .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #04100d; background: var(--cyan); border-color: var(--cyan); box-shadow: 0 10px 35px rgba(101,247,220,.18); }
.button-primary:hover { box-shadow: 0 13px 40px rgba(101,247,220,.30); }
.button-quiet:hover { border-color: rgba(101,247,220,.5); background: rgba(101,247,220,.05); }

.hero-facts { display: flex; gap: clamp(25px, 4vw, 56px); margin: 54px 0 0; }
.hero-facts div { display: flex; flex-direction: column; }
.hero-facts dt { font: 750 clamp(1.35rem, 2vw, 1.8rem)/1 Consolas, monospace; }
.hero-facts dd { margin: 7px 0 0; color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; }

.hero-visual { position: relative; justify-self: center; width: min(100%, 480px); }
.portrait-frame {
  position: relative;
  z-index: 2;
  width: 78%;
  margin: 0 auto;
  padding: 9px;
  background: linear-gradient(145deg, rgba(101,247,220,.65), rgba(170,140,255,.06) 42%, rgba(170,140,255,.65));
  border-radius: 42% 42% 24px 24px;
  box-shadow: 0 30px 100px rgba(0,0,0,.45);
  transform: rotate(1.5deg);
}
.portrait-frame::after { content: ""; position: absolute; inset: 9px; border-radius: inherit; box-shadow: inset 0 0 60px rgba(3,7,12,.25); pointer-events: none; }
.portrait-frame img { aspect-ratio: .77; width: 100%; object-fit: cover; object-position: 50% 20%; border-radius: calc(42% - 6px) calc(42% - 6px) 18px 18px; filter: saturate(.82) contrast(1.04); }
.portrait-frame figcaption { position: absolute; right: -24px; bottom: 20px; display: flex; align-items: center; gap: 9px; padding: 10px 14px; color: #dce5ed; background: rgba(8,11,18,.88); border: 1px solid var(--line); border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .05em; white-space: nowrap; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.section { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: clamp(100px, 13vw, 180px) 0; }
.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; column-gap: 7vw; align-items: end; margin-bottom: 65px; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(2.6rem, 5vw, 5.3rem); }
.section-heading > p:last-child { max-width: 500px; margin-bottom: 5px; color: var(--muted); font-size: 1.03rem; }

.service-list { border-top: 1px solid var(--line); }
.service { position: relative; display: grid; grid-template-columns: 58px 1fr 1fr 50px; gap: 26px; align-items: center; min-height: 185px; padding: 30px 20px 30px 0; border-bottom: 1px solid var(--line); transition: background .25s, padding .25s; }
.service::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(101,247,220,.06), transparent 70%); opacity: 0; transition: opacity .25s; }
.service:hover { padding-left: 18px; }
.service:hover::before { opacity: 1; }
.service-index { align-self: start; padding-top: 5px; color: var(--cyan); font: 700 .68rem Consolas, monospace; }
.service h3 { margin-bottom: 8px; font-size: clamp(1.45rem, 2.3vw, 2.2rem); letter-spacing: -.03em; }
.service-title p { margin: 0; color: var(--muted); }
.service ul { columns: 2; gap: 24px; margin: 0; padding: 0; list-style: none; color: #c8d0dc; font-size: .85rem; }
.service li { margin: 6px 0; break-inside: avoid; }
.service li::before { content: "/"; margin-right: 8px; color: var(--cyan); }
.service-icon { justify-self: end; color: rgba(101,247,220,.55); font: 300 1.6rem Consolas, monospace; }
.service-accent { margin: 14px 0; padding-right: 28px; border: 1px solid rgba(101,247,220,.25); border-radius: 18px; background: rgba(101,247,220,.035); }
.service-accent .service-index { padding-left: 18px; }

/* AI lab */
.ai-future { position: relative; padding-top: 60px; }
.ai-future::before {
  content: "AI";
  position: absolute;
  z-index: -1;
  top: 20px;
  right: -4vw;
  color: rgba(101,247,220,.018);
  font-size: clamp(15rem, 36vw, 34rem);
  font-weight: 850;
  line-height: .8;
  letter-spacing: -.12em;
  pointer-events: none;
}
.ai-heading { display: grid; grid-template-columns: 1.12fr .88fr; gap: 8vw; align-items: end; margin-bottom: 70px; }
.ai-heading h2 { margin: 0; font-size: clamp(2.8rem, 5.4vw, 5.8rem); }
.ai-manifesto { padding: 28px 0 4px; border-top: 1px solid var(--line); }
.ai-manifesto p { color: var(--muted); }
.ai-manifesto p:first-child { color: #e3e8ef; font-size: 1.14rem; }

.ai-lab {
  position: relative;
  overflow: hidden;
  min-height: 570px;
  border: 1px solid rgba(101,247,220,.24);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(15,24,34,.94), rgba(10,13,21,.94));
  box-shadow: 0 35px 100px rgba(0,0,0,.32), inset 0 0 80px rgba(101,247,220,.018);
}
.ai-lab::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--pointer-x) var(--pointer-y), rgba(101,247,220,.12), transparent 58%);
}
.ai-lab::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .12;
  pointer-events: none;
  background-image: linear-gradient(rgba(101,247,220,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(101,247,220,.25) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}
.ai-lab-bar { position: relative; z-index: 3; min-height: 74px; padding: 15px 20px 15px 25px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); background: rgba(4,8,13,.42); }
.lab-status { display: flex; align-items: center; gap: 10px; color: #cbd4df; font: 700 .65rem Consolas, monospace; letter-spacing: .11em; }
.lab-status > span { width: 7px; height: 7px; border-radius: 50%; background: var(--violet); }
.lab-controls { display: flex; flex-wrap: wrap; gap: 7px; }
.lab-controls button { padding: 8px 11px; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 999px; font: 700 .64rem Consolas, monospace; cursor: pointer; transition: color .2s, background .2s, border-color .2s; }
.lab-controls button:hover, .lab-controls button:focus-visible { color: var(--ink); border-color: rgba(101,247,220,.4); }
.lab-controls button.active { color: #05110e; background: var(--cyan); border-color: var(--cyan); }
.ai-lab-body { position: relative; z-index: 2; min-height: 495px; padding: clamp(32px, 5vw, 65px); display: grid; grid-template-rows: 1fr auto; gap: 50px; }

.ai-flow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 3vw, 34px); align-items: center; }
.flow-line { position: absolute; z-index: -1; top: 50%; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, rgba(101,247,220,.05), rgba(101,247,220,.5), rgba(170,140,255,.5), rgba(170,140,255,.05)); }
.flow-node { position: relative; min-height: 136px; padding: 20px; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--line); border-radius: 17px; background: rgba(8,12,18,.88); box-shadow: 0 18px 40px rgba(0,0,0,.22); transition: border-color .25s, box-shadow .25s, transform .25s; }
.flow-node::before { content: ""; position: absolute; left: 18px; top: -4px; width: 32%; height: 2px; background: linear-gradient(90deg, var(--cyan), transparent); box-shadow: 0 0 12px var(--cyan); }
.flow-node.active { border-color: rgba(101,247,220,.48); box-shadow: 0 18px 45px rgba(0,0,0,.24), 0 0 32px rgba(101,247,220,.06); transform: translateY(-4px); }
.flow-node > span { color: var(--cyan); font: 700 .6rem Consolas, monospace; }
.flow-node strong { margin: 8px 0 4px; font-size: 1.03rem; }
.flow-node small { color: var(--muted); font-size: .7rem; }
.node-agent::before, .node-action::before { background: linear-gradient(90deg, var(--violet), transparent); box-shadow: 0 0 12px var(--violet); }

.ai-console { width: min(100%, 760px); justify-self: center; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: rgba(4,7,11,.86); box-shadow: 0 20px 60px rgba(0,0,0,.35); font: .71rem/1.55 Consolas, monospace; }
.console-head { height: 38px; padding: 0 14px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.025); }
.console-head > span { width: 7px; height: 7px; border-radius: 50%; background: #ff6e68; }
.console-head > span:nth-child(2) { background: #ffc861; }
.console-head > span:nth-child(3) { background: var(--cyan); }
.console-head em { margin-left: auto; color: #737e8f; font-style: normal; }
.console-body { position: relative; min-height: 150px; padding: 18px 20px; }
.console-body p { margin: 0 0 4px; color: #9fa9b8; transition: opacity .2s, transform .2s; }
.console-body p:nth-child(2) { padding-left: 12px; }
.console-body p:nth-child(3) { padding-left: 24px; }
.console-body i { display: inline-block; width: 17px; color: var(--violet); font-style: normal; }
.console-body .log-success { margin-top: 10px; color: var(--cyan); }
.ai-console.updating .console-body p { opacity: .15; transform: translateX(-5px); }

.intelligence-split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.intelligence-card { position: relative; overflow: hidden; min-height: 430px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; background: rgba(14,19,29,.72); }
.intelligence-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(300px circle at var(--pointer-x) var(--pointer-y), rgba(255,255,255,.06), transparent 58%); }
.intelligence-card > * { position: relative; z-index: 1; }
.intelligence-card .card-kicker { color: var(--cyan); font: 700 .62rem Consolas, monospace; text-transform: uppercase; letter-spacing: .09em; }
.intelligence-card h3 { margin: 18px 0 14px; font-size: clamp(1.6rem, 2.5vw, 2.25rem); letter-spacing: -.04em; }
.intelligence-card p { color: var(--muted); font-size: .9rem; }
.intelligence-card ul { margin: 12px 0 0; padding: 0; list-style: none; color: #cbd3df; font-size: .8rem; }
.intelligence-card li { margin: 7px 0; }
.intelligence-card li::before { content: "+"; margin-right: 9px; color: var(--cyan); }
.automation-card { background: linear-gradient(155deg, rgba(16,29,32,.88), rgba(14,19,29,.7)); }
.ai-card { background: linear-gradient(155deg, rgba(29,22,44,.88), rgba(14,19,29,.7)); }
.ai-card .card-kicker, .ai-card li::before { color: var(--violet); }
.combo-card { border-color: rgba(101,247,220,.25); background: linear-gradient(155deg, rgba(14,31,31,.9), rgba(25,18,39,.74)); }
.card-signal { height: 56px; margin-top: auto; display: flex; align-items: flex-end; gap: 8px; }
.card-signal b { width: 8px; height: 20%; background: #75808e; border-radius: 5px; }
.card-signal b:nth-child(2) { height: 70%; }
.card-signal b:nth-child(3) { height: 42%; }
.card-signal b:nth-child(4) { height: 90%; }
.neural-mini { position: relative; width: 115px; height: 70px; margin-top: auto; }
.neural-mini::before, .neural-mini::after { content: ""; position: absolute; inset: 15px 9px; border: 1px solid rgba(170,140,255,.25); transform: skewX(-22deg); }
.neural-mini::after { transform: skewX(22deg); }
.neural-mini i { position: absolute; z-index: 1; width: 8px; height: 8px; border-radius: 50%; background: var(--violet); }
.neural-mini i:nth-child(1) { left: 0; top: 30px; }.neural-mini i:nth-child(2) { left: 43px; top: 4px; }.neural-mini i:nth-child(3) { left: 43px; bottom: 4px; }.neural-mini i:nth-child(4) { right: 0; top: 30px; }.neural-mini i:nth-child(5) { left: 72px; top: 12px; }.neural-mini i:nth-child(6) { left: 72px; bottom: 12px; }
.combo-orbit { position: relative; width: 112px; height: 70px; margin-top: auto; }
.combo-orbit::before { content: ""; position: absolute; inset: 7px 21px; border: 1px solid rgba(157,124,255,.3); border-radius: 50%; }
.combo-orbit i { position: absolute; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #06100e; background: var(--cyan); font: 750 .6rem Consolas, monospace; font-style: normal; }
.combo-orbit i:nth-child(1) { left: 0; top: 20px; }.combo-orbit i:nth-child(2) { left: 41px; top: 0; color: var(--cyan); background: #152128; }.combo-orbit i:nth-child(3) { right: 0; top: 20px; color: white; background: var(--violet); }

.ai-evolution { margin-top: 100px; }
.evolution-heading { display: grid; grid-template-columns: 1fr .8fr; column-gap: 7vw; align-items: end; margin-bottom: 48px; }
.evolution-heading .eyebrow { grid-column: 1 / -1; }
.evolution-heading h3 { margin: 0; font-size: clamp(2.4rem, 4.8vw, 5rem); line-height: 1; letter-spacing: -.055em; }
.evolution-heading h3 span { color: transparent; background: linear-gradient(100deg, var(--cyan), var(--violet)); -webkit-background-clip: text; background-clip: text; }
.evolution-heading > p:last-child { max-width: 480px; margin: 0 0 4px; color: var(--muted); }
.evolution-shell { padding: clamp(22px, 4vw, 48px); display: grid; grid-template-columns: 1.24fr .76fr; gap: clamp(28px, 5vw, 70px); align-items: stretch; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(145deg, rgba(13,20,29,.9), rgba(9,12,19,.92)); box-shadow: 0 30px 90px rgba(0,0,0,.25); }
.stage-stair { position: relative; min-height: 410px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; align-items: end; }
.stage-stair::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, var(--cyan), var(--violet)); box-shadow: 0 0 16px rgba(101,247,220,.35); }
.stage-step { position: relative; z-index: 2; min-width: 0; height: calc(120px + (var(--stage) * 46px)); padding: 16px 12px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; color: #aab4c2; text-align: left; background: linear-gradient(180deg, rgba(255,255,255,.012), rgba(255,255,255,.04)); border: 1px solid var(--line); border-radius: 11px 11px 0 0; cursor: pointer; overflow: hidden; transition: color .25s, border-color .25s, background .25s, transform .25s, box-shadow .25s; }
.stage-step::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(101,247,220,.1)); opacity: 0; transition: opacity .25s; }
.stage-step:hover, .stage-step:focus-visible { color: var(--ink); border-color: rgba(101,247,220,.32); transform: translateY(-4px); }
.stage-step.active { color: var(--ink); border-color: rgba(101,247,220,.55); background: linear-gradient(180deg, rgba(101,247,220,.025), rgba(101,247,220,.13)); box-shadow: 0 0 35px rgba(101,247,220,.07), inset 0 -35px 55px rgba(101,247,220,.05); transform: translateY(-6px); }
.stage-step.active::before { opacity: 1; }
.stage-step > span { position: absolute; top: 14px; left: 12px; color: var(--cyan); font: 700 .62rem Consolas, monospace; }
.stage-step strong { font-size: clamp(.68rem, 1.1vw, .9rem); line-height: 1.15; hyphens: auto; overflow-wrap: normal; }
.stage-step small { margin-top: 7px; color: #7f8a9a; font: .54rem/1.3 Consolas, monospace; }

.stage-detail { position: relative; overflow: hidden; min-height: 410px; padding: clamp(24px, 3vw, 36px); border: 1px solid rgba(170,140,255,.2); border-radius: 18px; background: rgba(7,10,16,.72); box-shadow: inset 0 0 55px rgba(170,140,255,.025); }
.stage-detail::before { content: ""; position: absolute; right: -70px; top: -70px; width: 180px; height: 180px; border: 1px solid rgba(170,140,255,.12); border-radius: 50%; box-shadow: 0 0 0 25px rgba(170,140,255,.018), 0 0 0 55px rgba(170,140,255,.012); }
.stage-detail.changing > * { opacity: .1; transform: translateY(4px); }
.stage-detail > * { position: relative; transition: opacity .16s, transform .16s; }
.stage-detail-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.stage-detail-top > span { color: var(--cyan); font: 700 .65rem Consolas, monospace; letter-spacing: .1em; text-transform: uppercase; }
.stage-detail-top small { padding: 6px 9px; color: #bbb0dc; border: 1px solid rgba(170,140,255,.2); border-radius: 999px; font: 700 .55rem Consolas, monospace; text-transform: uppercase; letter-spacing: .08em; }
.stage-detail h4 { margin: 34px 0 13px; font-size: clamp(1.8rem, 3vw, 2.7rem); letter-spacing: -.045em; }
.stage-detail > p { color: var(--muted); font-size: .88rem; }
.stage-detail dl { margin: 27px 0; }
.stage-detail dl div { padding: 9px 0; display: grid; grid-template-columns: 60px 1fr; gap: 14px; border-top: 1px solid var(--line); }
.stage-detail dt { color: var(--cyan); font: 700 .58rem Consolas, monospace; text-transform: uppercase; letter-spacing: .06em; }
.stage-detail dd { margin: 0; color: #bdc6d3; font-size: .73rem; }
.stage-tech { display: flex; flex-wrap: wrap; gap: 6px; }
.stage-tech span { padding: 5px 8px; color: #c9d1dc; border: 1px solid var(--line); border-radius: 5px; font: 700 .56rem Consolas, monospace; }

.ai-quote { position: relative; margin: 75px auto 55px; max-width: 970px; padding: 10px 0 10px 80px; border: 0; }
.ai-quote > span { position: absolute; left: 0; top: -27px; color: var(--cyan); font: 700 7rem/1 Georgia, serif; opacity: .72; }
.ai-quote p { margin: 0; font-size: clamp(1.55rem, 3vw, 2.55rem); line-height: 1.3; letter-spacing: -.03em; }
.ai-capabilities { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
.ai-capabilities span { position: relative; overflow: hidden; padding: 9px 13px; color: #bdc7d5; border: 1px solid var(--line); border-radius: 999px; background: rgba(8,11,18,.65); font: 700 .66rem Consolas, monospace; }

.interference { position: relative; overflow: hidden; min-height: 360px; padding: 80px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--cyan); color: #06100e; }
.interference-grid { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(#06100e 1px, transparent 1px), linear-gradient(90deg, #06100e 1px, transparent 1px); background-size: 36px 36px; transform: perspective(500px) rotateX(55deg) scale(1.5); }
.interference p, .interference strong, .interference > span { position: relative; }
.interference p { margin-bottom: 6px; font: 700 .82rem Consolas, monospace; letter-spacing: .1em; text-transform: uppercase; }
.interference strong { max-width: 900px; font-size: clamp(2.8rem, 7vw, 7rem); line-height: .95; letter-spacing: -.06em; }
.interference > span { margin-top: 35px; font: 700 .65rem Consolas, monospace; letter-spacing: .15em; }

.process .section-heading { grid-template-columns: 1fr; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.process-grid li { min-height: 380px; padding: 34px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(14,19,29,.45); }
.process-grid li > span { color: var(--cyan); font: 700 .68rem Consolas, monospace; letter-spacing: .08em; }
.process-grid h3 { margin: auto 0 24px; max-width: 280px; font-size: 1.7rem; line-height: 1.12; letter-spacing: -.03em; }
.process-grid p { margin-bottom: 0; color: var(--muted); font-size: .92rem; }

.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.project { position: relative; min-height: 420px; padding: 28px; display: flex; flex-direction: column; overflow: hidden; color: var(--ink); background: #111722; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: transform .3s, border-color .3s, box-shadow .3s; }
.project:hover { --tilt-lift: -7px; border-color: rgba(101,247,220,.38); box-shadow: 0 25px 70px rgba(0,0,0,.3); }
.project-art { min-height: 235px; display: grid; place-items: center; margin: -28px -28px 25px; overflow: hidden; }
.project-art svg { width: 42%; min-width: 180px; fill: none; stroke: currentColor; stroke-width: 2; opacity: .74; transition: transform .4s; }
.project:hover .project-art svg { transform: scale(1.06) rotate(-1deg); }
.art-lederer { color: #ffc75f; background: radial-gradient(circle, rgba(255,199,95,.25), transparent 55%), linear-gradient(135deg,#2b1916,#111722); }
.art-hierl { color: #9df279; background: radial-gradient(circle, rgba(157,242,121,.2), transparent 55%), linear-gradient(135deg,#12251d,#111722); }
.art-huette { color: #7ccfff; background: radial-gradient(circle, rgba(124,207,255,.2), transparent 55%), linear-gradient(135deg,#10222b,#111722); }
.art-holz { color: #e5a16e; background: radial-gradient(circle, rgba(229,161,110,.2), transparent 55%), linear-gradient(135deg,#281a15,#111722); }
.project-copy { margin-top: auto; }
.project-copy > span { color: var(--muted); font: 700 .66rem Consolas, monospace; text-transform: uppercase; letter-spacing: .1em; }
.project h3 { margin: 7px 0 4px; font-size: 1.7rem; letter-spacing: -.03em; }
.project p { max-width: 390px; margin-bottom: 0; color: var(--muted); font-size: .9rem; }
.project-link { position: absolute; right: 25px; bottom: 27px; color: var(--cyan); font-size: 1.25rem; }
.github-link { margin-top: 18px; padding: 24px 28px; display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; color: var(--ink); border: 1px solid var(--line); border-radius: 18px; background: rgba(14,19,29,.55); text-decoration: none; transition: border-color .2s, background .2s; }
.github-link:hover { border-color: rgba(101,247,220,.4); background: rgba(101,247,220,.04); }
.github-icon { display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid rgba(101,247,220,.3); border-radius: 14px; color: var(--cyan); font: 700 .9rem Consolas, monospace; }
.github-link small, .github-link strong { display: block; }
.github-link small { color: var(--muted); font: 700 .64rem Consolas, monospace; text-transform: uppercase; letter-spacing: .1em; }
.github-link strong { margin-top: 3px; }

.about { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(50px, 9vw, 130px); align-items: center; }
.about-portrait { position: relative; }
.about-portrait::before { content: ""; position: absolute; inset: -12px; z-index: -1; border: 1px solid rgba(101,247,220,.24); border-radius: 220px 220px 24px 24px; transform: rotate(-3deg); }
.about-portrait img { width: 100%; max-height: 650px; object-fit: cover; object-position: 50% 20%; border-radius: 210px 210px 20px 20px; filter: saturate(.75) contrast(1.06); }
.portrait-code { position: absolute; right: -45px; bottom: 25px; padding: 15px 18px; display: flex; flex-direction: column; gap: 4px; color: var(--cyan); background: rgba(6,9,14,.9); border: 1px solid var(--line); border-radius: 10px; font: .66rem/1.5 Consolas, monospace; box-shadow: 0 16px 50px rgba(0,0,0,.4); }
.about-copy h2 { margin-bottom: 34px; font-size: clamp(2.7rem, 5vw, 5rem); }
.about-copy > p:not(.eyebrow) { max-width: 640px; color: var(--muted); }
.about-copy .about-lead { color: var(--ink) !important; font-size: 1.2rem; }
.tech-stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.tech-stack span { padding: 7px 10px; color: #c9d2df; border: 1px solid var(--line); border-radius: 6px; background: rgba(255,255,255,.018); font: 700 .66rem Consolas, monospace; }

.pricing { padding-top: 40px; }
.pricing-shell { padding: clamp(30px, 6vw, 80px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 9vw; align-items: center; border: 1px solid var(--line); border-radius: 32px; background: linear-gradient(135deg, rgba(101,247,220,.055), rgba(170,140,255,.035)); }
.pricing-intro h2 { margin-bottom: 28px; font-size: clamp(2.5rem, 4.6vw, 4.8rem); }
.pricing-intro > p:last-child { max-width: 540px; color: var(--muted); }
.price-card { padding: clamp(26px, 4vw, 48px); border: 1px solid rgba(101,247,220,.28); border-radius: 24px; background: rgba(8,11,18,.62); box-shadow: inset 0 0 50px rgba(101,247,220,.025), 0 25px 70px rgba(0,0,0,.25); }
.price-card > span { color: var(--muted); font: 700 .67rem Consolas, monospace; text-transform: uppercase; letter-spacing: .1em; }
.price-card strong { display: block; margin: 14px 0; font: 750 clamp(3.5rem, 6vw, 6rem)/1 "Segoe UI Variable", sans-serif; letter-spacing: -.07em; }
.price-card strong small { color: var(--muted); font-size: .85rem; letter-spacing: 0; }
.price-card p { margin-bottom: 28px; color: var(--muted); font-size: .8rem; }
.price-card .button { width: 100%; }

.contact { position: relative; overflow: hidden; width: min(calc(100% - 48px), var(--max)); margin: 100px auto 34px; padding: clamp(70px, 10vw, 130px) 24px; text-align: center; border: 1px solid var(--line); border-radius: 36px; background: #0c111a; }
.contact::before, .contact::after { content: ""; position: absolute; width: 260px; height: 260px; border: 1px solid rgba(101,247,220,.13); border-radius: 50%; }
.contact::before { top: -140px; left: -80px; }
.contact::after { right: -70px; bottom: -160px; }
.contact-glow { position: absolute; inset: 0; background: radial-gradient(circle at 50% 60%, rgba(101,247,220,.08), transparent 45%); }
.contact > *:not(.contact-glow) { position: relative; }
.contact h2 { margin-bottom: 28px; font-size: clamp(3rem, 7vw, 7rem); }
.contact > p:not(.eyebrow) { max-width: 620px; margin: 0 auto 42px; color: var(--muted); font-size: 1.04rem; }
.contact-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.contact-mail { color: var(--cyan); font-size: clamp(1rem, 2.3vw, 1.5rem); font-weight: 750; text-underline-offset: 7px; text-decoration-thickness: 1px; }
.contact-phone { color: var(--muted); text-decoration: none; }

.site-footer { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 46px 0; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; border-top: 1px solid var(--line); }
.brand-footer { grid-row: span 2; }
.site-footer p { margin: 0; color: var(--muted); font-size: .8rem; text-align: right; }
.site-footer nav { display: flex; justify-content: flex-end; gap: 20px; }
.site-footer nav a, .site-footer small { color: var(--muted); font-size: .73rem; }
.site-footer small { grid-column: 2; text-align: right; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Legal pages */
.legal-body { min-height: 100vh; }
.legal-header { position: static; width: min(calc(100% - 36px), var(--max)); transform: none; margin: 18px auto 0; }
.legal-main { width: min(calc(100% - 48px), 850px); margin: 0 auto; padding: 120px 0; }
.legal-main .eyebrow { margin-bottom: 20px; }
.legal-main h1 { font-size: clamp(3rem, 7vw, 6rem); }
.legal-main h2 { margin-top: 55px; margin-bottom: 18px; font-size: 1.7rem; letter-spacing: -.03em; line-height: 1.15; }
.legal-main h3 { margin-top: 34px; font-size: 1.05rem; }
.legal-main p, .legal-main li { color: #b4bdca; }
.legal-main a { color: var(--cyan); text-underline-offset: 4px; }
.legal-main address { padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); font-style: normal; color: #dce2eb; }
.legal-note { margin-bottom: 45px; padding: 14px 18px; color: #c4cbd5; border-left: 2px solid var(--cyan); background: rgba(101,247,220,.04); font-size: .85rem; }

@media (max-width: 980px) {
  .main-nav { gap: 14px; }
  .main-nav a { font-size: .76rem; }
  .hero { grid-template-columns: 1fr .7fr; gap: 34px; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading h2 { margin-bottom: 24px; }
  .service { grid-template-columns: 44px 1fr 1fr; }
  .service-icon { display: none; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid li { min-height: 300px; }
  .pricing-shell { grid-template-columns: 1fr; gap: 45px; }
  .ai-heading { grid-template-columns: 1fr; gap: 30px; }
  .intelligence-split { grid-template-columns: 1fr; }
  .intelligence-card { min-height: 340px; }
  .evolution-heading { grid-template-columns: 1fr; gap: 24px; }
  .evolution-heading h3 { margin-bottom: 0; }
  .evolution-shell { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-header { top: 10px; width: calc(100% - 20px); height: 64px; }
  .nav-toggle { position: relative; z-index: 3; display: block; cursor: pointer; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: absolute; top: 0; right: 0; width: min(310px, calc(100vw - 20px)); padding: 82px 25px 28px; display: flex; flex-direction: column; align-items: stretch; gap: 0; background: rgba(8,11,18,.97); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 70px rgba(0,0,0,.45); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity .2s, transform .2s; }
  .main-nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .main-nav a { padding: 13px 5px; font-size: .9rem; border-bottom: 1px solid var(--line); }
  .main-nav .nav-cta { margin-top: 14px; text-align: center; border: 1px solid rgba(101,247,220,.3); }
  .hero { width: min(calc(100% - 32px), var(--max)); grid-template-columns: 1fr; padding-top: 125px; }
  .hero-copy { position: relative; z-index: 3; }
  h1 { font-size: clamp(3.1rem, 14vw, 5.4rem); }
  .hero-facts { justify-content: space-between; gap: 15px; }
  .hero-facts dd { font-size: .62rem; }
  .hero-visual { width: min(92%, 430px); margin-top: 30px; }
  .section { width: min(calc(100% - 32px), var(--max)); padding: 100px 0; }
  .section-heading { margin-bottom: 45px; }
  .service { grid-template-columns: 34px 1fr; gap: 12px; padding: 28px 0; }
  .service ul { grid-column: 2; columns: 1; margin-top: 12px; }
  .service-accent { padding: 28px 18px 28px 0; }
  .service-accent .service-index { padding-left: 10px; }
  .service:hover { padding-left: 0; }
  .ai-future { padding-top: 45px; }
  .ai-lab { min-height: 0; }
  .ai-lab-bar { align-items: flex-start; flex-direction: column; }
  .lab-controls { width: 100%; }
  .lab-controls button { flex: 1; }
  .ai-lab-body { padding: 30px 20px; gap: 34px; }
  .ai-flow { grid-template-columns: 1fr; gap: 13px; }
  .flow-line { top: 8%; bottom: 8%; left: 28px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, rgba(101,247,220,.05), rgba(101,247,220,.5), rgba(170,140,255,.5), rgba(170,140,255,.05)); }
  .flow-node { min-height: 98px; padding-left: 52px; }
  .ai-console { font-size: .63rem; }
  .console-body { min-height: 170px; padding: 16px; }
  .ai-quote { margin-top: 60px; padding-left: 48px; }
  .ai-quote > span { font-size: 5rem; }
  .ai-evolution { margin-top: 75px; }
  .stage-stair { min-height: 0; display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
  .stage-stair::before { top: 0; bottom: 0; left: 17px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--cyan), var(--violet)); }
  .stage-step { width: calc(100% - ((var(--stage) - 1) * 5px)); height: auto; min-height: 79px; margin-left: calc((var(--stage) - 1) * 5px); padding: 14px 16px 14px 48px; justify-content: center; border-radius: 12px; }
  .stage-step > span { top: 50%; left: 12px; transform: translateY(-50%); }
  .stage-step:hover, .stage-step:focus-visible, .stage-step.active { transform: translateX(5px); }
  .stage-detail { min-height: 0; }
  .interference { min-height: 320px; }
  .project-grid { grid-template-columns: 1fr; }
  .project { min-height: 390px; }
  .project-link { bottom: 28px; }
  .project-copy { padding-right: 30px; }
  .github-link { padding: 18px; }
  .github-icon { display: none; }
  .about { grid-template-columns: 1fr; }
  .about-portrait { width: min(88%, 440px); margin: 0 auto; }
  .portrait-code { right: -20px; }
  .pricing { padding-top: 15px; }
  .pricing-shell { padding: 28px 20px; border-radius: 24px; }
  .price-card { padding: 28px 20px; }
  .contact { width: calc(100% - 20px); margin-top: 50px; border-radius: 24px; }
  .contact h2 { font-size: clamp(3rem, 14vw, 5rem); }
  .site-footer { width: calc(100% - 32px); grid-template-columns: 1fr; align-items: start; }
  .brand-footer { grid-row: auto; }
  .site-footer p, .site-footer small { grid-column: 1; text-align: left; }
  .site-footer nav { justify-content: flex-start; }
  .legal-header .main-nav { display: none; }
  .legal-main { width: calc(100% - 32px); padding: 90px 0; }
}

@media (max-width: 420px) {
  .brand strong { font-size: .75rem; }
  .brand em { font-size: .55rem; }
  .hero-actions .button { width: 100%; }
  .hero-facts { flex-wrap: wrap; }
  .portrait-frame figcaption { right: -10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Precision redesign: from unstructured input to a reliable result. */
html, body { overflow-x: clip; }
body {
  min-width: 0;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 16px;
  background: #080b12;
}
body::before { display: none; }
.eyebrow, .hero-facts dt, .capability-line, .service-index, .service-icon,
.lab-status, .lab-controls button, .flow-node > span, .ai-console,
.intelligence-card .card-kicker, .stage-step > span, .stage-step small,
.stage-detail-top > span, .stage-detail-top small, .stage-detail dt,
.stage-tech span, .ai-capabilities span, .interference p, .interference > span,
.process-grid li > span, .project-copy > span, .github-icon, .github-link small,
.portrait-code, .tech-stack span, .price-card > span, .signature-transform,
.structured-card, .chaos-document, .signature-replay {
  font-family: "IBM Plex Mono", monospace;
}

.scroll-progress span { background: var(--violet); box-shadow: none; }
.site-header.scrolled { background: rgba(8,11,18,.96); backdrop-filter: none; }
.brand-mark path:first-child { fill: rgba(157,124,255,.08); stroke: var(--violet); }
.main-nav a:hover { color: var(--violet); }
.main-nav .nav-cta { color: #001313; background: var(--cyan); border-color: var(--cyan); }
.nav-backdrop { display: none; }

.hero {
  position: relative;
  overflow-x: clip;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 60px -16vw 0 28%;
  background: url("../images/topography.svg") center / cover no-repeat;
  opacity: .12;
  pointer-events: none;
}
.eyebrow { min-height: 12px; color: #b9c2cf; font-size: .75rem; }
.eyebrow span { background: var(--violet); box-shadow: none; }
h1, h2 { font-weight: 700; }
.button { transition: transform .2s, border-color .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { box-shadow: none; }
.button-primary:hover { box-shadow: none; background: #66ffff; }
.button-quiet:hover { border-color: rgba(157,124,255,.55); background: rgba(157,124,255,.05); }
.hero-facts dt { color: var(--cyan); font-weight: 600; }
.hero-facts dd { font-size: .75rem; }

.hero-visual { overflow: clip; padding: 8px 6px 20px; }
.portrait-frame {
  width: 64%;
  margin: 0 0 0 auto;
  padding: 6px;
  background: #111722;
  border: 1px solid rgba(157,124,255,.34);
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(0,0,0,.26);
  transform: none;
}
.portrait-frame::after { display: none; }
.portrait-frame img { aspect-ratio: .86; border-radius: 12px; filter: saturate(.75) contrast(1.03); }
.portrait-frame figcaption {
  right: 10px;
  bottom: 10px;
  padding: 8px 11px;
  background: rgba(8,11,18,.94);
  backdrop-filter: none;
  font-size: .75rem;
}
.status-dot { background: var(--cyan); box-shadow: none; }

.signature-transform {
  position: relative;
  z-index: 3;
  width: min(100%, 440px);
  margin: -20px auto 0 0;
  padding: 16px;
  color: #d7dde7;
  background: #0d121b;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 20px 50px rgba(0,0,0,.28);
}
.signature-heading { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.signature-heading span { color: #7f8999; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.signature-heading strong { color: #dfe4ec; font-size: .75rem; font-weight: 600; }
.signature-stage { display: grid; min-height: 224px; }
.signature-stage > * { grid-area: 1 / 1; }
.chaos-document, .structured-card {
  align-self: center;
  width: 78%;
  min-height: 176px;
  padding: 18px;
  border-radius: 10px;
}
.chaos-document {
  position: relative;
  color: #9da6b5;
  background: #141922;
  border: 1px solid rgba(183,203,232,.18);
  transform: rotate(-1.5deg);
}
.chaos-document small { display: block; margin-bottom: 14px; color: #c1c7d0; font-size: .75rem; }
.chaos-document p { margin: 0; font-family: "IBM Plex Sans", sans-serif; font-size: 1rem; line-height: 1.45; }
.raw-mark { position: absolute; height: 2px; background: var(--violet); opacity: .7; }
.mark-one { left: 35px; top: 88px; width: 88px; }
.mark-two { left: 178px; top: 111px; width: 58px; }
.mark-three { left: 95px; bottom: 29px; width: 110px; }
.structure-process {
  align-self: center;
  justify-self: center;
  z-index: 2;
  width: 116px;
  padding: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  color: var(--violet);
  background: #0b0f17;
  border: 1px solid rgba(157,124,255,.45);
  border-radius: 8px;
  opacity: 0;
}
.structure-process i { width: 22px; height: 3px; background: var(--violet); opacity: .45; }
.structure-process span { width: 100%; margin-top: 4px; text-align: center; font-size: .75rem; }
.structured-card {
  justify-self: end;
  color: #d9e1e8;
  background: #0b1719;
  border: 1px solid rgba(0,255,255,.38);
  opacity: 0;
  transform: translateX(18px);
}
.structured-card dl { margin: 0; }
.structured-card dl div { padding: 5px 0; display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px; border-bottom: 1px solid rgba(183,203,232,.1); }
.structured-card dt { color: #84909f; font-size: .75rem; }
.structured-card dd { margin: 0; color: #e9fdff; font-size: .78rem; }
.structured-card p { margin: 13px 0 0; color: var(--cyan); font-size: .75rem; }
.result-cursor { display: inline-block; width: 6px; height: 12px; margin-left: 6px; vertical-align: -2px; background: var(--cyan); animation: result-cursor-blink 1s steps(1) infinite; }
.signature-replay { margin: 10px 0 0 auto; padding: 0; display: block; color: #9ca6b5; background: none; border: 0; font-size: .75rem; cursor: pointer; }
.signature-replay:hover, .signature-replay:focus-visible { color: var(--violet); }

@keyframes signature-chaos {
  0%, 28% { opacity: 1; transform: rotate(-1.5deg) translateX(0) scale(1); }
  70%, 100% { opacity: 0; transform: rotate(0) translateX(-18px) scale(.96); }
}
@keyframes signature-process {
  0%, 25% { opacity: 0; transform: scale(.94); }
  46%, 64% { opacity: 1; transform: scale(1); }
  82%, 100% { opacity: 0; transform: scale(.98); }
}
@keyframes signature-result {
  0%, 54% { opacity: 0; transform: translateX(18px); }
  82%, 100% { opacity: 1; transform: translateX(0); }
}
@keyframes result-cursor-blink { 50% { opacity: 0; } }
.signature-transform.is-active .chaos-document,
.signature-transform.is-replaying .chaos-document { animation: signature-chaos 1.25s ease-out forwards; }
.signature-transform.is-active .structure-process,
.signature-transform.is-replaying .structure-process { animation: signature-process 1.25s ease-out forwards; }
.signature-transform.is-active .structured-card,
.signature-transform.is-replaying .structured-card { animation: signature-result 1.25s ease-out forwards; }

@supports (animation-timeline: view()) {
  .signature-transform:not(.is-replaying) .chaos-document,
  .signature-transform:not(.is-replaying) .structure-process,
  .signature-transform:not(.is-replaying) .structured-card {
    animation-duration: 1ms;
    animation-timing-function: linear;
    animation-fill-mode: both;
    animation-timeline: view(block);
    animation-range: entry 12% cover 58%;
  }
  .signature-transform:not(.is-replaying) .chaos-document { animation-name: signature-chaos; }
  .signature-transform:not(.is-replaying) .structure-process { animation-name: signature-process; }
  .signature-transform:not(.is-replaying) .structured-card { animation-name: signature-result; }
}

.capability-line {
  overflow-x: clip;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 22px;
  color: #aab3c0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: .75rem;
  letter-spacing: .12em;
}
.capability-line i { color: var(--violet); font-style: normal; }

.service::before { background: rgba(157,124,255,.04); }
.service:hover { padding-left: 2px; }
.service-index, .service li::before, .service-icon { color: var(--violet); }
.service-accent { border-color: rgba(157,124,255,.28); background: rgba(157,124,255,.035); }

.ai-future::before { color: rgba(157,124,255,.025); }
.ai-lab { border-color: rgba(157,124,255,.28); background: #0c111a; box-shadow: 0 24px 70px rgba(0,0,0,.22); }
.ai-lab::before { display: none; }
.ai-lab::after { opacity: .06; background-image: linear-gradient(rgba(157,124,255,.28) 1px, transparent 1px), linear-gradient(90deg, rgba(157,124,255,.28) 1px, transparent 1px); }
.lab-status > span { background: var(--violet); box-shadow: none; animation: none; }
.lab-controls button:hover, .lab-controls button:focus-visible { border-color: rgba(157,124,255,.55); }
.lab-controls button.active { color: white; background: rgba(157,124,255,.18); border-color: var(--violet); }
.flow-line { background: #313947; }
.flow-node { box-shadow: none; transform: none; }
.flow-node::before { background: #687280; box-shadow: none; }
.flow-node.active { border-color: var(--line); box-shadow: none; transform: none; }
.flow-node > span { color: #7f8997; }
.node-context::before, .node-agent::before { background: var(--violet); box-shadow: none; }
.node-context > span, .node-agent > span { color: var(--violet); }
.node-action { border-color: rgba(0,255,255,.34); background: #0b1719; }
.node-action::before { background: var(--cyan); box-shadow: none; }
.node-action > span { color: var(--cyan); }
.ai-console { box-shadow: none; font-size: .75rem; }
.console-head > span { background: #65707e; }
.console-head > span:nth-child(2) { background: var(--violet); }
.console-head > span:nth-child(3) { background: var(--cyan); }
.console-body i { color: var(--violet); }
.console-cursor { display: none; }

.intelligence-card { box-shadow: none; }
.intelligence-card::after { display: none; }
.intelligence-card .card-kicker { color: #8994a3; font-size: .75rem; }
.intelligence-card p, .intelligence-card ul { font-size: 1rem; }
.intelligence-card li::before { color: #7e8998; }
.automation-card { background: #111720; }
.ai-card { background: #151321; }
.ai-card .card-kicker, .ai-card li::before { color: var(--violet); }
.combo-card { border-color: rgba(0,255,255,.24); background: #0d191b; }
.combo-card .card-kicker, .combo-card li::before { color: var(--cyan); }
.card-signal b { background: #75808e; box-shadow: none; animation: none; transform-origin: bottom; }
.neural-mini i { background: var(--violet); box-shadow: none; animation: none; }
.combo-orbit::before { animation: none; border-color: rgba(157,124,255,.34); }
.combo-orbit i:nth-child(1) { color: #d5dbe4; background: #3c4551; }
.combo-orbit i:nth-child(2) { color: white; background: var(--violet); }
.combo-orbit i:nth-child(3) { color: #001313; background: var(--cyan); }

.evolution-heading h3 span { background: none; color: var(--violet); -webkit-text-fill-color: currentColor; }
.evolution-shell { background: #0c1119; box-shadow: none; }
.stage-stair::before { background: #394250; box-shadow: none; }
.stage-step::after { display: none; }
.stage-step:hover, .stage-step:focus-visible { border-color: rgba(157,124,255,.4); transform: translateY(-2px); }
.stage-step.active { border-color: rgba(157,124,255,.55); background: rgba(157,124,255,.10); box-shadow: none; transform: translateY(-2px); }
.stage-step > span { color: var(--violet); font-size: .75rem; }
.stage-step small { font-size: .75rem; }
.stage-detail { box-shadow: none; }
.stage-detail::before { display: none; }
.stage-detail-top > span { color: var(--violet); font-size: .75rem; }
.stage-detail-top small, .stage-detail dt, .stage-tech span { font-size: .75rem; }
.stage-detail > p, .stage-detail dd { font-size: 1rem; }
.stage-detail dt { color: #8993a1; }
.ai-quote > span { color: var(--violet); }
.ai-capabilities span { font-size: .75rem; }
.ai-capabilities span::after { display: none; }

.interference { min-height: 310px; color: var(--ink); background: #0c1119; border-block: 1px solid var(--line); }
.interference-grid { opacity: .08; background-image: linear-gradient(#8993a1 1px, transparent 1px), linear-gradient(90deg, #8993a1 1px, transparent 1px); transform: none; }
.interference p, .interference > span { color: #aab3c0; font-size: .75rem; }
.interference strong { color: var(--ink); }
.process-grid li > span { color: var(--violet); font-size: .75rem; }
.process-grid p { font-size: 1rem; }

.project { transition: transform .2s, border-color .2s, background .2s; }
.project:hover { transform: translateY(-2px); border-color: rgba(157,124,255,.38); box-shadow: none; }
.project-art svg { filter: none; }
.project:hover .project-art svg { transform: translateY(-2px); }
.project-art.project-shot { position: relative; min-height: 0; height: 238px; display: block; background: #0c1119; }
.project-shot::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(5,8,12,.04) 30%, rgba(5,8,12,.6) 100%); transition: background .2s; }
.project-shot img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center top; filter: saturate(.78) contrast(1.04) brightness(.82); transition: transform .35s ease, filter .2s ease; }
.project:hover .project-shot img { transform: scale(1.025); filter: saturate(.9) contrast(1.04) brightness(.9); }
.project:hover .project-shot::after { background: linear-gradient(180deg, rgba(5,8,12,0) 30%, rgba(5,8,12,.48) 100%); }
.project-own .project-copy > span { color: #bba7ff; }
.project-copy > span { font-size: .75rem; }
.project p { font-size: 1rem; }
.project-link { color: var(--cyan); }
.github-link:hover { border-color: rgba(157,124,255,.4); background: rgba(157,124,255,.04); }
.github-icon { color: var(--violet); border-color: rgba(157,124,255,.32); }
.github-link small { font-size: .75rem; }

.about-portrait::before { border-color: rgba(157,124,255,.3); }
.portrait-code { color: var(--violet); box-shadow: none; }
.tech-stack span { font-size: .75rem; }
.pricing-shell { background: #0c1119; }
.price-card { box-shadow: none; }
.price-card > span { font-size: .75rem; }
.price-card strong { font-family: "IBM Plex Sans", sans-serif; color: var(--cyan); }
.price-card p { font-size: 1rem; }

.contact {
  isolation: isolate;
  background: #0c111a url("../images/topography.svg") center / cover no-repeat;
}
.contact::before, .contact::after, .contact-glow { display: none; }
.contact::before {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: inherit;
  background: rgba(8,11,18,.9);
}
.contact-mail { color: var(--cyan); }
.site-footer nav a, .site-footer small { font-size: .75rem; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .45s ease-out, transform .45s ease-out; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 760px) {
  html { scrollbar-width: none; }
  html::-webkit-scrollbar { width: 0; height: 0; }
  .site-header { overflow: visible; }
  .main-nav { width: min(310px, calc(100% - 20px)); }
  .nav-backdrop {
    position: fixed;
    z-index: 90;
    inset: 0;
    display: block;
    background: rgba(0,0,0,.6);
    border: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
  }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav-backdrop { opacity: 1; pointer-events: auto; }
  .hero::before { inset: 78px -38vw 35% 5%; opacity: .1; }
  .hero-visual { width: min(100%, 520px); margin-top: 30px; padding-inline: 0; }
  .portrait-frame { width: min(68%, 300px); margin-left: auto; }
  .portrait-frame figcaption { right: 6px; white-space: normal; }
  .signature-transform { width: 100%; margin-top: -10px; }
  .signature-stage { min-height: 0; display: flex; flex-direction: column; gap: 10px; }
  .signature-stage > * { width: 100%; min-height: 0; opacity: 1; transform: none; animation: none !important; }
  .chaos-document { order: 1; }
  .structure-process { order: 2; width: 100%; padding: 8px; flex-wrap: nowrap; align-items: center; }
  .structure-process span { width: auto; margin: 0 0 0 6px; }
  .structured-card { order: 3; }
  .signature-replay { display: none; }
  .capability-line { width: calc(100% - 32px); justify-content: flex-start; }
  .capability-line i { color: #56606f; }
  .service:hover { padding-left: 0; }
  .stage-step:hover, .stage-step:focus-visible, .stage-step.active { transform: translateX(2px); }
  .portrait-code { right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .signature-transform .chaos-document, .signature-transform .structure-process { display: none; }
  .signature-transform .structured-card { display: block; opacity: 1; transform: none; }
  .signature-replay { display: none; }
  .result-cursor { animation: none !important; }
}
