:root {
  --bg: #080b14;
  --bg-soft: #0c1120;
  --panel: rgba(16, 22, 39, .88);
  --panel-solid: #101627;
  --ink: #f5f7ff;
  --muted: #a2abc0;
  --muted-2: #6f7991;
  --slate: #879bd0;
  --slate-bright: #b7c6ec;
  --slate-deep: #596fa9;
  --violet: #c4a7e7;
  --line: rgba(210, 220, 246, .13);
  --line-strong: rgba(183, 198, 236, .28);
  --shadow: rgba(0, 0, 0, .32);
  --max: 1500px;
  --pad: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { min-height: 100%; scrollbar-gutter: stable; background: var(--bg); }
body {
  min-height: 100svh;
  margin: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(89, 111, 169, .16), transparent 28rem),
    radial-gradient(circle at 85% 84%, rgba(196, 167, 231, .07), transparent 26rem),
    linear-gradient(145deg, #080b14 0%, #090d18 50%, #070911 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

::selection { color: #070a12; background: var(--slate-bright); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }

.ambient {
  position: fixed;
  z-index: -1;
  border: 1px solid rgba(183, 198, 236, .08);
  border-radius: 50%;
  pointer-events: none;
}
.ambient-one { width: 58vw; height: 58vw; min-width: 620px; min-height: 620px; top: -38vw; right: -18vw; box-shadow: inset 0 0 100px rgba(135, 155, 208, .02); }
.ambient-two { width: 32vw; height: 32vw; min-width: 420px; min-height: 420px; bottom: -25vw; left: -18vw; }

.site-header {
  width: min(100%, var(--max));
  min-height: 72px;
  margin-inline: auto;
  padding: 13px var(--pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}
.brand { width: max-content; display: inline-flex; align-items: center; gap: 11px; font-weight: 760; letter-spacing: -.025em; }
.brand-mark {
  width: 30px;
  height: 30px;
  padding: 6px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: rgba(255, 255, 255, .025);
}
.brand-mark i { display: block; border-radius: 2px 2px 1px 1px; background: var(--slate); }
.brand-mark i:nth-child(1) { height: 42%; }
.brand-mark i:nth-child(2) { height: 82%; background: var(--slate-bright); }
.brand-mark i:nth-child(3) { height: 60%; background: var(--slate-deep); }

.site-header nav { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 36px); }
.site-header nav a {
  position: relative;
  padding: 8px 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: .025em;
  transition: color .25s ease;
}
.site-header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 1px;
  background: var(--slate-bright);
  transform: scaleX(0);
  transition: transform .3s var(--ease);
}
.site-header nav a:hover,
.site-header nav a[aria-current="page"] { color: var(--ink); }
.site-header nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--slate-bright);
  font-size: 11px;
  font-weight: 720;
  transition: background .25s ease, border-color .25s ease, transform .25s var(--ease);
}
.header-cta:hover { transform: translateY(-2px); border-color: rgba(183, 198, 236, .48); background: rgba(135, 155, 208, .08); }
.linkedin-header-button {
  position: relative;
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  justify-content: center;
  overflow: hidden;
  border-radius: 13px;
  border-color: rgba(150, 173, 229, .48);
  background: linear-gradient(145deg, #1f3768 0%, #0a66c2 46%, #074f97 100%);
  box-shadow: 0 7px 0 #062c55, 0 13px 25px rgba(0, 0, 0, .34), inset 1px 1px 0 rgba(255, 255, 255, .24);
  transform: perspective(280px) rotateX(4deg) rotateY(-5deg) translateY(-3px);
  transform-style: preserve-3d;
  transition: transform .22s var(--ease), box-shadow .22s ease, filter .22s ease;
}
.linkedin-header-button::before {
  content: "";
  position: absolute;
  inset: 2px 3px auto;
  height: 42%;
  border-radius: 10px 10px 7px 7px;
  background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,0));
  pointer-events: none;
}
.linkedin-header-button svg { position: relative; z-index: 1; width: 23px; height: 23px; fill: #fff; filter: drop-shadow(0 2px 1px rgba(0,0,0,.25)); }
.linkedin-header-button:hover {
  border-color: rgba(205, 218, 250, .72);
  background: linear-gradient(145deg, #294785 0%, #1479db 48%, #07519b 100%);
  box-shadow: 0 9px 0 #062c55, 0 16px 30px rgba(0, 0, 0, .4), inset 1px 1px 0 rgba(255,255,255,.3);
  transform: perspective(280px) rotateX(-4deg) rotateY(6deg) translateY(-5px) scale(1.04);
}
.linkedin-header-button:active {
  box-shadow: 0 3px 0 #062c55, 0 7px 15px rgba(0, 0, 0, .32), inset 1px 1px 0 rgba(255,255,255,.2);
  transform: perspective(280px) rotateX(2deg) translateY(2px);
}

.page-main {
  width: 100%;
  min-height: calc(100svh - 116px);
  display: grid;
  align-items: center;
  padding: clamp(18px, 2.8vh, 34px) 0;
}
.page-grid {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: minmax(380px, .82fr) minmax(620px, 1.18fr);
  gap: clamp(36px, 5vw, 82px);
  align-items: center;
}
.page-copy { position: relative; z-index: 2; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: #c8d0e4;
  font-size: 9px;
  font-weight: 760;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow > span { width: 7px; height: 7px; border-radius: 50%; background: var(--slate-bright); box-shadow: 0 0 16px rgba(183, 198, 236, .58); }
.page-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(58px, 6.2vw, 104px);
  line-height: .9;
  letter-spacing: -.065em;
  font-weight: 710;
}
.page-copy h1 em { color: transparent; background: linear-gradient(110deg, var(--slate-bright), var(--slate), var(--violet)); background-clip: text; -webkit-background-clip: text; font-style: normal; }
.lede { max-width: 620px; margin: 28px 0 0; color: var(--muted); font-size: clamp(17px, 1.35vw, 21px); line-height: 1.55; letter-spacing: -.012em; }
.action-row { display: flex; align-items: center; gap: 22px; margin-top: 30px; }
.button {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid rgba(183, 198, 236, .56);
  border-radius: 999px;
  color: #090d18;
  background: linear-gradient(135deg, var(--slate-bright), var(--slate));
  box-shadow: 0 12px 34px rgba(89, 111, 169, .18), inset 0 1px rgba(255, 255, 255, .48);
  font-size: 13px;
  font-weight: 780;
  transition: transform .3s var(--ease), box-shadow .3s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 17px 42px rgba(89, 111, 169, .28), inset 0 1px rgba(255, 255, 255, .55); }
.text-link { display: inline-flex; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 680; }
.text-link:hover { color: var(--ink); }
.text-link span { color: var(--slate-bright); }
.capability-row,
.cert-list { display: flex; flex-wrap: wrap; gap: 0; margin-top: 28px; }
.capability-row span,
.cert-list span {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.capability-row span:not(:last-child)::after,
.cert-list span:not(:last-child)::after { content: "·"; margin-inline: 9px; color: var(--slate); }

.machine-shell {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(17, 23, 41, .88), rgba(9, 13, 25, .92));
  box-shadow: 0 30px 90px var(--shadow), inset 0 1px rgba(255, 255, 255, .035);
  overflow: hidden;
}
.machine-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 62% 42%, rgba(135, 155, 208, .09), transparent 31%);
}
.machine-toolbar {
  position: relative;
  z-index: 10;
  min-height: 62px;
  padding: 13px 17px 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}
