:root {
  --ink: #091116;
  --ink-soft: #12232a;
  --bone: #f5f1e8;
  --paper: #fffdf8;
  --cyan: #35d9c3;
  --cyan-soft: #a8fff1;
  --amber: #ffb000;
  --lime: #d7ff4a;
  --blue: #1d45ff;
  --muted: #68767a;
  --line-dark: rgba(245, 241, 232, 0.18);
  --line-light: rgba(9, 17, 22, 0.16);
  --header-height: 4rem;
  --page-pad: clamp(1.25rem, 5vw, 5rem);
  --content-max: 92rem;
  --display: "Arial Black", "Arial Narrow", "Franklin Gothic Medium", Arial, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem + env(safe-area-inset-top));
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body,
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.2em;
}

button,
summary {
  font: inherit;
}

button,
a,
summary {
  touch-action: manipulation;
}

:focus-visible {
  outline: 3px solid var(--bone);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--ink);
}

.project-track:focus-visible {
  outline-color: var(--ink);
  outline-offset: -4px;
  box-shadow: inset 0 0 0 7px var(--bone);
}

section,
aside,
footer,
[id] {
  scroll-margin-top: calc(var(--header-height) + 1rem + env(safe-area-inset-top));
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-180%);
  border-radius: 999px;
  background: var(--bone);
  color: var(--ink);
  padding: 0.8rem 1rem;
  font-weight: 800;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow,
.chapter-number,
.outcome-overline {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.35;
  text-transform: uppercase;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  min-height: calc(var(--header-height) + env(safe-area-inset-top));
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: calc(0.6rem + env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right)) 0.6rem max(0.75rem, env(safe-area-inset-left));
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(9, 17, 22, 0.9), rgba(9, 17, 22, 0));
  isolation: isolate;
  transform: translateZ(0);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled,
.site-header:focus-within {
  border-color: var(--line-dark);
  background: rgba(9, 17, 22, 0.96);
  box-shadow: 0 0.55rem 1.8rem rgba(0, 0, 0, 0.18);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.65rem;
  color: var(--bone);
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(245, 241, 232, 0.5);
  border-radius: 0.7rem;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--display);
  font-size: 0.74rem;
  letter-spacing: -0.03em;
}

.brand-name {
  display: inline;
  overflow: hidden;
  max-width: 6.2rem;
  font-size: 0.72rem;
  line-height: 1.05;
  white-space: normal;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.desktop-nav {
  display: none;
}

.header-cta,
.nav-menu > summary {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 0.65rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
}

.header-cta {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}

.nav-menu {
  position: relative;
}

.nav-menu > summary {
  cursor: pointer;
  list-style: none;
  background: rgba(9, 17, 22, 0.72);
  color: var(--bone);
}

.nav-menu > summary::-webkit-details-marker {
  display: none;
}

.nav-panel {
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 0;
  display: grid;
  width: min(17rem, calc(100vw - 1.5rem));
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 1rem;
  background: var(--ink-soft);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.38);
}

.nav-panel a {
  min-height: 3.25rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line-dark);
  font-weight: 750;
  text-decoration: none;
}

.nav-panel a:last-child {
  border-bottom: 0;
}

.nav-panel a:hover,
.nav-panel a:focus-visible {
  background: var(--cyan);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 20%, rgba(53, 217, 195, 0.18), transparent 28rem),
    radial-gradient(circle at 15% 72%, rgba(29, 69, 255, 0.18), transparent 24rem),
    var(--ink);
  isolation: isolate;
}

.hero::after {
  position: absolute;
  z-index: 1;
  inset: 35% 0 0;
  background: linear-gradient(180deg, transparent, rgba(9, 17, 22, 0.92) 42%, var(--ink) 100%);
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 241, 232, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 241, 232, 0.055) 1px, transparent 1px);
  background-size: 2.6rem 2.6rem;
  mask-image: linear-gradient(180deg, #000, transparent 88%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.78;
}

.hero-glow-one {
  top: 12%;
  right: -7rem;
  width: 18rem;
  height: 18rem;
  background: rgba(53, 217, 195, 0.2);
}

.hero-glow-two {
  top: 28%;
  left: -8rem;
  width: 16rem;
  height: 16rem;
  background: rgba(29, 69, 255, 0.18);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--content-max));
  min-height: 100svh;
  margin: 0 auto;
  padding: calc(var(--header-height) + env(safe-area-inset-top) + 1rem) var(--page-pad) max(1.35rem, env(safe-area-inset-bottom));
}

.hero-copy-block {
  position: relative;
  z-index: 4;
  max-width: 42rem;
  margin-top: 44svh;
}

.hero-copy-block .eyebrow {
  max-width: 28rem;
  color: var(--cyan-soft);
}

.hero h1 {
  max-width: 8ch;
  margin: 0.55rem 0 0;
  font-family: var(--display);
  font-size: clamp(3rem, 14vw, 5.4rem);
  font-weight: 950;
  letter-spacing: -0.075em;
  line-height: 0.88;
  text-transform: uppercase;
}