.machine-toolbar > div { display: grid; gap: 3px; }
.machine-toolbar strong { color: var(--muted); font-size: 10px; font-weight: 600; }
.machine-kicker { color: var(--slate-bright); font: 700 14px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; }
.machine-reset {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-2);
  background: rgba(255, 255, 255, .02);
  cursor: pointer;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.machine-reset:hover { color: var(--ink); border-color: var(--line-strong); }

.machine-scene {
  position: relative;
  z-index: 2;
  height: clamp(340px, 48vh, 500px);
  min-height: 340px;
  overflow: hidden;
  perspective: 1050px;
  transform-style: preserve-3d;
  background-image:
    linear-gradient(rgba(204, 216, 246, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204, 216, 246, .035) 1px, transparent 1px);
  background-size: 34px 34px;
}
.machine-scene::after {
  content: "SYSTEM / 3D";
  position: absolute;
  right: 16px;
  top: 13px;
  color: rgba(162, 171, 192, .38);
  font: 7px/1 ui-monospace, monospace;
  letter-spacing: .16em;
}
.machine-floor {
  position: absolute;
  left: 7%;
  right: 5%;
  bottom: -19%;
  height: 55%;
  border: 1px solid rgba(183, 198, 236, .08);
  background:
    linear-gradient(rgba(183, 198, 236, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(183, 198, 236, .045) 1px, transparent 1px);
  background-size: 28px 28px;
  transform: rotateX(68deg) translateZ(-80px);
  transform-origin: center bottom;
}
.machine-link {
  position: absolute;
  z-index: 1;
  height: 3px;
  border-radius: 999px;
  background: rgba(183, 198, 236, .1);
  transform-origin: left center;
}
.machine-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--slate-deep), var(--slate-bright));
  box-shadow: 0 0 12px rgba(135, 155, 208, .46);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .46s var(--ease);
}
.machine-link.reached::after { transform: scaleX(1); }
.link-one { left: 15%; top: 29%; width: 13%; transform: rotate(27deg); }
.link-two { left: 31%; top: 49%; width: 16%; transform: rotate(20deg); }
.link-three { left: 51%; top: 57%; width: 13%; transform: rotate(-48deg); }
.link-four { left: 66%; top: 42%; width: 15%; transform: rotate(64deg); }
.link-five { left: 79%; top: 71%; width: 12%; transform: rotate(11deg); }

.machine-part {
  position: absolute;
  z-index: 4;
  padding: 0;
  border: 0;
  outline: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: filter .25s ease, opacity .25s ease, scale .3s var(--ease);
}
.machine-part:not(.reached) { opacity: .38; filter: saturate(.5); }
.machine-part:hover,
.machine-part:focus-visible { z-index: 8; opacity: 1; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .28)); scale: 1.055; }
.machine-part:focus-visible::after { content: ""; position: absolute; inset: -8px; border: 1px solid var(--slate-bright); border-radius: 14px; }
.part-number {
  position: absolute;
  left: 0;
  top: -16px;
  color: var(--muted-2);
  font: 7px/1 ui-monospace, monospace;
  letter-spacing: .08em;
}
.part-label {
  position: absolute;
  left: 50%;
  bottom: -14px;
  color: var(--muted-2);
  font: 7px/1 ui-monospace, monospace;
  letter-spacing: .12em;
  transform: translateX(-50%);
  white-space: nowrap;
}
.machine-part.reached .part-number,
.machine-part.reached .part-label { color: var(--slate-bright); }