.hero-line {
  max-width: 19ch;
  margin: 0.7rem 0 0;
  color: var(--amber);
  font-size: clamp(1.35rem, 6vw, 2.3rem);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-support {
  max-width: 38rem;
  margin: 1rem 0 0;
  color: rgba(245, 241, 232, 0.86);
  font-size: clamp(0.98rem, 3.8vw, 1.15rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid currentcolor;
  border-radius: 999px;
  padding: 0.72rem 1.05rem;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}

.button-ghost {
  border-color: rgba(245, 241, 232, 0.5);
  color: var(--bone);
}

.button-ghost:hover {
  background: var(--bone);
  color: var(--ink);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin-top: 1rem;
  color: rgba(245, 241, 232, 0.65);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}

.motion-toggle {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(9, 17, 22, 0.74);
  color: var(--bone);
  padding: 0.55rem 0.75rem;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 800;
  pointer-events: none;
  visibility: hidden;
}

.motion-ready .motion-toggle {
  pointer-events: auto;
  visibility: visible;
}

.motion-icon {
  color: var(--cyan);
  font-weight: 950;
}

.hero-figure {
  position: absolute;
  z-index: 2;
  top: calc(var(--header-height) + env(safe-area-inset-top) + 1rem);
  right: -8%;
  left: 7%;
  height: 42svh;
  min-height: 17rem;
  margin: 0;
}

.hero-stack {
  position: relative;
  height: calc(100% - 2rem);
  perspective: 900px;
}

.hero-figure figcaption,
.chapter-figure figcaption {
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: 0;
  display: inline-flex;
  min-height: 1.75rem;
  align-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(9, 17, 22, 0.78);
  color: rgba(245, 241, 232, 0.8);
  padding: 0.35rem 0.55rem;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-figure figcaption {
  right: 8%;
  max-width: calc(92% - 0.5rem);
}

.proof-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(84vw, 31rem);
  height: min(31svh, 20rem);
  overflow: hidden;
  border: 1px solid rgba(245, 241, 232, 0.22);
  border-radius: 1.15rem;
  background: #121d22;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.48);
  opacity: 0;
  transform: translate(-50%, -50%) rotateX(3deg) rotateY(-4deg);
}

.proof-app {
  opacity: 1;
  transform: translate(-55%, -52%) rotate(-3deg);
}

.proof-flow {
  transform: translate(-48%, -49%) rotate(2deg);
}

.proof-decision {
  transform: translate(-52%, -47%) rotate(-1deg);
}

.motion-ready:not([data-motion="paused"]):not([data-motion="reduced"]) .hero:not([data-static]) .proof-frame {
  animation: proof-cycle 15s infinite;
}

.motion-ready:not([data-motion="paused"]):not([data-motion="reduced"]) .hero:not([data-static]) .proof-flow {
  animation-delay: 5s;
}

.motion-ready:not([data-motion="paused"]):not([data-motion="reduced"]) .hero:not([data-static]) .proof-decision {
  animation-delay: 10s;
}

@keyframes proof-cycle {
  0%, 27% { opacity: 1; }
  32%, 95% { opacity: 0; }
  100% { opacity: 1; }
}

.frame-topline,
.screen-bar {
  display: flex;
  height: 2rem;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(245, 241, 232, 0.12);
  color: rgba(245, 241, 232, 0.65);
  padding: 0 0.75rem;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.frame-dots,
.screen-bar {
  gap: 0.28rem;
}

.frame-dots i,
.screen-bar > span {
  display: inline-block;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: rgba(245, 241, 232, 0.35);
}

.app-layout {
  display: grid;
  height: calc(100% - 2rem);
  grid-template-columns: 3.2rem 1fr;
}

.app-sidebar {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  justify-items: center;
  border-right: 1px solid rgba(245, 241, 232, 0.1);
  padding-top: 0.75rem;
}

.app-sidebar span {
  width: 1.1rem;
  height: 0.22rem;
  border-radius: 999px;
  background: rgba(245, 241, 232, 0.22);
}

.app-sidebar .app-logo {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 0.4rem;
  background: var(--cyan);
}

.app-main {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  padding: 1rem;
}

.app-heading {
  width: 58%;
  height: 0.75rem;
  border-radius: 999px;
  background: var(--bone);
}

.app-question {
  display: flex;
  gap: 0.4rem;
  padding: 0.7rem;
  border: 1px solid rgba(245, 241, 232, 0.14);
  border-radius: 0.65rem;
}

.app-question i {
  width: 28%;
  height: 1.45rem;
  border-radius: 0.4rem;
  background: rgba(53, 217, 195, 0.18);
}

.app-question i:first-child {
  background: var(--cyan);
}

.app-question.short {
  width: 72%;
}

.app-progress {
  width: 100%;
  height: 0.4rem;
  margin-top: 0.2rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(245, 241, 232, 0.12);
}

.app-progress span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: var(--amber);
}

.flow-canvas {
  position: relative;
  height: calc(100% - 2rem);
  background-image:
    linear-gradient(rgba(245, 241, 232, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 241, 232, 0.045) 1px, transparent 1px);
  background-size: 1.5rem 1.5rem;
}

.flow-node {
  position: absolute;
  z-index: 2;
  display: grid;
  min-width: 3.2rem;
  min-height: 1.7rem;
  place-items: center;
  border: 1px solid rgba(245, 241, 232, 0.22);
  border-radius: 0.45rem;
  background: #1b2b32;
  color: var(--bone);
  padding: 0.3rem 0.45rem;
  font-family: var(--mono);
  font-size: 0.58rem;
}

.source-a { top: 16%; left: 7%; }
.source-b { top: 43%; left: 7%; }
.source-c { top: 70%; left: 7%; }
.flow-node.hub { top: 39%; left: 42%; border-color: var(--cyan); background: rgba(53, 217, 195, 0.14); }
.flow-node.output { top: 39%; right: 7%; border-color: var(--amber); background: var(--amber); color: var(--ink); font-weight: 900; }

.flow-line {
  position: absolute;
  z-index: 1;
  left: 22%;
  width: 26%;
  height: 1px;
  background: linear-gradient(90deg, rgba(53, 217, 195, 0.3), var(--cyan));
  transform-origin: right center;
}

.line-one { top: 25%; transform: rotate(20deg); }
.line-two { top: 51%; }
.line-three { top: 76%; transform: rotate(-20deg); }

.flow-node.hub::after {
  position: absolute;
  top: 50%;
  left: 100%;
  width: 7rem;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
  content: "";
}

.decision-layout {
  display: grid;
  height: calc(100% - 2rem);
  grid-template-columns: 1.25fr 0.9fr;
  gap: 0.75rem;
  padding: 0.8rem;
}

.chart-surface {
  display: flex;
  align-items: end;
  justify-content: space-around;
  gap: 0.35rem;
  border: 1px solid rgba(245, 241, 232, 0.12);
  border-radius: 0.7rem;
  background: linear-gradient(180deg, rgba(29, 69, 255, 0.16), transparent);
  padding: 1rem 0.65rem 0.65rem;
}

.chart-surface span {
  width: 13%;
  height: var(--bar);
  min-height: 1rem;
  border-radius: 0.3rem 0.3rem 0 0;
  background: linear-gradient(180deg, var(--cyan), rgba(53, 217, 195, 0.22));
}

.chart-surface .bar-one { --bar: 38%; }
.chart-surface .bar-two { --bar: 62%; }
.chart-surface .bar-three { --bar: 48%; }
.chart-surface .bar-four { --bar: 78%; }
.chart-surface .bar-five { --bar: 68%; }

.review-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 0.7rem;
  background: var(--bone);
  color: var(--ink);
  padding: 0.85rem;
}

.review-card small {
  font-family: var(--mono);
  font-size: 0.52rem;
  text-transform: uppercase;
}

.review-card strong {
  font-size: 0.9rem;
  line-height: 1.05;
}

.review-state {
  border-radius: 999px;
  background: var(--amber);
  padding: 0.35rem 0.5rem;
  font-size: 0.55rem;
  font-weight: 850;
  text-align: center;
}

.consult-ribbon {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-block: 1px solid var(--ink);
  background: var(--lime);
  color: var(--ink);
  padding: 0.85rem var(--page-pad);
}

.consult-ribbon p {
  margin: 0;
  font-size: 0.77rem;
  line-height: 1.35;
}

.consult-ribbon a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 950;
  white-space: nowrap;
}

.specialties,
.outcomes,
.project-reel,
.process-section,
.credibility {
  padding: clamp(4.5rem, 12vw, 8rem) var(--page-pad);
}

.specialties {
  overflow: hidden;
  background: var(--bone);
  color: var(--ink);
}

.section-intro {
  width: min(100%, 46rem);
}

.section-intro .eyebrow {
  color: #096f67;
}

.section-intro h2,
.story-heading h2,
.final-cta h2 {
  margin: 0.5rem 0 0;
  font-family: var(--display);
  font-size: clamp(2.45rem, 10vw, 5.5rem);
  letter-spacing: -0.065em;
  line-height: 0.94;
  text-transform: uppercase;
}

.section-intro > p:last-child {
  max-width: 40rem;
  margin: 1rem 0 0;
  color: #445155;
  font-size: 1rem;
}

.specialty-rail {
  display: grid;
  grid-auto-columns: min(78vw, 22rem);
  grid-auto-flow: column;
  gap: 0.8rem;
  margin: 2.2rem calc(var(--page-pad) * -1) 0;
  padding: 0 var(--page-pad) 1rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: var(--page-pad);
  scroll-snap-type: x proximity;
  scrollbar-color: var(--ink) rgba(9, 17, 22, 0.12);
}

.specialty-rail li {
  list-style: none;
  scroll-snap-align: start;
}

.specialty-rail a {
  display: flex;
  min-height: 10rem;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--ink);
  border-radius: 1.15rem;
  background: var(--paper);
  padding: 1rem;
  font-family: var(--display);
  font-size: clamp(1.55rem, 7vw, 2.35rem);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 0.95;
  text-decoration: none;
  text-transform: uppercase;
}

.specialty-rail li:nth-child(2n) a {
  background: var(--cyan);
}

.specialty-rail li:nth-child(3n) a {
  background: var(--amber);
}