.m-intake { left: 4%; top: 10%; width: 118px; height: 76px; }
.intake-box {
  position: absolute;
  inset: 7px 5px 5px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(135, 155, 208, .12), rgba(10, 14, 25, .9));
  box-shadow: inset -12px -12px 20px rgba(0, 0, 0, .22);
  transform: rotateY(11deg) rotateX(-5deg) translateZ(12px);
  transform-style: preserve-3d;
}
.intake-box::before { content: ""; position: absolute; left: 15px; right: 15px; top: 17px; height: 5px; border-radius: 5px; background: rgba(183, 198, 236, .25); box-shadow: 0 13px rgba(183, 198, 236, .12); }
.intake-box i { position: absolute; right: -10px; top: 26px; width: 21px; height: 21px; border: 5px solid #1a233b; border-radius: 50%; background: var(--slate); transform: translateZ(10px); }
.intake-box b { position: absolute; left: 13px; top: -9px; width: 30px; height: 14px; border: 1px solid var(--line-strong); border-radius: 5px; background: #161e33; transform: translateZ(8px); }
.m-intake.reached .intake-box i { animation: inputPulse .65s var(--ease); }
@keyframes inputPulse { 50% { transform: translateZ(22px) scale(1.18); box-shadow: 0 0 22px rgba(135, 155, 208, .65); } }

.m-ramp { left: 20%; top: 31%; width: 165px; height: 78px; }
.ramp-plane {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 25px;
  height: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: linear-gradient(180deg, #2a3555, #141b2f);
  box-shadow: 0 10px 0 -6px #0c1120;
  transform: rotateZ(18deg) rotateY(-14deg) translateZ(14px);
}
.ramp-plane i { position: absolute; left: 25%; top: 15px; width: 2px; height: 30px; background: rgba(183, 198, 236, .2); box-shadow: 85px 0 rgba(183, 198, 236, .2); }
.machine-ball {
  position: absolute;
  left: 19px;
  top: 16px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #f5f7ff, var(--slate-bright) 18%, var(--slate) 48%, #273454 76%);
  box-shadow: 0 0 16px rgba(135, 155, 208, .55);
  transform: translateZ(24px);
}
.m-ramp.reached .machine-ball { animation: rollRamp .8s var(--ease) both; }
@keyframes rollRamp { to { left: 128px; top: 54px; rotate: 540deg; } }

.m-gears { left: 42%; top: 50%; width: 120px; height: 103px; }
.gear { position: absolute; display: block; border: 6px dashed rgba(183, 198, 236, .38); border-radius: 50%; background: radial-gradient(circle, #0b0f1c 0 18%, var(--slate-deep) 20% 27%, #161e33 29% 58%, transparent 60%); box-shadow: inset 0 0 18px rgba(135, 155, 208, .1); }
.gear i { position: absolute; inset: 26%; border: 1px solid var(--line-strong); border-radius: 50%; }
.gear-large { width: 68px; height: 68px; left: 4px; top: 4px; transform: rotateX(-13deg) translateZ(15px); }
.gear-small { width: 49px; height: 49px; right: 0; bottom: 3px; border-color: rgba(196, 167, 231, .42); transform: rotateY(16deg) translateZ(27px); }
.m-gears.reached .gear-large { animation: gearForward 2.2s linear infinite; }
.m-gears.reached .gear-small { animation: gearReverse 1.7s linear infinite; }
@keyframes gearForward { to { rotate: 360deg; } }
@keyframes gearReverse { to { rotate: -360deg; } }

.m-core { left: 57%; top: 13%; width: 126px; height: 126px; perspective: 620px; }
.core-cube {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48px;
  height: 48px;
  margin: -24px;
  transform-style: preserve-3d;
  transform: rotateX(-20deg) rotateY(32deg);
}
.face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(183, 198, 236, .42);
  background: linear-gradient(145deg, rgba(135, 155, 208, .3), rgba(12, 17, 32, .86));
  color: #dfe6fb;
  font: 7px/1 ui-monospace, monospace;
  letter-spacing: .07em;
  box-shadow: inset 0 0 18px rgba(135, 155, 208, .12);
}
.front { transform: translateZ(24px); }
.back { transform: rotateY(180deg) translateZ(24px); }
.right { transform: rotateY(90deg) translateZ(24px); }
.left { transform: rotateY(-90deg) translateZ(24px); }
.top { transform: rotateX(90deg) translateZ(24px); }
.bottom { transform: rotateX(-90deg) translateZ(24px); }
.core-orbit { position: absolute; inset: 10px; border: 1px solid rgba(183, 198, 236, .22); border-radius: 50%; transform-style: preserve-3d; }
.orbit-a { transform: rotateX(68deg); }
.orbit-b { inset: 23px 4px; border-style: dashed; border-color: rgba(196, 167, 231, .3); transform: rotateY(67deg); }
.m-core.reached .core-cube { animation: cubeCycle 5.5s linear infinite; }
.m-core.reached .orbit-a { animation: orbitOne 3.4s linear infinite; }
.m-core.reached .orbit-b { animation: orbitTwo 2.8s linear infinite reverse; }
@keyframes cubeCycle { to { transform: rotateX(340deg) rotateY(752deg); } }
@keyframes orbitOne { to { transform: rotateX(68deg) rotateZ(360deg); } }
@keyframes orbitTwo { to { transform: rotateY(67deg) rotateZ(360deg); } }

.m-dominoes { left: 69%; top: 57%; width: 125px; height: 86px; }
.domino-row { position: absolute; inset: 15px 6px 6px; display: flex; align-items: flex-end; justify-content: center; gap: 7px; transform: rotateX(-8deg) rotateY(-12deg) translateZ(18px); transform-style: preserve-3d; }
.domino-row i { width: 12px; height: 49px; border: 1px solid rgba(183, 198, 236, .3); border-radius: 3px; background: linear-gradient(90deg, #222d49, #6f82ba); box-shadow: 5px 5px 9px rgba(0, 0, 0, .2); transform-origin: bottom; transition: transform .25s var(--ease); }
.m-dominoes.reached .domino-row i:nth-child(1) { transform: rotateZ(62deg); }
.m-dominoes.reached .domino-row i:nth-child(2) { transform: rotateZ(48deg); transition: transform .25s .08s var(--ease); }
.m-dominoes.reached .domino-row i:nth-child(3) { transform: rotateZ(34deg); transition: transform .25s .16s var(--ease); }
.m-dominoes.reached .domino-row i:nth-child(4) { transform: rotateZ(20deg); transition: transform .25s .24s var(--ease); }
.m-dominoes.reached .domino-row i:nth-child(5) { transform: rotateZ(7deg); transition: transform .25s .32s var(--ease); }

.m-output { right: 3%; bottom: 7%; width: 116px; height: 78px; }
.output-box {
  position: absolute;
  inset: 6px 4px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(135, 155, 208, .15), rgba(10, 14, 25, .94));
  box-shadow: 9px 12px 22px rgba(0, 0, 0, .24), inset 0 1px rgba(255, 255, 255, .04);
  transform: rotateY(-10deg) rotateX(6deg) translateZ(22px);
}
.output-box i { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid rgba(183, 198, 236, .45); border-radius: 50%; color: var(--slate-bright); font-style: normal; }
.output-box b { color: var(--muted); font: 8px/1 ui-monospace, monospace; letter-spacing: .12em; }
.m-output.reached .output-box { animation: outcomePop .7s var(--ease); }
@keyframes outcomePop { 45% { transform: rotateY(-10deg) rotateX(6deg) translateZ(48px) scale(1.06); box-shadow: 0 0 34px rgba(135, 155, 208, .25); } }

.machine-readout {
  position: relative;
  z-index: 8;
  min-height: 82px;
  padding: 13px 19px;
  display: grid;
  grid-template-columns: minmax(150px, .75fr) minmax(210px, 1.25fr) auto;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  background: rgba(6, 9, 17, .62);
}
.machine-readout > div:first-child { display: grid; gap: 4px; }
.machine-readout span { color: var(--slate-bright); font: 7px/1 ui-monospace, monospace; letter-spacing: .12em; }
.machine-readout strong { font-size: 12px; letter-spacing: -.01em; }
.machine-readout p { margin: 0; color: var(--muted-2); font-size: 10px; line-height: 1.4; }
.milestones { display: flex; gap: 5px; }
.milestones i { width: 17px; height: 3px; border-radius: 99px; background: rgba(183, 198, 236, .12); }
.milestones i.active { background: var(--slate); box-shadow: 0 0 10px rgba(135, 155, 208, .5); }

/* Four-page inquiry machine. The form controls are the active mechanism. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.journey-machine { --machine-accent: var(--slate); }
.journey-step-2 { --machine-accent: #9e8ed5; }
.journey-step-3 { --machine-accent: #7aa8ca; }
.journey-step-4 { --machine-accent: var(--slate-bright); }
.journey-machine.is-routing { box-shadow: 0 30px 90px var(--shadow), 0 0 38px rgba(135, 155, 208, .14), inset 0 1px rgba(255, 255, 255, .035); }

.journey-track {
  position: relative;
  z-index: 12;
  min-height: 58px;
  margin: 0;
  padding: 10px 20px 9px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 10, 19, .48);
}
.journey-track li { position: relative; min-width: 0; }
.journey-track li:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 29px;
  right: -12px;
  top: 32px;
  height: 1px;
  background: rgba(183, 198, 236, .12);
}
.journey-track li.complete:not(:last-child)::after { background: linear-gradient(90deg, var(--slate-bright), rgba(135, 155, 208, .28)); box-shadow: 0 0 7px rgba(135, 155, 208, .28); }
.journey-track a { min-width: 0; display: grid; grid-template-columns: 23px minmax(0, 1fr); column-gap: 7px; align-items: center; }
.journey-track a > span {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--muted-2);
  background: #0c1120;
  font: 7px/1 ui-monospace, monospace;
  transition: color .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.journey-track b { overflow: hidden; color: var(--muted); font-size: 16px; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.journey-track small { grid-column: 2; overflow: hidden; color: var(--muted-2); font-size: 9px; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.journey-track a:hover > span,
.journey-track a[aria-current="step"] > span,
.journey-track li.complete a > span { color: #080b14; border-color: var(--slate-bright); background: var(--slate-bright); box-shadow: 0 0 15px rgba(135, 155, 208, .36); }
.journey-track a[aria-current="step"] b { color: var(--ink); }

.journey-scene {
  position: relative;
  z-index: 2;
  height: clamp(500px, 56vh, 550px);
  min-height: 500px;
  overflow: hidden;
  perspective: 1100px;
  transform-style: preserve-3d;
  background:
    radial-gradient(circle at 75% 45%, rgba(135, 155, 208, .08), transparent 34%),
    linear-gradient(rgba(204, 216, 246, .032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204, 216, 246, .032) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
}
.journey-scene::before {
  content: "FORM SIGNAL / ACTIVE";
  position: absolute;
  right: 14px;
  bottom: 11px;
  color: rgba(162, 171, 192, .3);
  font: 7px/1 ui-monospace, monospace;
  letter-spacing: .14em;
}
.scene-grid {
  position: absolute;
  left: 3%;
  right: 3%;
  bottom: -25%;
  height: 55%;
  border: 1px solid rgba(183, 198, 236, .07);
  background:
    linear-gradient(rgba(183, 198, 236, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(183, 198, 236, .04) 1px, transparent 1px);
  background-size: 25px 25px;
  transform: rotateX(67deg) translateZ(-70px);
  transform-origin: center bottom;
}

.machine-form-panel {
  position: absolute;
  z-index: 8;
  left: 4.5%;
  top: 7%;
  width: 59%;
  padding: 18px 19px;
  border: 1px solid rgba(183, 198, 236, .24);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(25, 33, 57, .96), rgba(10, 14, 27, .97)),
    var(--panel-solid);
  box-shadow: 15px 18px 36px rgba(0, 0, 0, .34), inset 0 1px rgba(255, 255, 255, .05);
  transform: none;
  transform-style: flat;
  transition: border-color .3s ease, box-shadow .3s ease, transform .4s var(--ease);
}
.machine-form-panel::before,
.machine-form-panel::after { content: ""; position: absolute; width: 5px; height: 5px; border: 1px solid rgba(183, 198, 236, .34); border-radius: 50%; background: #080b14; box-shadow: 0 0 0 2px rgba(8, 11, 20, .7); }
.machine-form-panel::before { left: 8px; bottom: 8px; }
.machine-form-panel::after { right: 8px; bottom: 8px; }
.journey-machine.has-signal .machine-form-panel { border-color: rgba(183, 198, 236, .43); box-shadow: 15px 18px 36px rgba(0, 0, 0, .34), 0 0 26px rgba(135, 155, 208, .1), inset 0 1px rgba(255, 255, 255, .06); }
.journey-machine.is-routing .machine-form-panel { transform: translateY(-2px); }

.panel-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; color: var(--slate-bright); font: 700 7px/1 ui-monospace, monospace; letter-spacing: .13em; }
.panel-lights { display: flex; gap: 5px; }
.panel-lights i { width: 5px; height: 5px; border-radius: 50%; background: rgba(183, 198, 236, .16); box-shadow: inset 0 0 0 1px rgba(183, 198, 236, .2); }
.panel-lights i:first-child,
.journey-machine.has-signal .panel-lights i:nth-child(2),
.journey-machine.is-routing .panel-lights i:nth-child(3) { background: var(--machine-accent); box-shadow: 0 0 9px rgba(183, 198, 236, .58); }
.machine-form-panel h2 { max-width: 500px; margin: 0; font-size: clamp(22px, 2vw, 30px); line-height: 1.02; letter-spacing: -.04em; }
.panel-copy { max-width: 500px; margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.4; }
.form-stack { margin-top: 16px; display: grid; gap: 10px; }
.intake-identity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.intake-email-field { grid-column: 1 / -1; }
.capture-notice { margin: 8px 0 0; color: var(--muted-2); font-size: 7px; line-height: 1.35; }
.capture-notice a { color: var(--slate-bright); text-underline-offset: 2px; }
.form-field { min-width: 0; display: grid; gap: 5px; }
.form-field > span:first-child,
.form-field-label { display: flex; justify-content: space-between; gap: 12px; color: #d8deef; font-size: 12px; font-weight: 650; line-height: 1.2; letter-spacing: .025em; }
.form-field > span:first-child small,
.form-field-label small { color: var(--muted-2); font: 6px/1 ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.input-port,
.select-port {
  position: relative;
  min-width: 0;
  min-height: 39px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(183, 198, 236, .17);
  border-radius: 9px;
  background: rgba(5, 8, 17, .68);
  box-shadow: inset 0 6px 18px rgba(0, 0, 0, .18), 0 1px rgba(255, 255, 255, .025);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.input-port:focus-within,
.select-port:focus-within { border-color: rgba(183, 198, 236, .55); box-shadow: inset 0 6px 18px rgba(0, 0, 0, .18), 0 0 0 3px rgba(135, 155, 208, .09); }
.form-field.is-invalid .input-port,
.form-field.is-invalid .select-port { border-color: rgba(255, 157, 157, .72); }
.input-port > i { width: 32px; flex: 0 0 32px; color: var(--slate); font: normal 12px/1 ui-monospace, monospace; text-align: center; }
.input-port input,
.input-port textarea,
.select-port select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: 500 12px/1.3 Inter, ui-sans-serif, sans-serif;
}
.input-port input { height: 37px; padding: 0 11px; }
.input-port > i + input { padding-left: 0; }
.input-port input::placeholder,
.input-port textarea::placeholder { color: #596279; }
.select-port::after { content: "⌄"; position: absolute; right: 11px; top: 50%; color: var(--slate); transform: translateY(-56%); pointer-events: none; }
.select-port select { height: 37px; padding: 0 31px 0 11px; appearance: none; cursor: pointer; }
.select-port select option { color: var(--ink); background: #11182a; }
.textarea-port { min-height: 48px; align-items: stretch; }
.input-port textarea { min-height: 46px; padding: 9px 11px; resize: vertical; }

.choice-bank { min-width: 0; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; border: 0; }
.choice-switch { min-width: 0; cursor: pointer; }
.choice-switch input { position: absolute; opacity: 0; pointer-events: none; }
.choice-switch > span {
  min-height: 58px;
  padding: 9px 10px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 7px;
  align-content: center;
  border: 1px solid rgba(183, 198, 236, .14);
  border-radius: 10px;
  background: rgba(5, 8, 17, .5);
  transition: border-color .2s ease, background .2s ease, transform .25s var(--ease), box-shadow .2s ease;
}
.choice-switch > span > i { grid-row: 1 / 3; width: 24px; height: 24px; display: grid; place-items: center; align-self: center; border: 1px solid var(--line-strong); border-radius: 7px; color: var(--slate); font: normal 7px/1 ui-monospace, monospace; }
.choice-switch b { overflow: hidden; color: var(--muted); font-size: 10px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.choice-switch small { overflow: hidden; color: var(--muted-2); font-size: 8px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.choice-switch:hover > span { transform: translateY(-1px); border-color: var(--line-strong); background: rgba(135, 155, 208, .055); }
.choice-switch.is-invalid > span { border-color: rgba(255, 157, 157, .72); }
.choice-switch input:focus-visible + span { outline: 2px solid var(--slate-bright); outline-offset: 2px; }
.choice-switch input:checked + span { border-color: rgba(183, 198, 236, .52); background: linear-gradient(135deg, rgba(135, 155, 208, .17), rgba(13, 18, 33, .78)); box-shadow: 0 0 18px rgba(135, 155, 208, .08), inset 0 1px rgba(255, 255, 255, .045); }
.choice-switch input:checked + span > i { color: #080b14; border-color: var(--slate-bright); background: var(--slate-bright); box-shadow: 0 0 11px rgba(135, 155, 208, .36); }
.choice-switch input:checked + span b { color: var(--ink); }
.choice-wide { grid-column: 1 / -1; }
.profile-bank { margin-top: 18px; }
.profile-bank .choice-switch > span { min-height: 73px; }

.panel-actions { margin-top: 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 13px; }
.form-feedback { margin: 0; color: var(--muted-2); font-size: 8px; line-height: 1.35; }
.form-feedback.is-error { color: #ffb5b5; }
.machine-submit {
  min-height: 38px;
  padding: 0 13px 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgba(183, 198, 236, .58);
  border-radius: 999px;
  color: #080b14;
  background: linear-gradient(135deg, var(--slate-bright), var(--machine-accent));
  box-shadow: 0 8px 23px rgba(89, 111, 169, .21), inset 0 1px rgba(255, 255, 255, .5);
  cursor: pointer;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
  touch-action: manipulation;
  transition: box-shadow .25s ease, filter .25s ease;
}
.machine-submit:hover { filter: brightness(1.06); box-shadow: 0 12px 28px rgba(89, 111, 169, .32), inset 0 1px rgba(255, 255, 255, .55); }
.machine-submit:active { filter: brightness(.96); box-shadow: 0 5px 16px rgba(89, 111, 169, .25), inset 0 1px rgba(255, 255, 255, .45); }
.machine-submit:disabled { cursor: wait; opacity: .74; filter: none; }
.machine-submit i { font-style: normal; }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.journey-machine.is-sent .submit-final { cursor: default; opacity: 1; background: linear-gradient(135deg, #a9b9e3, #7aa8ca); }

.machine-works { position: absolute; z-index: 3; pointer-events: none; transform-style: preserve-3d; }
.machine-caption { position: absolute; color: rgba(162, 171, 192, .42); font: 6px/1 ui-monospace, monospace; letter-spacing: .14em; }

/* Step 1: capture hopper, signal tube and verification wheel. */
.works-intake { right: 3%; top: 8%; width: 31%; height: 82%; }
.intake-hopper { position: absolute; left: 6%; top: 3%; width: 104px; height: 82px; border: 1px solid var(--line-strong); border-radius: 15px 15px 28px 28px; background: linear-gradient(145deg, #202b49, #0b1020 72%); box-shadow: 11px 14px 25px rgba(0, 0, 0, .3); transform: rotateY(-15deg) rotateX(6deg) translateZ(24px); }
.intake-hopper::after { content: ""; position: absolute; left: 35px; bottom: -39px; width: 32px; height: 42px; border: 1px solid var(--line-strong); border-top: 0; background: linear-gradient(90deg, #11182b, #273557, #11182b); clip-path: polygon(0 0, 100% 0, 73% 100%, 27% 100%); }
.intake-hopper i { position: absolute; left: 17px; right: 17px; height: 4px; border-radius: 9px; background: rgba(183, 198, 236, .24); }
.intake-hopper i:first-child { top: 21px; }
.intake-hopper i:nth-child(2) { top: 36px; right: 32px; }
.intake-hopper b { position: absolute; right: 12px; bottom: 10px; width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid rgba(183, 198, 236, .38); border-radius: 50%; color: var(--slate-bright); font: 8px/1 ui-monospace, monospace; }
.signal-tube { position: absolute; left: 49%; top: 36%; width: 92px; height: 22px; display: flex; align-items: center; justify-content: space-around; border: 1px solid rgba(183, 198, 236, .24); border-radius: 999px; background: linear-gradient(#18223b, #0b1020); box-shadow: 0 9px 17px rgba(0, 0, 0, .23); transform: rotate(54deg) rotateY(-14deg) translateZ(16px); }
.signal-tube i { width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #fff, var(--slate) 38%, #263557 72%); box-shadow: 0 0 10px rgba(135, 155, 208, .48); }
.journey-step-1.has-signal .signal-tube i { animation: tubeSignal 1.2s ease-in-out infinite; }
.journey-step-1.has-signal .signal-tube i:nth-child(2) { animation-delay: .2s; }
.journey-step-1.has-signal .signal-tube i:nth-child(3) { animation-delay: .4s; }
@keyframes tubeSignal { 50% { transform: translateX(12px) scale(1.22); filter: brightness(1.35); } }
.signal-wheel { position: absolute; right: 4%; bottom: 12%; width: 91px; height: 91px; border: 8px dashed rgba(183, 198, 236, .31); border-radius: 50%; background: radial-gradient(circle, #080b14 0 18%, var(--slate-deep) 20% 27%, #151e34 29% 57%, transparent 59%); transform: rotateX(-12deg) translateZ(18px); }
.signal-wheel i { position: absolute; inset: 28%; border: 1px solid var(--line-strong); border-radius: 50%; }
.signal-wheel b { position: absolute; left: -43px; top: 41px; width: 48px; height: 2px; background: rgba(183, 198, 236, .19); }
.journey-step-1.has-signal .signal-wheel { animation: gearForward 3s linear infinite; }
.works-intake .caption-a { left: 4%; top: 29%; }
.works-intake .caption-b { right: 4%; top: 55%; }
.works-intake .caption-c { right: 7%; bottom: 4%; }

/* Step 2: a sorting dial and gear bank feed the selected workstream. */
.panel-scope { left: 37%; top: 3%; width: 59%; padding-block: 14px; transform: none; }
.works-scope { left: 2.5%; top: 7%; width: 34%; height: 83%; }
.scope-dial { position: absolute; left: 3%; top: 3%; width: 116px; height: 116px; display: grid; place-items: center; border: 7px double rgba(183, 198, 236, .25); border-radius: 50%; background: radial-gradient(circle, #0a0f1e 0 24%, #273557 25% 30%, #10182b 32% 62%, transparent 63%); box-shadow: 11px 15px 25px rgba(0, 0, 0, .3); transform: rotateY(15deg) translateZ(28px); }
.scope-dial::before { content: ""; position: absolute; left: 50%; top: 12px; width: 2px; height: 38px; background: var(--slate-bright); box-shadow: 0 0 9px rgba(183, 198, 236, .5); transform-origin: 50% 46px; rotate: -38deg; }
.scope-dial i { position: absolute; inset: 16px; border: 1px dashed rgba(183, 198, 236, .23); border-radius: 50%; }
.scope-dial b { color: var(--slate-bright); font: 7px/1 ui-monospace, monospace; letter-spacing: .1em; }
.journey-step-2.has-signal .scope-dial::before { animation: dialChoose 1.6s var(--ease) both; }
@keyframes dialChoose { 50% { rotate: 68deg; } 100% { rotate: 34deg; } }
.scope-gears { position: absolute; left: 12%; top: 43%; width: 122px; height: 96px; }
.scope-gears i { position: absolute; border: 6px dashed rgba(183, 198, 236, .3); border-radius: 50%; background: radial-gradient(circle, #080b14 0 19%, #596fa9 21% 28%, #151d31 30% 58%, transparent 60%); }
.scope-gears i:nth-child(1) { width: 67px; height: 67px; left: 0; top: 0; }
.scope-gears i:nth-child(2) { width: 49px; height: 49px; left: 58px; top: 44px; border-color: rgba(196, 167, 231, .34); }
.scope-gears i:nth-child(3) { width: 32px; height: 32px; left: 80px; top: 5px; border-width: 4px; }
.journey-step-2.has-signal .scope-gears i:nth-child(odd) { animation: gearForward 2.4s linear infinite; }
.journey-step-2.has-signal .scope-gears i:nth-child(2) { animation: gearReverse 1.8s linear infinite; }
.scope-sorter { position: absolute; left: 18%; bottom: 2%; width: 132px; height: 42px; display: flex; align-items: flex-end; gap: 7px; border-bottom: 4px solid #202c49; transform: rotateY(12deg) translateZ(18px); }
.scope-sorter i { width: 24px; height: 28px; border: 1px solid var(--line-strong); border-radius: 5px; background: linear-gradient(145deg, #34466f, #10172a); }
.journey-step-2.has-signal .scope-sorter i { animation: sorterLift 1.4s var(--ease) infinite alternate; }
.journey-step-2.has-signal .scope-sorter i:nth-child(2) { animation-delay: .15s; }
.journey-step-2.has-signal .scope-sorter i:nth-child(3) { animation-delay: .3s; }
.journey-step-2.has-signal .scope-sorter i:nth-child(4) { animation-delay: .45s; }
@keyframes sorterLift { to { transform: translateY(-12px) rotateX(18deg); filter: brightness(1.25); } }
.works-scope .caption-a { left: 2%; top: 32%; }
.works-scope .caption-b { right: 3%; top: 59%; }
.works-scope .caption-c { right: 8%; bottom: 0; }

/* Step 3: an orbiting profile prism changes focus as the answer is selected. */
.panel-profile { left: 4%; top: 5%; width: 58%; }
.profile-source-field { margin-top: 10px; }
.works-profile { right: 2%; top: 4%; width: 35%; height: 88%; perspective: 700px; }
.profile-cube { position: absolute; left: 48%; top: 33%; width: 74px; height: 74px; margin: -37px; transform-style: preserve-3d; transform: rotateX(-20deg) rotateY(32deg); }
.profile-cube .face { font-size: 7px; }
.profile-cube .front { transform: translateZ(37px); }
.profile-cube .back { transform: rotateY(180deg) translateZ(37px); }
.profile-cube .right { transform: rotateY(90deg) translateZ(37px); }
.profile-cube .left { transform: rotateY(-90deg) translateZ(37px); }
.profile-cube .top { transform: rotateX(90deg) translateZ(37px); }
.profile-cube .bottom { transform: rotateX(-90deg) translateZ(37px); }
.journey-step-3.has-signal .profile-cube { animation: profileCycle 6.4s linear infinite; }
@keyframes profileCycle { to { transform: rotateX(340deg) rotateY(752deg) translateZ(10px); } }
.profile-orbit { position: absolute; left: 48%; top: 33%; border: 1px solid rgba(183, 198, 236, .2); border-radius: 50%; transform-style: preserve-3d; }
.profile-orbit i { position: absolute; left: 50%; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--slate-bright); box-shadow: 0 0 12px rgba(183, 198, 236, .65); }
.orbit-outer { width: 178px; height: 104px; margin: -52px -89px; transform: rotateX(67deg) rotateZ(-9deg); }
.orbit-inner { width: 112px; height: 166px; margin: -83px -56px; border-style: dashed; transform: rotateY(69deg) rotateZ(14deg); }
.journey-step-3.has-signal .orbit-outer { animation: orbitProfileA 4s linear infinite; }
.journey-step-3.has-signal .orbit-inner { animation: orbitProfileB 3.2s linear infinite reverse; }
@keyframes orbitProfileA { to { transform: rotateX(67deg) rotateZ(351deg); } }
@keyframes orbitProfileB { to { transform: rotateY(69deg) rotateZ(374deg); } }
.profile-lens { position: absolute; left: 17%; bottom: 5%; width: 140px; height: 62px; border: 1px solid var(--line-strong); border-radius: 50%; background: radial-gradient(circle, rgba(135, 155, 208, .16), rgba(7, 10, 19, .8) 62%); transform: rotateX(58deg) rotateZ(-8deg) translateZ(12px); }
.profile-lens i { position: absolute; inset: 12px; border: 1px dashed rgba(183, 198, 236, .23); border-radius: 50%; }
.profile-lens b { position: absolute; left: calc(50% - 5px); top: calc(50% - 5px); width: 10px; height: 10px; border-radius: 50%; background: var(--slate); box-shadow: 0 0 16px rgba(135, 155, 208, .6); }
.works-profile .caption-a { left: 3%; top: 9%; }
.works-profile .caption-b { right: 1%; top: 55%; }
.works-profile .caption-c { left: 15%; bottom: 1%; }

/* Step 4: compact final assembly with a visible four-packet conveyor. */
.contact-scene { height: clamp(570px, 64vh, 600px); min-height: 570px; }
.panel-contact { left: 3.5%; top: 2.5%; width: 93%; padding: 13px 18px; transform: none; }
.contact-form-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 14px; }
.saved-answer { max-width: 180px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted-2); font: 6px/1.2 ui-monospace, monospace; letter-spacing: .05em; text-align: center; }
.saved-answer.is-set { color: var(--slate-bright); border-color: rgba(183, 198, 236, .28); background: rgba(135, 155, 208, .06); }
.final-form-grid { margin-top: 9px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px; }
.form-field-wide { grid-column: 1 / -1; }
.final-work-field { margin: 0; padding: 0; border: 0; }
.form-field-label { width: 100%; margin: 0 0 5px; padding: 0; }
.final-work-bank { min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.final-work-choice { position: relative; min-width: 0; cursor: pointer; }
.final-work-choice input { position: absolute; opacity: 0; pointer-events: none; }
.final-work-choice span { min-height: 30px; padding: 6px 8px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(183, 198, 236, .17); border-radius: 8px; color: var(--muted); background: rgba(5, 8, 17, .68); font-size: 9px; font-weight: 650; line-height: 1.2; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.final-work-choice input:focus-visible + span { outline: 2px solid var(--slate-bright); outline-offset: 2px; }
.final-work-choice input:checked + span { border-color: rgba(183, 198, 236, .52); color: var(--ink); background: linear-gradient(135deg, rgba(135, 155, 208, .17), rgba(13, 18, 33, .78)); box-shadow: 0 0 14px rgba(135, 155, 208, .08); }
.panel-contact .input-port,
.panel-contact .select-port { min-height: 34px; }
.panel-contact .input-port input,
.panel-contact .select-port select { height: 32px; }
.panel-contact .textarea-port { min-height: 43px; }
.panel-contact .input-port textarea { min-height: 41px; }
.form-assembly-line { position: relative; height: 28px; margin: 6px 0 0; padding-inline: 6px; display: flex; align-items: center; }
.form-assembly-line > span { position: relative; z-index: 2; width: 22px; height: 19px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 4px; background: linear-gradient(145deg, #2c3a5e, #111829); box-shadow: 3px 4px 7px rgba(0, 0, 0, .22); }
.form-assembly-line span i { color: var(--slate-bright); font: normal 6px/1 ui-monospace, monospace; }
.form-assembly-line > b { flex: 1; height: 3px; background: repeating-linear-gradient(90deg, rgba(183, 198, 236, .24) 0 7px, transparent 7px 11px); }
.form-assembly-line > em { margin-left: 9px; color: var(--muted-2); font: normal 6px/1 ui-monospace, monospace; letter-spacing: .12em; }
.journey-step-4.has-signal .form-assembly-line > span { animation: packetReady 1.7s var(--ease) infinite alternate; }
.journey-step-4.has-signal .form-assembly-line > span:nth-of-type(2) { animation-delay: .15s; }
.journey-step-4.has-signal .form-assembly-line > span:nth-of-type(3) { animation-delay: .3s; }
.journey-step-4.has-signal .form-assembly-line > span:nth-of-type(4) { animation-delay: .45s; }
@keyframes packetReady { to { transform: translateY(-3px) rotateX(15deg); filter: brightness(1.25); } }
.final-actions { margin-top: 7px; }
.works-contact { right: 1%; bottom: 0; width: 140px; height: 80px; opacity: .6; }
.contact-piston { position: absolute; left: 0; top: 11px; width: 65px; height: 21px; border: 1px solid var(--line-strong); border-radius: 6px; background: #151e33; }
.contact-piston i { position: absolute; right: -37px; top: 7px; width: 38px; height: 6px; background: linear-gradient(90deg, #293859, var(--slate)); }
.stamp-wheel { position: absolute; right: 17px; top: 0; width: 42px; height: 42px; border: 5px dashed rgba(183, 198, 236, .3); border-radius: 50%; }
.stamp-wheel i { position: absolute; inset: 26%; border: 1px solid var(--line-strong); border-radius: 50%; }
.mail-packet { position: absolute; right: 4px; bottom: 4px; width: 50px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 6px; background: linear-gradient(145deg, #34466f, #111829); }
.mail-packet i { color: var(--slate-bright); font-style: normal; }
.journey-step-4.is-routing .contact-piston i { animation: pistonStamp .55s var(--ease) 2; }
.journey-step-4.is-routing .stamp-wheel { animation: gearForward 1s linear infinite; }
.journey-step-4.is-routing .mail-packet { animation: packetSend 1s var(--ease) both; }
@keyframes pistonStamp { 50% { transform: translateX(20px); } }
@keyframes packetSend { to { transform: translate(80px, -45px) rotateZ(-12deg) scale(.7); opacity: 0; } }

/* Compact content systems shared by Services, About and Contact. */
.section-title { margin: 0; font-size: clamp(45px, 4.8vw, 78px); line-height: .94; letter-spacing: -.055em; font-weight: 700; }
.section-title em { color: var(--slate-bright); font-style: normal; }
.section-intro { max-width: 660px; margin: 18px 0 0; color: var(--muted); font-size: 16px; }
.service-list { margin-top: 25px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.service-item {
  min-height: 105px;
  padding: 5px 15px 15px 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, .015);
  transition: none;
}
.service-item > span { color: var(--slate); font: 7px/1 ui-monospace, monospace; letter-spacing: .12em; }
.service-item h2 { margin: 5px 0 5px; font-size: 17px; letter-spacing: -.025em; }
.service-item p { margin: 0; color: var(--muted-2); font-size: 10px; line-height: 1.45; }

.about-summary { max-width: 700px; margin: 18px 0 0; color: var(--muted); font-size: 15px; }
.about-intro-with-photo { max-width: 700px; margin-top: 18px; display: flow-root; }
.about-intro-with-photo .about-summary { max-width: none; margin-top: 0; }
.about-portrait {
  float: left;
  width: clamp(112px, 10vw, 142px);
  height: auto;
  margin: 0 18px 8px 0;
  border: 1px solid rgba(183, 198, 236, .26);
  border-radius: 18px;
  background: radial-gradient(circle at 48% 31%, rgba(117, 143, 207, .22), rgba(11, 16, 29, .8) 72%);
  box-shadow: 0 16px 32px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.credential-grid { margin-top: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.credential {
  min-height: 79px;
  padding: 12px;
  display: grid;
  align-content: space-between;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, .015);
}
.credential b { color: var(--slate-bright); font-size: 18px; line-height: 1; }
.credential span { color: var(--muted-2); font-size: 8px; line-height: 1.35; text-transform: uppercase; letter-spacing: .07em; }
.cert-list { margin-top: 14px; }
.profile-link { margin-top: 17px; }

.contact-options { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.contact-card {
  min-height: 104px;
  padding: 15px;
  display: grid;
  align-content: space-between;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, .017);
  transition: transform .3s var(--ease), border-color .25s ease, background .25s ease;
}
.contact-card:hover { transform: translateY(-2px); border-color: var(--line-strong); background: rgba(135, 155, 208, .05); }
.contact-card small { color: var(--muted-2); font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.contact-card strong { color: var(--slate-bright); font-size: 13px; overflow-wrap: anywhere; }
.contact-linkedin-card {
  width: min(100%, 290px);
  min-height: 72px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.contact-linkedin-card strong { display: inline-flex; align-items: center; justify-content: center; gap: 11px; font-size: 18px; }
.linkedin-badge {
  position: relative;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(173, 210, 255, .72);
  border-radius: 12px;
  background: linear-gradient(145deg, #2598f2 0%, #176ff1 48%, #0754bd 100%);
  box-shadow: 0 5px 0 #073f91, 0 8px 14px rgba(0, 53, 135, .35), inset 1px 1px 0 rgba(255, 255, 255, .48), inset -2px -3px 7px rgba(1, 30, 105, .28);
  transform: translateY(-2px);
  transition: transform .25s var(--ease), box-shadow .25s ease, filter .25s ease;
}
.linkedin-badge::before {
  content: "";
  position: absolute;
  inset: 2px 3px auto;
  height: 43%;
  border-radius: 9px 9px 7px 7px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .36), rgba(255, 255, 255, 0));
}
.linkedin-badge svg { position: relative; z-index: 1; width: 25px; height: 25px; fill: #fff; filter: drop-shadow(0 2px 1px rgba(0, 35, 105, .34)); }
.contact-linkedin-card:hover .linkedin-badge { transform: translateY(-4px) rotate(-2deg) scale(1.05); box-shadow: 0 7px 0 #073f91, 0 12px 20px rgba(0, 53, 135, .42), inset 1px 1px 0 rgba(255, 255, 255, .52); }

@media (min-width: 941px) {
  .page-main { align-items: start; }
  .page-grid { align-items: start; }
  .page-grid .machine-shell { margin-top: clamp(48px, 6vh, 64px); }
  .page-services .page-copy .section-title {
    width: calc(100% + clamp(24px, 2vw, 36px));
    max-width: 620px;
    font-size: clamp(52px, 4.5vw, 78px);
  }
}

.privacy-main {
  width: min(100%, 1120px);
  min-height: calc(100svh - 116px);
  margin-inline: auto;
  padding: clamp(48px, 7vh, 82px) var(--pad);
}
.privacy-heading { max-width: 780px; }
.privacy-heading h1 { margin: 0; font-size: clamp(54px, 7vw, 92px); line-height: .9; letter-spacing: -.065em; }
.privacy-heading h1 em { color: transparent; background: linear-gradient(110deg, var(--slate-bright), var(--slate), var(--violet)); background-clip: text; -webkit-background-clip: text; font-style: normal; }
.privacy-heading > p:last-child { max-width: 680px; margin: 24px 0 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.privacy-grid { margin-top: 38px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.privacy-card { min-height: 185px; padding: 21px; border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(145deg, rgba(17, 23, 41, .72), rgba(9, 13, 25, .76)); box-shadow: inset 0 1px rgba(255, 255, 255, .025); }
.privacy-card > span { color: var(--slate); font: 7px/1 ui-monospace, monospace; letter-spacing: .12em; }
.privacy-card h2 { margin: 13px 0 8px; font-size: 19px; letter-spacing: -.025em; }
.privacy-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.privacy-note { margin-top: 10px; padding: 21px; border: 1px solid var(--line); border-radius: 17px; background: rgba(135, 155, 208, .035); }
.privacy-note h2 { margin: 0 0 7px; font-size: 17px; }
.privacy-note p { max-width: 850px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.privacy-note a { color: var(--slate-bright); text-decoration: underline; text-decoration-color: rgba(183, 198, 236, .35); text-underline-offset: 3px; }
.privacy-note small { display: block; margin-top: 12px; color: var(--muted-2); font-size: 8px; }

.site-footer {
  width: min(100%, var(--max));
  min-height: 44px;
  margin-inline: auto;
  padding: 9px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 9px;
}
.site-footer b { font-weight: inherit; }
.footer-link { margin-left: 8px; color: var(--slate-bright); text-decoration: underline; text-decoration-color: rgba(183, 198, 236, .24); text-underline-offset: 3px; }
.footer-link:hover { color: var(--ink); }

@media (max-width: 1180px) {
  .page-grid { grid-template-columns: minmax(330px, .8fr) minmax(560px, 1.2fr); gap: 30px; }
  .page-copy h1 { font-size: clamp(54px, 6.5vw, 82px); }
  .machine-scene { height: clamp(330px, 44vh, 430px); }
}

@media (max-width: 940px) {
  body { display: block; }
  .site-header { position: sticky; z-index: 50; top: 0; grid-template-columns: 1fr auto; background: rgba(8, 11, 20, .88); backdrop-filter: blur(18px); }
  .site-header nav { order: 3; grid-column: 1 / -1; justify-content: center; }
  .header-cta { display: none; }
  .page-main { min-height: auto; padding-block: 54px; }
  .page-grid { grid-template-columns: 1fr; max-width: 820px; }
  .page-copy { max-width: 720px; }
  .page-copy h1 { font-size: clamp(58px, 11vw, 92px); }
  .machine-scene { height: 450px; }
  .machine-shell { margin-top: 12px; }
  .journey-scene { height: 520px; }
  .contact-scene { height: 590px; }
}

@media (max-width: 620px) {
  :root { --pad: 18px; }
  .site-header { gap: 12px; padding-top: 10px; }
  .brand { font-size: 14px; }
  .site-header nav { width: 100%; gap: 0; justify-content: space-between; overflow-x: auto; }
  .site-header nav a { font-size: 10px; white-space: nowrap; }
  .page-main { padding-block: 38px; }
  .page-copy h1 { font-size: clamp(52px, 15vw, 76px); }
  .lede { margin-top: 22px; font-size: 16px; }
  .action-row { align-items: flex-start; flex-direction: column; gap: 15px; }
  .capability-row { margin-top: 25px; }
  .machine-toolbar { padding-inline: 14px; align-items: flex-start; }
  .machine-toolbar > div { min-width: 0; }
  .machine-kicker { line-height: 1.25; }
  .machine-scene { height: 390px; min-height: 390px; transform-origin: top center; }
  .machine-part { scale: .82; }
  .machine-part:hover,
  .machine-part:focus-visible { scale: .88; }
  .m-intake { left: 0; }
  .m-ramp { left: 13%; }
  .m-gears { left: 35%; }
  .m-core { left: 54%; }
  .m-dominoes { left: 61%; top: 59%; }
  .m-output { right: -2%; }
  .link-one { left: 13%; width: 14%; }
  .link-two { left: 27%; width: 17%; }
  .link-three { left: 47%; }
  .link-four { left: 64%; }
  .link-five { left: 74%; width: 15%; }
  .machine-readout { grid-template-columns: 1fr auto; gap: 10px; }
  .machine-readout p { grid-column: 1 / -1; grid-row: 2; }
  .milestones { grid-column: 2; grid-row: 1; }
  .milestones i { width: 10px; }
  .journey-track { min-height: 86px; padding: 9px 6px 8px; gap: 4px; }
  .journey-track a { grid-template-columns: 1fr; justify-items: center; row-gap: 3px; text-align: center; }
  .journey-track a > span { width: 21px; height: 21px; }
  .journey-track b,
  .journey-track small { grid-column: 1; width: 100%; }
  .journey-track li:not(:last-child)::after { left: calc(50% + 12px); right: calc(-50% + 8px); top: 11px; }
  .journey-scene,
  .contact-scene { height: auto; min-height: 0; padding: 18px 13px 118px; overflow: hidden; }
  .machine-form-panel,
  .panel-scope,
  .panel-profile,
  .panel-contact {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    padding: 16px;
    transform: none;
  }
  .journey-machine.is-routing .machine-form-panel { transform: translateY(-2px); }
  .machine-form-panel h2 { font-size: 24px; }
  .machine-works { top: auto; right: auto; bottom: 7px; left: 50%; width: 280px; height: 104px; opacity: .58; transform: translateX(-50%) scale(.7); transform-origin: center bottom; }
  .works-intake .intake-hopper { left: 2%; top: 0; }
  .works-intake .signal-tube { left: 42%; top: 22%; }
  .works-intake .signal-wheel { right: 1%; bottom: 0; }
  .works-scope .scope-dial { left: 0; top: -16px; }
  .works-scope .scope-gears { left: 39%; top: 11px; }
  .works-scope .scope-sorter { left: 56%; bottom: 0; }
  .works-profile { bottom: 0; height: 120px; perspective: 700px; }
  .works-profile .profile-cube,
  .works-profile .profile-orbit { left: 50%; top: 48%; }
  .works-profile .profile-lens { left: 3%; bottom: -8px; }
  .contact-scene { padding-bottom: 18px; }
  .works-contact { display: none; }
  .choice-bank,
  .final-form-grid,
  .intake-identity-grid { grid-template-columns: 1fr; }
  .final-work-bank { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice-wide,
  .form-field-wide,
  .intake-email-field { grid-column: auto; }
  .contact-form-heading { grid-template-columns: 1fr; align-items: start; }
  .saved-answer { max-width: none; width: max-content; }
  .panel-actions { grid-template-columns: 1fr; }
  .machine-submit { width: 100%; }
  .service-list,
  .credential-grid,
  .contact-options,
  .privacy-grid { grid-template-columns: 1fr; }
  .privacy-main { padding-top: 42px; }
  .privacy-heading h1 { font-size: clamp(50px, 14vw, 72px); }
  .privacy-heading > p:last-child { font-size: 15px; }
  .service-item { min-height: auto; }
  .about-portrait { width: 104px; margin-right: 14px; border-radius: 15px; }
  .contact-linkedin-card { width: min(100%, 280px); min-height: 70px; }
  .site-footer { flex-direction: column; align-items: flex-start; padding-block: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

:focus-visible { outline: 2px solid var(--slate-bright); outline-offset: 4px; }