.specialty-rail span {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.story-heading {
  background: var(--ink);
  padding: 5rem var(--page-pad) 2.25rem;
}

.story-heading .eyebrow {
  color: var(--cyan);
}

.story-heading h2 {
  max-width: 11ch;
}

.story-disclosure {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: rgba(245, 241, 232, 0.68);
  font-size: 0.82rem;
}

.story-chapter {
  position: relative;
  min-height: 96svh;
  padding: 3.5rem var(--page-pad);
}

.chapter-build {
  background: var(--bone);
  color: var(--ink);
}

.chapter-connect {
  background: #0b2230;
  color: var(--bone);
}

.chapter-decide {
  background: var(--lime);
  color: var(--ink);
}

.chapter-stage {
  display: grid;
  width: min(100%, var(--content-max));
  min-height: calc(96svh - 7rem);
  align-content: center;
  gap: 2rem;
  margin: 0 auto;
}

.chapter-copy {
  position: relative;
  z-index: 3;
}

.chapter-copy .chapter-number {
  color: #087b71;
}

.chapter-connect .chapter-number {
  color: var(--cyan);
}

.chapter-decide .chapter-number {
  color: #395000;
}

.chapter-copy h2 {
  max-width: 14ch;
  margin: 0.55rem 0 0;
  font-family: var(--display);
  font-size: clamp(2.35rem, 10vw, 5rem);
  letter-spacing: -0.065em;
  line-height: 0.92;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.chapter-copy > p:not(.chapter-number) {
  max-width: 32rem;
  margin: 1rem 0 0;
  font-size: clamp(1rem, 4.3vw, 1.35rem);
  font-weight: 650;
}

.chapter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
}

.chapter-tags li {
  list-style: none;
  border: 1px solid currentcolor;
  border-radius: 999px;
  padding: 0.55rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.2;
}

.dashboard-demo-teaser {
  max-width: 34rem;
  margin-top: 1.5rem;
  padding: clamp(1.1rem, 3vw, 1.45rem);
  border: 1px solid rgba(245, 241, 232, 0.22);
  border-radius: 1.2rem;
  background: var(--ink);
  color: var(--bone);
  box-shadow: 0 1.2rem 3rem rgba(9, 17, 22, 0.2);
}

.demo-teaser-eyebrow {
  margin: 0;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-demo-teaser h3 {
  max-width: 18ch;
  margin: 0.45rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.65rem, 5vw, 2.55rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-transform: uppercase;
}

.dashboard-demo-teaser > p:not(.demo-teaser-eyebrow):not(.demo-teaser-note) {
  max-width: 46ch;
  margin: 0.85rem 0 1rem;
  color: rgba(245, 241, 232, 0.82);
  font-size: 0.94rem;
  line-height: 1.5;
}

.dashboard-demo-teaser .button {
  gap: 0.55rem;
}

.demo-teaser-note {
  margin: 0.75rem 0 0;
  color: rgba(245, 241, 232, 0.66);
  font-family: var(--mono);
  font-size: 0.68rem;
  line-height: 1.45;
}

.chapter-figure {
  position: relative;
  height: clamp(22rem, 49svh, 35rem);
  margin: 0;
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.motion-ready .story-chapter:not(.is-visible) .chapter-figure,
.motion-ready .process-section:not(.is-visible) .process-path {
  opacity: 1;
  transform: translateY(1.25rem) scale(0.985);
}

.visual-scene {
  position: absolute;
  inset: 0 0 1.8rem;
  overflow: hidden;
  border: 1px solid currentcolor;
  border-radius: 1.3rem;
}

.build-figure .visual-scene {
  display: grid;
  grid-template-columns: 1fr 3.5rem 0.78fr;
  align-items: center;
  border-color: rgba(9, 17, 22, 0.22);
  background:
    linear-gradient(rgba(9, 17, 22, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 17, 22, 0.045) 1px, transparent 1px),
    #dce7e3;
  background-size: 1.5rem 1.5rem;
  padding: 1rem;
}

.assessment-screen {
  overflow: hidden;
  border: 1px solid rgba(9, 17, 22, 0.25);
  border-radius: 0.9rem;
  background: var(--paper);
  box-shadow: 0 1rem 2.5rem rgba(9, 17, 22, 0.14);
  transform: rotate(-2deg);
}

.assessment-screen .screen-bar {
  justify-content: flex-start;
  border-color: rgba(9, 17, 22, 0.1);
  color: var(--ink);
}

.assessment-screen .screen-bar > span {
  background: rgba(9, 17, 22, 0.25);
}

.assessment-screen .screen-bar b {
  margin-left: auto;
  font-size: 0.58rem;
}

.assessment-content {
  display: grid;
  gap: 0.6rem;
  padding: 1rem;
}

.question-line {
  width: 64%;
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(9, 17, 22, 0.22);
}

.question-line.wide {
  width: 88%;
  height: 0.65rem;
  background: var(--ink);
}

.answer-pill {
  width: 100%;
  height: 1.55rem;
  border: 1px solid rgba(9, 17, 22, 0.18);
  border-radius: 0.4rem;
}

.answer-pill.active {
  border-color: #087b71;
  background: rgba(53, 217, 195, 0.2);
}

.slider-line {
  position: relative;
  width: 100%;
  height: 0.3rem;
  border-radius: 999px;
  background: rgba(9, 17, 22, 0.14);
}

.slider-line i {
  position: absolute;
  top: 50%;
  left: 64%;
  width: 0.8rem;
  height: 0.8rem;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: #087b71;
  box-shadow: 0 0 0 1px #087b71;
  transform: translate(-50%, -50%);
}

.assessment-action {
  display: grid;
  min-height: 1.8rem;
  border-radius: 0.4rem;
  background: var(--ink);
  color: var(--bone);
  place-items: center;
  font-size: 0.62rem;
  font-weight: 800;
}

.transform-arrow {
  display: grid;
  gap: 0.35rem;
  align-content: center;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.52rem;
  text-align: center;
  text-transform: uppercase;
}

.transform-arrow i {
  position: relative;
  height: 2px;
  background: var(--ink);
}

.transform-arrow i::after {
  position: absolute;
  top: 50%;
  right: -1px;
  width: 0.55rem;
  height: 0.55rem;
  border-top: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.report-sheet {
  display: grid;
  min-height: 70%;
  align-content: start;
  gap: 0.65rem;
  border-radius: 0.25rem;
  background: var(--paper);
  box-shadow: 0 1.2rem 2.8rem rgba(9, 17, 22, 0.18);
  padding: 1rem;
  transform: rotate(3deg);
}

.report-kicker {
  color: #087b71;
  font-family: var(--mono);
  font-size: 0.5rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.report-sheet strong {
  font-family: var(--display);
  font-size: clamp(1rem, 4vw, 1.7rem);
  letter-spacing: -0.06em;
  line-height: 0.95;
  text-transform: uppercase;
}

.report-chart {
  display: flex;
  height: 5rem;
  align-items: end;
  gap: 0.35rem;
  padding: 0.5rem;
  background: rgba(53, 217, 195, 0.12);
}

.report-chart i {
  width: 22%;
  border-radius: 0.2rem 0.2rem 0 0;
  background: #087b71;
}

.report-chart i:nth-child(1) { height: 36%; }
.report-chart i:nth-child(2) { height: 72%; }
.report-chart i:nth-child(3) { height: 54%; }
.report-chart i:nth-child(4) { height: 88%; }

.report-line {
  width: 100%;
  height: 0.3rem;
  border-radius: 999px;
  background: rgba(9, 17, 22, 0.18);
}

.report-line.short {
  width: 58%;
}

.report-status {
  justify-self: start;
  border-radius: 999px;
  background: var(--lime);
  padding: 0.35rem 0.5rem;
  font-size: 0.55rem;
  font-weight: 850;
}

.system-map {
  display: grid;
  grid-template-columns: 0.72fr 1.2fr 0.72fr;
  align-items: center;
  gap: 0.8rem;
  border-color: rgba(245, 241, 232, 0.22);
  background:
    linear-gradient(rgba(245, 241, 232, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 241, 232, 0.05) 1px, transparent 1px),
    #071820;
  background-size: 1.5rem 1.5rem;
  padding: 1rem;
}

.source-column,
.output-column {
  display: grid;
  gap: 0.65rem;
}

.source-column span,
.output-column span {
  display: grid;
  min-height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(245, 241, 232, 0.25);
  border-radius: 0.55rem;
  background: rgba(245, 241, 232, 0.06);
  font-family: var(--mono);
  font-size: 0.58rem;
  text-align: center;
}

.output-column span {
  border-color: rgba(255, 176, 0, 0.58);
  background: rgba(255, 176, 0, 0.1);
}

.pipeline-core {
  position: relative;
  display: grid;
  min-height: 15rem;
  align-content: center;
  gap: 1rem;
  border: 1px solid var(--cyan);
  border-radius: 1rem;
  background: rgba(53, 217, 195, 0.08);
  padding: 1rem 0.65rem;
  box-shadow: 0 0 3rem rgba(53, 217, 195, 0.12);
}

.pipeline-label {
  color: var(--cyan-soft);
  font-family: var(--display);
  font-size: clamp(1rem, 4vw, 1.8rem);
  letter-spacing: -0.05em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.pipeline-steps {
  display: grid;
  gap: 0.35rem;
}

.pipeline-steps b {
  border-top: 1px solid rgba(245, 241, 232, 0.16);
  padding-top: 0.35rem;
  font-family: var(--mono);
  font-size: 0.52rem;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
}

.signal {
  position: absolute;
  top: 50%;
  left: -1.2rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 1.2rem var(--cyan);
}

.signal-two { top: 27%; animation-delay: 900ms; }
.signal-three { top: 73%; animation-delay: 1800ms; }

.motion-ready .chapter-connect.is-visible:not([data-static]) .signal {
  animation-name: signal-pulse;
  animation-duration: 2.6s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
  animation-fill-mode: both;
}

@keyframes signal-pulse {
  0%, 100% { transform: translateX(0); opacity: 0.45; }
  50% { transform: translateX(calc(100% + 2rem)); opacity: 1; }
}

.dashboard-scene {
  border-color: rgba(9, 17, 22, 0.28);
  background:
    linear-gradient(rgba(9, 17, 22, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 17, 22, 0.06) 1px, transparent 1px),
    #b9d84c;
  background-size: 1.5rem 1.5rem;
  padding: 1rem;
}

.dashboard-panel {
  width: 88%;
  height: 78%;
  overflow: hidden;
  border: 1px solid rgba(9, 17, 22, 0.3);
  border-radius: 1rem;
  background: var(--ink);
  color: var(--bone);
  box-shadow: 0 1.5rem 3rem rgba(9, 17, 22, 0.22);
}

.dashboard-toolbar {
  display: flex;
  min-height: 2.6rem;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-dark);
  padding: 0.65rem 0.8rem;
  font-family: var(--mono);
  font-size: 0.55rem;
}

.dashboard-toolbar span {
  color: var(--cyan);
}

.dashboard-grid {
  display: grid;
  height: calc(100% - 2.6rem);
  grid-template-columns: 1.3fr 0.8fr;
  grid-template-rows: 1fr 0.6fr;
  gap: 0.6rem;
  padding: 0.7rem;
}

.trend-panel,
.map-panel,
.signal-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 0.65rem;
  background: rgba(245, 241, 232, 0.04);
}

.trend-panel {
  grid-row: span 2;
  background-image:
    linear-gradient(rgba(245, 241, 232, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 241, 232, 0.055) 1px, transparent 1px);
  background-size: 1.2rem 1.2rem;
}

.trend-line {
  position: absolute;
  top: 56%;
  left: 8%;
  width: 84%;
  height: 2px;
  background: var(--cyan);
  box-shadow: 1.6rem -1.2rem 0 -0.5px var(--cyan), 3.4rem 0.9rem 0 -0.5px var(--cyan), 5.2rem -2rem 0 -0.5px var(--cyan);
  transform: rotate(-12deg);
}

.point {
  position: absolute;
  width: 0.45rem;
  height: 0.45rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 1px var(--amber);
}

.p-one { top: 63%; left: 18%; }
.p-two { top: 48%; left: 51%; }
.p-three { top: 31%; left: 78%; }

.map-panel {
  background:
    radial-gradient(circle at 30% 35%, rgba(53, 217, 195, 0.4), transparent 0.35rem),
    radial-gradient(circle at 70% 66%, rgba(255, 176, 0, 0.55), transparent 0.35rem),
    linear-gradient(28deg, transparent 46%, rgba(245, 241, 232, 0.16) 47%, transparent 49%),
    linear-gradient(-35deg, transparent 44%, rgba(245, 241, 232, 0.12) 45%, transparent 47%);
}

.map-panel span {
  position: absolute;
  width: 2.5rem;
  height: 1px;
  background: rgba(245, 241, 232, 0.25);
}

.map-panel span:nth-child(1) { top: 28%; left: 12%; transform: rotate(34deg); }
.map-panel span:nth-child(2) { top: 61%; left: 45%; transform: rotate(-28deg); }
.map-panel span:nth-child(3) { top: 45%; right: 4%; transform: rotate(70deg); }

.signal-panel {
  display: grid;
  align-content: center;
  gap: 0.25rem;
  padding: 0.55rem;
}

.signal-panel b {
  color: var(--lime);
  font-size: 0.65rem;
}

.signal-panel span {
  color: rgba(245, 241, 232, 0.66);
  font-size: 0.5rem;
}

.human-review-card {
  position: absolute;
  right: 0.4rem;
  bottom: 2rem;
  display: grid;
  width: 58%;
  gap: 0.55rem;
  border: 1px solid var(--ink);
  border-radius: 0.9rem;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1.5rem 3rem rgba(9, 17, 22, 0.25);
  padding: 0.85rem;
}

.human-review-card small {
  font-family: var(--mono);
  font-size: 0.5rem;
  text-transform: uppercase;
}

.human-review-card strong {
  font-family: var(--display);
  font-size: clamp(1rem, 4vw, 1.65rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
  text-transform: uppercase;
}

.human-review-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.human-review-card div span {
  border: 1px solid rgba(9, 17, 22, 0.18);
  border-radius: 999px;
  padding: 0.25rem 0.35rem;
  font-size: 0.48rem;
}

.human-review-card > b {
  justify-self: start;
  border-radius: 999px;
  background: var(--cyan);
  padding: 0.35rem 0.5rem;
  font-size: 0.55rem;
}

.chapter-build .chapter-figure figcaption,
.chapter-decide .chapter-figure figcaption {
  border-color: rgba(9, 17, 22, 0.24);
  background: rgba(255, 253, 248, 0.84);
  color: rgba(9, 17, 22, 0.72);
}

.outcomes {
  background: var(--ink);
  color: var(--bone);
}

.outcomes .section-intro .eyebrow {
  color: var(--amber);
}

.outcomes .section-intro > p:last-child {
  color: rgba(245, 241, 232, 0.65);
}

.outcome-grid {
  display: grid;
  gap: 0.8rem;
  margin-top: 2.5rem;
}

.outcome-grid article {
  display: grid;
  min-height: 62svh;
  align-content: center;
  border: 1px solid var(--line-dark);
  border-radius: 1.4rem;
  background: linear-gradient(145deg, rgba(53, 217, 195, 0.12), rgba(245, 241, 232, 0.02));
  padding: 1.25rem;
}

.outcome-grid article:nth-child(2) {
  background: var(--amber);
  color: var(--ink);
}

.outcome-grid article:nth-child(3) {
  background: var(--blue);
}

.outcome-overline {
  opacity: 0.68;
}

.outcome-grid article:nth-child(3) .outcome-overline {
  opacity: 1;
}

.outcome-grid h3,
.outcome-grid strong {
  margin: 0.35rem 0 0;
  font-family: var(--display);
  font-size: clamp(2.7rem, 13vw, 6.3rem);
  letter-spacing: -0.075em;
  line-height: 0.85;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.outcome-grid strong {
  display: block;
  color: var(--cyan-soft);
}

.outcome-grid article:nth-child(2) strong {
  color: var(--ink);
}

.outcome-grid article:nth-child(3) strong {
  color: var(--lime);
}

.outcome-arrow {
  display: block;
  margin: 1.6rem 0;
  font-size: 3rem;
  line-height: 1;
}

.project-reel {
  overflow: hidden;
  background: var(--bone);
  color: var(--ink);
}

.public-disclosure {
  max-width: 42rem;
  color: #526065;
  font-size: 0.82rem;
}

.reel-heading {
  display: flex;
  width: min(100%, var(--content-max));
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 0 auto;
}

.reel-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 0.45rem;
  pointer-events: none;
  visibility: hidden;
}

.motion-ready .reel-controls {
  pointer-events: auto;
  visibility: visible;
}

.reel-controls button {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.25rem;
}

.reel-controls button:not([aria-disabled="true"]):hover {
  background: var(--ink);
  color: var(--bone);
}

.reel-controls button[aria-disabled="true"] {
  cursor: default;
  opacity: 0.38;
}

.project-track {
  display: grid;
  grid-auto-columns: min(84vw, 43rem);
  grid-auto-flow: column;
  gap: 0.9rem;
  margin: 2.5rem calc(var(--page-pad) * -1) 0;
  padding: 0 var(--page-pad) 1.25rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: var(--page-pad);
  scroll-snap-type: x proximity;
  scrollbar-color: var(--ink) rgba(9, 17, 22, 0.14);
}

.project-track > li {
  list-style: none;
  scroll-snap-align: start;
}

.project-card {
  display: grid;
  min-height: min(72svh, 42rem);
  overflow: hidden;
  grid-template-rows: minmax(18rem, 1.35fr) 0.65fr;
  border: 1px solid var(--ink);
  border-radius: 1.3rem;
  background: var(--paper);
}

.project-visual {
  position: relative;
  min-height: 18rem;
  overflow: hidden;
  background: var(--ink-soft);
}

.project-copy {
  display: grid;
  align-content: center;
  gap: 0.5rem;
  border-top: 1px solid var(--ink);
  padding: 1rem;
}

.project-copy h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 8vw, 3.8rem);
  letter-spacing: -0.065em;
  line-height: 0.9;
  text-transform: uppercase;
}

.project-copy p {
  max-width: 35rem;
  margin: 0;
  color: #445155;
}

.project-app .project-visual {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 85% 20%, rgba(53, 217, 195, 0.38), transparent 10rem),
    var(--ink-soft);
}

.mini-window {
  position: relative;
  width: 80%;
  height: 72%;
  border: 1px solid rgba(245, 241, 232, 0.3);
  border-radius: 1rem;
  background: var(--paper);
  box-shadow: 1.2rem 1.2rem 0 rgba(53, 217, 195, 0.22);
  transform: rotate(-2deg);
}

.mini-nav {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 22%;
  border-radius: 1rem 0 0 1rem;
  background: var(--ink);
}

.mini-title {
  position: absolute;
  top: 14%;
  left: 29%;
  width: 42%;
  height: 0.8rem;
  border-radius: 999px;
  background: var(--ink);
}

.mini-grid {
  position: absolute;
  right: 8%;
  bottom: 12%;
  left: 29%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.mini-grid i {
  height: 4.6rem;
  border: 1px solid rgba(9, 17, 22, 0.16);
  border-radius: 0.55rem;
  background: rgba(53, 217, 195, 0.14);
}

.project-assessment .project-visual {
  background: var(--amber);
}

.score-orbit {
  position: absolute;
  top: 50%;
  left: 30%;
  width: 10rem;
  height: 10rem;
  border: 1.8rem solid rgba(9, 17, 22, 0.14);
  border-top-color: var(--ink);
  border-right-color: var(--ink);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(22deg);
}

.score-orbit span {
  position: absolute;
  inset: 1.1rem;
  border-radius: 50%;
  background: var(--paper);
}

.score-orbit i {
  position: absolute;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--cyan);
}

.score-orbit i:nth-of-type(1) { top: -1rem; left: 46%; }
.score-orbit i:nth-of-type(2) { right: -1rem; bottom: 20%; }
.score-orbit i:nth-of-type(3) { bottom: -0.7rem; left: 20%; }

.output-pages {
  position: absolute;
  top: 50%;
  right: 7%;
  width: 46%;
  height: 68%;
  transform: translateY(-50%);
}

.output-pages span {
  position: absolute;
  inset: 0;
  border: 1px solid var(--ink);
  background: var(--paper);
  box-shadow: 0 0.8rem 2rem rgba(9, 17, 22, 0.16);
}

.output-pages span:nth-child(1) { transform: translate(-1rem, 1rem) rotate(-5deg); opacity: 0.55; }
.output-pages span:nth-child(2) { transform: translate(-0.45rem, 0.45rem) rotate(-2deg); opacity: 0.78; }
.output-pages span:nth-child(3) {
  background:
    linear-gradient(var(--ink), var(--ink)) 1rem 1rem / 55% 0.6rem no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 1rem 3rem / calc(100% - 2rem) 5rem no-repeat,
    linear-gradient(rgba(9, 17, 22, 0.16), rgba(9, 17, 22, 0.16)) 1rem 9rem / 72% 0.35rem no-repeat,
    var(--paper);
}

.project-integration .project-visual {
  background:
    linear-gradient(rgba(245, 241, 232, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 241, 232, 0.055) 1px, transparent 1px),
    var(--blue);
  background-size: 2rem 2rem;
}

.integration-web {
  position: absolute;
  inset: 10%;
}

.integration-web span,
.integration-web b {
  position: absolute;
  display: grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  border: 1px solid rgba(245, 241, 232, 0.52);
  border-radius: 50%;
  background: rgba(9, 17, 22, 0.28);
  color: var(--bone);
  font-family: var(--mono);
  font-size: 0.65rem;
}

.integration-web span::after {
  position: absolute;
  top: 50%;
  left: 100%;
  width: 9rem;
  height: 1px;
  background: rgba(245, 241, 232, 0.55);
  content: "";
  transform-origin: left;
}

.integration-web span:nth-child(1) { top: 4%; left: 4%; }
.integration-web span:nth-child(1)::after { transform: rotate(22deg); }
.integration-web span:nth-child(2) { top: 8%; right: 3%; }
.integration-web span:nth-child(2)::after { left: auto; right: 100%; transform: rotate(-18deg); transform-origin: right; }
.integration-web span:nth-child(3) { bottom: 5%; left: 7%; }
.integration-web span:nth-child(3)::after { transform: rotate(-20deg); }
.integration-web span:nth-child(4) { right: 6%; bottom: 6%; }
.integration-web span:nth-child(4)::after { left: auto; right: 100%; transform: rotate(20deg); transform-origin: right; }
.integration-web b { top: 50%; left: 50%; width: 6rem; height: 6rem; border-color: var(--lime); background: var(--lime); color: var(--ink); transform: translate(-50%, -50%); }

.project-geo .project-visual {
  background: #14372e;
}

.geo-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(37deg, transparent 42%, rgba(245, 241, 232, 0.14) 43%, transparent 44%),
    linear-gradient(-29deg, transparent 48%, rgba(245, 241, 232, 0.1) 49%, transparent 50%),
    radial-gradient(circle at 22% 31%, rgba(53, 217, 195, 0.24), transparent 8rem),
    radial-gradient(circle at 78% 68%, rgba(255, 176, 0, 0.22), transparent 9rem);
}

.geo-grid span {
  position: absolute;
  border: 1px solid rgba(245, 241, 232, 0.18);
  border-radius: 50%;
}

.geo-grid span:nth-child(1) { inset: 12% 26%; }
.geo-grid span:nth-child(2) { inset: 22% 18%; }
.geo-grid span:nth-child(3) { inset: 34% 8%; }

.geo-grid i {
  position: absolute;
  width: 0.9rem;
  height: 0.9rem;
  border: 3px solid #14372e;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 1px var(--amber), 0 0 1.5rem rgba(255, 176, 0, 0.5);
}

.geo-grid i:nth-of-type(1) { top: 29%; left: 24%; }
.geo-grid i:nth-of-type(2) { top: 52%; left: 58%; }
.geo-grid i:nth-of-type(3) { top: 69%; left: 76%; background: var(--cyan); box-shadow: 0 0 0 1px var(--cyan), 0 0 1.5rem rgba(53, 217, 195, 0.5); }

.project-ai .project-visual {
  display: grid;
  place-items: center;
  background: var(--lime);
}

.ai-review {
  display: grid;
  width: 78%;
  gap: 1rem;
  border: 1px solid var(--ink);
  border-radius: 1rem;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 1rem 1rem 0 var(--ink);
  padding: 1.2rem;
}

.ai-review span {
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
}

.ai-review b {
  font-family: var(--display);
  font-size: clamp(1.7rem, 7vw, 3.5rem);
  letter-spacing: -0.06em;
  line-height: 0.9;
  text-transform: uppercase;
}

.ai-review i {
  justify-self: start;
  border-radius: 999px;
  background: var(--cyan);
  padding: 0.5rem 0.65rem;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 850;
}

.project-code-result .project-visual {
  background:
    linear-gradient(rgba(53, 217, 195, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 217, 195, 0.055) 1px, transparent 1px),
    var(--ink);
  background-size: 1.4rem 1.4rem;
}

.code-result-demo {
  position: absolute;
  inset: 7%;
  display: grid;
  min-width: 0;
  grid-template-rows: minmax(8.5rem, 1.3fr) minmax(6.5rem, 0.7fr);
  gap: 0.7rem;
}

.code-sample {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(168, 255, 241, 0.36);
  border-radius: 0.75rem;
  background: rgba(5, 13, 17, 0.92);
  color: var(--bone);
  padding: 0.75rem;
  font-family: var(--mono);
  font-size: clamp(0.55rem, 1.8vw, 0.7rem);
  line-height: 1.48;
  white-space: pre;
}

.code-sample span {
  color: var(--cyan-soft);
}

.code-sample b {
  color: var(--amber);
  font-weight: 700;
}

.result-preview {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(5.5rem, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 0.25rem 0.7rem;
  border: 1px solid var(--ink);
  border-radius: 0.75rem;
  background: var(--paper);
  color: var(--ink);
  padding: 0.65rem;
}

.result-preview > span {
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-bars {
  display: flex;
  height: 3rem;
  align-items: end;
  gap: 0.25rem;
}

.result-bars i {
  width: 100%;
  border-radius: 0.2rem 0.2rem 0 0;
  background: var(--cyan);
}

.result-bars i:nth-child(1) { height: 36%; }
.result-bars i:nth-child(2) { height: 52%; }
.result-bars i:nth-child(3) { height: 42%; }
.result-bars i:nth-child(4) { height: 78%; background: var(--amber); }
.result-bars i:nth-child(5) { height: 62%; }

.result-preview strong {
  min-width: 0;
  font-family: var(--display);
  font-size: clamp(1.25rem, 5.5vw, 2.05rem);
  letter-spacing: -0.055em;
  line-height: 0.9;
  text-transform: uppercase;
}

.result-preview small {
  grid-column: 2;
  color: #526065;
  font-size: 0.58rem;
  font-weight: 750;
}

.process-section {
  background: var(--ink);
  color: var(--bone);
}

.process-section .section-intro .eyebrow {
  color: var(--cyan);
}

.process-section .section-intro > p:last-child {
  color: rgba(245, 241, 232, 0.68);
}

.process-path {
  position: relative;
  display: grid;
  gap: 0;
  margin: 2.5rem 0 0;
  padding: 0;
  transition: opacity 620ms ease, transform 620ms ease;
}

.process-path::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1.4rem;
  width: 2px;
  background: linear-gradient(var(--cyan), var(--amber), var(--lime));
  content: "";
}

.process-path li {
  position: relative;
  display: grid;
  min-height: 5rem;
  grid-template-columns: 2.8rem 1fr;
  align-items: center;
  gap: 1rem;
  list-style: none;
}

.process-path span {
  position: relative;
  z-index: 2;
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  background: var(--ink);
  color: var(--cyan-soft);
  font-family: var(--mono);
  font-size: 0.62rem;
}

.process-path strong {
  font-family: var(--display);
  font-size: clamp(1.4rem, 6vw, 2.4rem);
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.credibility {
  background: var(--cyan);
  color: var(--ink);
}

.credibility .section-intro .eyebrow {
  color: #064b46;
}

.credibility ul {
  display: grid;
  gap: 0;
  margin: 2.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}

.credibility li {
  list-style: none;
  border-bottom: 1px solid var(--ink);
  padding: 0.9rem 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 5.8vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
  text-transform: uppercase;
}

.final-cta {
  position: relative;
  display: grid;
  min-height: 90svh;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(53, 217, 195, 0.2), transparent 22rem),
    radial-gradient(circle at 80% 80%, rgba(255, 176, 0, 0.17), transparent 22rem),
    #091116;
  padding: 5rem var(--page-pad);
}

.final-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 241, 232, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 241, 232, 0.055) 1px, transparent 1px);
  background-size: 2.8rem 2.8rem;
}

.final-grid i {
  position: absolute;
  width: 8rem;
  height: 8rem;
  border: 1px solid rgba(245, 241, 232, 0.12);
  border-radius: 1.3rem;
  background: rgba(245, 241, 232, 0.04);
  transform: rotate(8deg);
}

.final-grid i:nth-child(1) { top: 12%; left: -3rem; }
.final-grid i:nth-child(2) { top: 18%; right: -2rem; border-color: rgba(53, 217, 195, 0.38); }
.final-grid i:nth-child(3) { bottom: 10%; left: 8%; border-color: rgba(255, 176, 0, 0.34); }
.final-grid i:nth-child(4) { right: 12%; bottom: 8%; }

.final-content {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(100%, 54rem);
  justify-items: start;
}

.final-content .eyebrow {
  color: var(--cyan);
}

.final-content > p:not(.eyebrow) {
  max-width: 36rem;
  margin: 1rem 0 0;
  color: rgba(245, 241, 232, 0.78);
  font-size: clamp(1.1rem, 4vw, 1.5rem);
}

.final-content .button {
  margin-top: 1.6rem;
}

.email-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  margin-top: 1rem;
  overflow-wrap: anywhere;
  font-family: var(--mono);
  font-size: 0.83rem;
}

.final-content small {
  max-width: 38rem;
  margin-top: 1.2rem;
  color: rgba(245, 241, 232, 0.52);
  font-size: 0.72rem;
}

.site-footer {
  display: grid;
  gap: 2rem;
  border-top: 1px solid var(--line-dark);
  background: #050a0d;
  padding: 3rem var(--page-pad) max(3rem, env(safe-area-inset-bottom));
}

.footer-brand {
  font-size: 0.92rem;
}

.site-footer > div > p {
  margin: 0.8rem 0 0;
  color: rgba(245, 241, 232, 0.55);
  font-size: 0.85rem;
}

.site-footer nav {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.site-footer nav a {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  font-weight: 750;
}

.copyright {
  margin: 0;
  color: rgba(245, 241, 232, 0.5);
  font-family: var(--mono);
  font-size: 0.66rem;
}

.not-found-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  background:
    linear-gradient(rgba(245, 241, 232, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 241, 232, 0.05) 1px, transparent 1px),
    var(--ink);
  background-size: 2.5rem 2.5rem;
  padding: 1.25rem;
}

.not-found-card {
  width: min(100%, 42rem);
  border: 1px solid var(--line-dark);
  border-radius: 1.4rem;
  background: rgba(18, 35, 42, 0.9);
  padding: clamp(1.5rem, 7vw, 4rem);
}

.not-found-card .eyebrow {
  color: var(--amber);
}

.not-found-card h1 {
  margin: 0.7rem 0 0;
  font-family: var(--display);
  font-size: clamp(3rem, 14vw, 6rem);
  letter-spacing: -0.07em;
  line-height: 0.88;
  text-transform: uppercase;
}

.not-found-card p:not(.eyebrow) {
  color: rgba(245, 241, 232, 0.72);
}

.not-found-card .button {
  margin-top: 1rem;
}

@media (min-width: 26rem) {
  .brand-name {
    display: inline;
    max-width: 12rem;
    font-size: 0.92rem;
    line-height: 1.2;
    white-space: nowrap;
  }
}

@media (min-width: 64rem) {
  :root {
    --header-height: 4.5rem;
  }

  .site-header {
    padding-inline: var(--page-pad);
  }

  .brand-name {
    display: inline;
    font-size: 1rem;
  }

  .header-cta,
  .nav-menu > summary {
    padding-inline: 1rem;
    font-size: 0.85rem;
  }

  .hero-inner {
    display: grid;
    grid-template-columns: minmax(25rem, 0.92fr) minmax(28rem, 1.08fr);
    align-items: center;
    gap: 3rem;
  }

  .hero::after {
    inset: 0;
    background: linear-gradient(90deg, rgba(9, 17, 22, 0.92) 0%, rgba(9, 17, 22, 0.58) 44%, rgba(9, 17, 22, 0.08) 72%);
  }

  .hero-copy-block {
    margin-top: 0;
  }

  .hero h1 {
    font-size: clamp(4.5rem, 7vw, 7.5rem);
  }

  .hero-line {
    font-size: clamp(1.8rem, 3vw, 3.4rem);
  }

  .hero-support {
    font-size: 1.15rem;
  }

  .hero-figure {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    height: min(73svh, 47rem);
    min-height: 34rem;
    grid-column: 2;
    grid-row: 1;
  }

  .hero-figure figcaption {
    right: 0;
    max-width: 100%;
  }

  .hero-copy-block {
    grid-column: 1;
    grid-row: 1;
  }

  .proof-frame {
    width: min(44vw, 43rem);
    height: min(55svh, 34rem);
  }

  .nav-menu > summary {
    display: none;
  }

  .nav-menu {
    display: none;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
  }

  .desktop-nav a {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    border-radius: 999px;
    padding: 0.7rem 0.75rem;
    font-size: 0.84rem;
    font-weight: 750;
    text-decoration: none;
  }

  .desktop-nav a:hover,
  .desktop-nav a:focus-visible {
    background: rgba(245, 241, 232, 0.12);
  }

  .nav-menu:not([open]) > .nav-panel,
  .nav-panel {
    position: static;
    display: flex;
    width: auto;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-panel a {
    min-height: 2.75rem;
    padding: 0.7rem 0.75rem;
    border: 0;
    border-radius: 999px;
    font-size: 0.84rem;
  }

  .nav-panel a:hover,
  .nav-panel a:focus-visible {
    background: rgba(245, 241, 232, 0.12);
    color: var(--bone);
  }

  .consult-ribbon {
    padding-block: 1rem;
  }

  .consult-ribbon p,
  .consult-ribbon a {
    font-size: 0.9rem;
  }

  .specialty-rail {
    grid-auto-columns: auto;
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
  }

  .specialty-rail a {
    min-height: 13rem;
    font-size: clamp(1.8rem, 3.2vw, 3rem);
  }

  .story-chapter {
    padding-block: 4.5rem;
  }

  .chapter-stage {
    grid-template-columns: minmax(20rem, 0.82fr) minmax(30rem, 1.18fr);
    align-items: center;
    gap: clamp(2.5rem, 6vw, 7rem);
  }

  .chapter-copy h2 {
    font-size: clamp(3rem, 4.4vw, 5.25rem);
  }

  .chapter-figure {
    height: min(72svh, 47rem);
  }

  .outcome-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .outcome-grid article {
    min-height: min(68svh, 46rem);
  }

  .outcome-grid h3,
  .outcome-grid strong {
    font-size: clamp(2.8rem, 4.4vw, 5.25rem);
  }

  .project-track {
    grid-auto-columns: min(58vw, 52rem);
  }

  .project-card {
    grid-template-rows: minmax(24rem, 1.35fr) 0.65fr;
  }

  .process-path {
    grid-template-columns: repeat(5, 1fr);
    margin-top: 4rem;
  }

  .process-path::before {
    top: 1.4rem;
    right: 10%;
    bottom: auto;
    left: 10%;
    width: auto;
    height: 2px;
  }

  .process-path li {
    min-height: 9rem;
    grid-template-columns: 1fr;
    align-content: start;
    justify-items: center;
    gap: 1rem;
    text-align: center;
  }

  .process-path strong {
    font-size: clamp(1.2rem, 2.1vw, 2.2rem);
  }

  .credibility ul {
    grid-template-columns: 1fr 1fr;
  }

  .credibility li:nth-child(odd) {
    border-right: 1px solid var(--ink);
    padding-right: 1.5rem;
  }

  .credibility li:nth-child(even) {
    padding-left: 1.5rem;
  }

  .site-footer {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .site-footer nav {
    grid-template-columns: 1fr 1fr;
  }

  .copyright {
    grid-column: 1 / -1;
  }
}

@media (min-width: 85rem) {
  .code-result-demo {
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
    grid-template-rows: minmax(0, 1fr);
  }

  .result-preview {
    align-content: center;
    grid-template-columns: minmax(4.25rem, 0.6fr) minmax(0, 1.4fr);
  }
}

@media (min-width: 23rem) and (min-height: 44rem) and (prefers-reduced-motion: no-preference) {
  .chapter-sticky {
    min-height: 128svh;
  }

  .chapter-sticky .chapter-stage {
    position: sticky;
    top: calc(var(--header-height) + env(safe-area-inset-top));
    min-height: calc(100svh - var(--header-height) - env(safe-area-inset-top));
  }
}

body[data-motion="paused"] .chapter-sticky .chapter-stage,
body[data-motion="reduced"] .chapter-sticky .chapter-stage {
  position: relative;
  top: auto;
}

body[data-motion="paused"] .chapter-sticky,
body[data-motion="reduced"] .chapter-sticky {
  min-height: 96svh;
}

@media (min-width: 23rem) and (min-height: 44rem) and (prefers-reduced-motion: no-preference) {
  body[data-motion="paused"] .chapter-sticky {
    min-height: 128svh;
  }
}

body[data-motion="paused"] .chapter-figure,
body[data-motion="paused"] .process-path,
body[data-motion="reduced"] .chapter-figure,
body[data-motion="reduced"] .process-path {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

body[data-motion="paused"] .proof-frame,
body[data-motion="reduced"] .proof-frame {
  animation: none !important;
  opacity: 0;
}

body[data-motion="paused"] .proof-app,
body[data-motion="reduced"] .proof-app {
  opacity: 1;
}

body[data-motion="paused"] .signal,
body[data-motion="reduced"] .signal {
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .chapter-sticky .chapter-stage {
    position: relative;
    top: auto;
  }
}

@media (forced-colors: active) {
  .button,
  .header-cta,
  .motion-toggle,
  .chapter-tags li,
  .reel-controls button {
    border: 2px solid currentcolor;
  }

  .hero-grid,
  .hero-glow,
  .final-grid,
  .project-visual,
  .visual-scene {
    forced-color-adjust: none;
  }
}
