@font-face {
  font-family: "Commissioner";
  src: url("../fonts/commissioner-cyrillic.ad254e46b7ae.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
  unicode-range: U+0400-052F, U+2DE0-2DFF, U+A640-A69F;
}

@font-face {
  font-family: "Commissioner";
  src: url("../fonts/commissioner-latin.737ec8f28006.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
  unicode-range: U+0000-024F, U+1E00-1EFF;
}

:root {
  --paper: #f2f3ea;
  --paper-bright: #fbfcf5;
  --paper-dim: #e5e7dc;
  --ink: #090c0a;
  --ink-soft: #242a26;
  --ink-muted: #5d665f;
  --line: rgba(9, 12, 10, 0.16);
  --line-strong: rgba(9, 12, 10, 0.34);
  --line-inverse: rgba(251, 252, 245, 0.22);
  --lime: #d7ff39;
  --cyan: #32d8ff;
  --coral: #ff6240;
  --pink: #ff5cab;
  --accent: var(--lime);
  --accent-secondary: var(--cyan);
  --text-on-dark: #fbfcf5;
  --text-on-dark-soft: #bec7c0;
  --error: #ff6240;
  --content: 92rem;
  --gutter: 1rem;
  --header-height: 4.5rem;
  --preview-height: 0rem;
  --radius: 4px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --z-canvas: 0;
  --z-content: 2;
  --z-anchor: 90;
  --z-nav: 100;
  --z-skip: 300;
}

body[data-page="ai-systems"] {
  --accent: var(--lime);
  --accent-secondary: var(--cyan);
}

body[data-page="business-systems"] {
  --accent: var(--coral);
  --accent-secondary: var(--lime);
}

body[data-page="digital-products"] {
  --accent: var(--cyan);
  --accent-secondary: var(--coral);
}

body[data-page="web-platforms"] {
  --accent: var(--pink);
  --accent-secondary: var(--lime);
}

body[data-page="services"] {
  --accent: var(--lime);
  --accent-secondary: var(--cyan);
}

body[data-page="website-development"] {
  --accent: var(--cyan);
  --accent-secondary: var(--pink);
}

body[data-page="search-engine-optimization"] {
  --accent: var(--lime);
  --accent-secondary: var(--cyan);
}

body[data-page="internet-advertising"] {
  --accent: var(--coral);
  --accent-secondary: var(--pink);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 4.5rem);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Commissioner", system-ui, sans-serif;
  font-size: 1rem;
  font-kerning: normal;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

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

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

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

p,
h1,
h2,
h3,
h4,
dl,
dd,
ol,
ul {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

button {
  color: inherit;
}

::selection {
  color: var(--ink);
  background: var(--accent);
}

:focus-visible {
  outline: 3px solid var(--accent-secondary);
  outline-offset: 4px;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: var(--z-skip);
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: var(--lime);
  border: 2px solid var(--ink);
  transform: translateY(-160%);
  transition: transform 180ms var(--ease-out);
}

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

.preview-note {
  min-height: var(--preview-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.3rem max(var(--gutter), env(safe-area-inset-left));
  color: var(--text-on-dark);
  background: var(--ink);
  border-top: 5px solid var(--accent);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.67rem;
  font-weight: 650;
}

.preview-note span {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.preview-note strong {
  color: var(--paper-bright);
  font-weight: 550;
}

.site-header {
  position: sticky;
  z-index: var(--z-nav);
  top: 0;
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 0 var(--gutter);
  background: var(--paper-bright);
  border-bottom: 1px solid var(--ink);
}

.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
  pointer-events: none;
}

.brand,
.footer-brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.brand-primary {
  width: 5.55rem;
  height: auto;
  display: block;
  flex: 0 0 auto;
  transition: transform 220ms var(--ease-out);
}

.brand-dev {
  color: var(--ink-soft);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}

.brand:hover .brand-primary,
.footer-brand:hover .brand-primary {
  transform: translateY(-1px);
}

.menu-toggle {
  justify-self: end;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-content: center;
  gap: 0.38rem;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--accent);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  width: 1.2rem;
  height: 2px;
  background: var(--ink);
  transition: transform 220ms var(--ease-out);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

.primary-nav {
  position: absolute;
  inset: 100% 0 auto;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  display: grid;
  align-content: start;
  padding: 1rem;
  color: var(--text-on-dark);
  background: var(--ink);
  border-bottom: 8px solid var(--accent);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateY(-125%);
  opacity: 0;
  visibility: hidden;
  transition: transform 360ms var(--ease-out), opacity 180ms linear, visibility 0s linear 360ms;
}

.primary-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.primary-nav a {
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.25rem;
  border-bottom: 1px solid var(--line-inverse);
  font-size: 1.35rem;
  font-weight: 620;
  line-height: 1.1;
  transition: color 150ms linear, background 150ms linear, transform 180ms var(--ease-out);
}

.primary-nav a::after {
  content: "↗";
  color: var(--accent);
  font-size: 0.85rem;
}

.primary-nav a.is-current {
  color: var(--accent);
}

.primary-nav a.is-current::after {
  content: "■";
  color: var(--accent);
  font-size: 0.55rem;
}

.primary-nav .language-link {
  color: var(--accent);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 750;
}

.primary-nav .nav-cta {
  min-height: 3.5rem;
  justify-content: center;
  margin-top: 1.5rem;
  padding-inline: 1rem;
  color: var(--ink);
  background: var(--accent);
  border: 1px solid var(--accent);
}

.primary-nav .nav-cta::after {
  margin-left: 0.75rem;
  color: var(--ink);
}

.no-js .site-header {
  position: relative;
  grid-template-columns: minmax(0, 1fr);
  padding-block: 0.65rem;
}

.no-js .menu-toggle {
  display: none;
}

.no-js .primary-nav {
  position: static;
  min-height: 0;
  grid-column: 1 / -1;
  padding: 0;
  color: var(--ink);
  background: var(--paper-bright);
  border-top: 1px solid var(--ink);
  border-bottom: 0;
  transform: none;
  opacity: 1;
  visibility: visible;
}

.no-js .primary-nav a {
  min-height: 2.8rem;
  color: var(--ink);
  font-size: 0.82rem;
}

.no-js .primary-nav .nav-cta {
  color: var(--ink);
  background: var(--accent);
}

.section-shell,
.page-shell {
  width: min(100%, var(--content));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section-shell {
  padding-block: 4.5rem;
}

.section-index,
.eyebrow,
.breadcrumbs,
.architecture-head,
.system-node small,
.system-readout span,
.scope-number,
.process-list > li > span,
.layer-sequence > li > span,
.delivery-step > span,
.direction-number,
.hero-scope dt,
.service-summary dt {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-variant-numeric: tabular-nums;
}

.section-index,
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink-muted);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.section-index::before,
.eyebrow::before {
  content: "";
  width: 1.8rem;
  height: 0.45rem;
  flex: 0 0 auto;
  background: var(--accent);
  border: 1px solid var(--ink);
}

h1,
h2,
h3,
h4 {
  font-weight: 660;
  line-height: 1.02;
  letter-spacing: 0;
}

h1,
h2 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.button {
  min-height: 3.25rem;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0 1.35rem;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 150ms linear, background 150ms linear, border-color 150ms linear, transform 180ms var(--ease-out);
}

.button:active {
  transform: translate(2px, 2px);
}

.button-primary {
  color: var(--ink);
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 5px 5px 0 var(--accent-secondary);
}

.button-light {
  color: var(--ink);
  background: var(--paper-bright);
  border-color: var(--paper-bright);
  box-shadow: 5px 5px 0 var(--accent);
}

.button-outline {
  color: var(--ink);
  background: transparent;
  border-color: var(--ink);
}

.text-link,
.inline-link {
  width: fit-content;
  min-height: 2.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  border-bottom: 2px solid currentColor;
  font-size: 0.84rem;
  font-weight: 700;
  transition: color 150ms linear, border-color 150ms linear, transform 180ms var(--ease-out);
}

/* Signal Fabric hero */
.hero,
.service-hero {
  position: relative;
  isolation: isolate;
  color: var(--text-on-dark);
  background: var(--ink);
  overflow: hidden;
}

.hero::before,
.service-hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  border: 1px solid transparent;
  border-top-color: var(--line-inverse);
  pointer-events: none;
}

.hero::after,
.service-hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 25%;
  width: 1px;
  background: var(--line-inverse);
  box-shadow: 25vw 0 0 var(--line-inverse), 50vw 0 0 var(--line-inverse);
  pointer-events: none;
}

.signal-canvas {
  position: absolute;
  z-index: var(--z-canvas);
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.88;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: var(--z-content);
  width: min(100%, var(--content));
  min-height: 35rem;
  margin-inline: auto;
  display: grid;
  align-content: start;
  gap: 1.4rem;
  padding: 2rem var(--gutter) 2.5rem;
}

.kicker {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--accent);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 11ch;
  margin-top: auto;
  font-size: 2.8rem;
  font-weight: 690;
  line-height: 0.96;
  text-shadow: 0 0 1px var(--paper-bright);
}

.hero-lead {
  max-width: 39rem;
  color: var(--text-on-dark-soft);
  font-size: 1rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
}

.hero .text-link,
.service-hero .text-link {
  color: var(--paper-bright);
}

.hero-scope {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0.5rem;
  border-top: 1px solid var(--line-inverse);
  border-left: 1px solid var(--line-inverse);
}

.hero-scope div {
  min-width: 0;
  display: grid;
  gap: 0.3rem;
  padding: 0.85rem;
  border-right: 1px solid var(--line-inverse);
  border-bottom: 1px solid var(--line-inverse);
}

.hero-scope dt {
  color: var(--accent);
  font-size: 0.6rem;
}

.hero-scope dd {
  overflow-wrap: anywhere;
  color: var(--paper-bright);
  font-size: 0.72rem;
  font-weight: 620;
}

.hero-system {
  position: relative;
  z-index: calc(var(--z-content) + 1);
  min-height: 19rem;
  display: grid;
  grid-template-rows: auto 1fr;
  margin: 0 var(--gutter) var(--gutter);
  color: var(--text-on-dark);
  background: rgba(9, 12, 10, 0.9);
  border: 1px solid var(--line-inverse);
  overflow: hidden;
}

.console-head {
  min-height: 2.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0.9rem;
  color: var(--text-on-dark-soft);
  border-bottom: 1px solid var(--line-inverse);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.6rem;
}

.live-state {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
}

.live-state i {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(215, 255, 57, 0.12);
}

.system-stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr)) auto;
  align-content: stretch;
  gap: 1px;
  padding: 0.5rem;
  background: var(--line-inverse);
}

.system-node {
  position: relative;
  min-width: 0;
  min-height: 4rem;
  display: grid;
  align-content: center;
  gap: 0.18rem;
  padding: 0.65rem;
  color: var(--text-on-dark);
  text-align: left;
  background: #111613;
  border: 0;
  cursor: pointer;
  transition: color 160ms linear, background 160ms linear, transform 180ms var(--ease-out);
}

.system-node::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--ink-muted);
  transition: background 160ms linear, transform 220ms var(--ease-out);
}

.system-node small {
  color: var(--text-on-dark-soft);
  font-size: 0.53rem;
}

.system-node strong {
  font-size: 0.82rem;
}

.system-node span {
  display: none;
  color: var(--text-on-dark-soft);
  font-size: 0.64rem;
}

.system-node.is-active {
  color: var(--ink);
  background: var(--accent);
}

.system-node.is-active::after {
  background: var(--accent-secondary);
  transform: scale(1.35);
}

.system-node.is-active small,
.system-node.is-active span {
  color: var(--ink-soft);
}

.system-readout {
  position: relative;
  grid-column: 1 / -1;
  min-height: 4.5rem;
  display: grid;
  align-content: center;
  gap: 0.4rem;
  padding: 0.8rem;
  color: var(--text-on-dark);
  background: var(--ink);
}

.system-readout::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0.35rem;
  background: var(--accent-secondary);
}

.system-readout span {
  color: var(--accent);
  font-size: 0.56rem;
  text-transform: uppercase;
}

.system-readout p {
  max-width: 48rem;
  color: var(--text-on-dark-soft);
  font-size: 0.7rem;
  line-height: 1.45;
}

.capability-rail {
  position: relative;
  z-index: 3;
  overflow: hidden;
  color: var(--ink);
  background: var(--accent);
  border-block: 1px solid var(--ink);
}

.capability-rail div {
  width: max-content;
  min-height: 3rem;
  display: flex;
  align-items: center;
  animation: rail 32s linear infinite;
}

.capability-rail span {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  padding-right: 1.6rem;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.67rem;
  font-weight: 700;
  white-space: nowrap;
}

.capability-rail span::after {
  content: "■";
  color: var(--coral);
  font-size: 0.55rem;
}

/* Homepage editorial sections */
.intro-band {
  width: min(100%, var(--content));
  display: grid;
  gap: 2rem;
  margin-inline: auto;
  padding: 5rem var(--gutter);
  border-bottom: 1px solid var(--ink);
}

.intro-band > div {
  display: grid;
  gap: 1.6rem;
}

.intro-band h2 {
  max-width: 18ch;
  font-size: 2.5rem;
}

.intro-band p:not(.section-index) {
  max-width: 53rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

.section-heading {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.section-heading h2,
.ai-model-copy h2,
.foundation-copy h2,
.trust-statement h2,
.content-heading h2,
.ai-role-copy h2 {
  max-width: 18ch;
  font-size: 2.45rem;
}

.section-heading > p:last-child,
.ai-model-copy > p:last-child,
.foundation-copy > p:last-child,
.content-heading > p:last-child {
  max-width: 47rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

.direction-list {
  border-top: 2px solid var(--ink);
}

.direction-row {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 1.25rem;
  padding: 2rem 0 2.2rem 1rem;
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
  transition: color 220ms linear, padding 260ms var(--ease-out);
}

.direction-row::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: 0.45rem;
  background: var(--row-accent, var(--lime));
  transition: width 420ms var(--ease-out);
}

.direction-row:nth-child(1) { --row-accent: var(--lime); }
.direction-row:nth-child(2) { --row-accent: var(--coral); }
.direction-row:nth-child(3) { --row-accent: var(--cyan); }
.direction-row:nth-child(4) { --row-accent: var(--pink); }

.direction-number {
  color: var(--ink-muted);
  font-size: 0.68rem;
}

.direction-copy {
  display: grid;
  gap: 0.8rem;
}

.direction-copy h3 {
  max-width: 24ch;
  font-size: 1.65rem;
}

.direction-copy p {
  max-width: 47rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.direction-topics {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 0.5rem 1rem;
  list-style: none;
}

.direction-topics li {
  color: var(--ink-soft);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 650;
}

.direction-topics li::before {
  content: "+";
  margin-right: 0.45rem;
  color: var(--row-accent);
  font-weight: 800;
}

.direction-link {
  align-self: end;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 700;
}

.direction-link span {
  color: var(--row-accent);
  font-size: 1.25rem;
}

.section-link {
  display: flex;
  justify-content: flex-end;
  margin-top: 2rem;
}

.ai-model {
  width: 100%;
  max-width: none;
  display: grid;
  gap: 3rem;
  padding-inline: max(var(--gutter), calc((100% - var(--content)) / 2 + var(--gutter)));
  color: var(--text-on-dark);
  background: var(--ink);
  border-top: 9px solid var(--coral);
}

.ai-model-copy {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 1.5rem;
}

.ai-model .section-index,
.ai-model-copy > p:last-child {
  color: var(--text-on-dark-soft);
}

.ai-model .section-index::before {
  background: var(--coral);
  border-color: var(--paper-bright);
}

.dual-track {
  border-top: 1px solid var(--line-inverse);
  border-bottom: 1px solid var(--line-inverse);
}

.dual-track article + article {
  border-top: 1px solid var(--line-inverse);
}

.track-head {
  display: grid;
  gap: 0.45rem;
  padding: 1.4rem;
  color: var(--ink);
  background: var(--accent);
}

.dual-track article:nth-child(2) .track-head {
  background: var(--cyan);
}

.track-head span {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
}

.track-head strong {
  font-size: 1.18rem;
}

.dual-track ol {
  list-style: none;
}

.dual-track li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  border-top: 1px solid var(--line-inverse);
}

.dual-track li > span {
  color: var(--accent);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.62rem;
}

.dual-track article:nth-child(2) li > span {
  color: var(--cyan);
}

.dual-track li div {
  display: grid;
  gap: 0.4rem;
}

.dual-track li p {
  color: var(--text-on-dark-soft);
  font-size: 0.87rem;
}

.foundation {
  width: 100%;
  max-width: none;
  background: var(--paper-bright);
  padding-inline: max(var(--gutter), calc((100% - var(--content)) / 2 + var(--gutter)));
}

.foundation-copy {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.foundation-grid {
  border-top: 2px solid var(--ink);
}

.foundation-grid article {
  position: relative;
  display: grid;
  gap: 0.75rem;
  padding: 1.7rem 0 1.7rem 1rem;
  border-bottom: 1px solid var(--ink);
}

.foundation-grid article::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0.28rem;
  background: var(--cell-accent, var(--lime));
}

.foundation-grid article:nth-child(3n + 1) { --cell-accent: var(--lime); }
.foundation-grid article:nth-child(3n + 2) { --cell-accent: var(--coral); }
.foundation-grid article:nth-child(3n) { --cell-accent: var(--cyan); }

.foundation-grid span {
  color: var(--ink-muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.64rem;
}

.foundation-grid h3 {
  font-size: 1.2rem;
}

.foundation-grid p {
  max-width: 39rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.process-list {
  border-top: 2px solid var(--ink);
  list-style: none;
}

.process-list > li {
  position: relative;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--ink);
}

.process-list > li > span {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 800;
}

.process-list > li > span::after {
  content: "";
  display: block;
  width: 1.5rem;
  height: 0.38rem;
  margin-top: 0.55rem;
  background: var(--step-accent, var(--lime));
}

.process-list > li:nth-child(3n + 1) { --step-accent: var(--lime); }
.process-list > li:nth-child(3n + 2) { --step-accent: var(--coral); }
.process-list > li:nth-child(3n) { --step-accent: var(--cyan); }

.process-list > li > div {
  display: grid;
  gap: 0.75rem;
}

.process-list h3 {
  font-size: 1.45rem;
}

.process-list p {
  max-width: 48rem;
  color: var(--ink-soft);
}

.process-list small {
  grid-column: 2;
  color: var(--ink-muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.64rem;
  font-weight: 650;
  text-transform: uppercase;
}

.trust {
  width: 100%;
  max-width: none;
  display: grid;
  gap: 3rem;
  background: var(--lime);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-inline: max(var(--gutter), calc((100% - var(--content)) / 2 + var(--gutter)));
}

.trust .section-index {
  color: var(--ink-soft);
}

.trust .section-index::before {
  background: var(--coral);
}

.trust-statement {
  display: grid;
  align-content: start;
  gap: 1.5rem;
}

.trust-principles {
  border-top: 2px solid var(--ink);
}

.trust-principles article {
  display: grid;
  gap: 0.75rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--ink);
}

.trust-principles span {
  color: var(--ink-soft);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.64rem;
}

.trust-principles h3 {
  font-size: 1.16rem;
}

.trust-principles p {
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.contact,
.service-cta {
  color: var(--text-on-dark);
  background: var(--ink);
}

.contact {
  position: relative;
  display: grid;
  gap: 3rem;
  padding: 5rem max(var(--gutter), calc((100vw - var(--content)) / 2 + var(--gutter)));
  border-top: 10px solid var(--coral);
}

.contact::after {
  content: "";
  position: absolute;
  top: -10px;
  right: 0;
  width: 28%;
  height: 10px;
  background: var(--cyan);
}

.contact-copy {
  display: grid;
  align-content: start;
  gap: 1.5rem;
}

.contact-copy .section-index {
  color: var(--text-on-dark-soft);
}

.contact-copy .section-index::before {
  background: var(--coral);
  border-color: var(--paper-bright);
}

.contact-copy h2 {
  max-width: 14ch;
  font-size: 2.65rem;
}

.contact-copy > p:not(.section-index) {
  max-width: 38rem;
  color: var(--text-on-dark-soft);
}

.contact-copy > a {
  width: fit-content;
  min-height: 2.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--accent);
  border-bottom: 2px solid currentColor;
  font-weight: 700;
}

.brief-form {
  display: grid;
  gap: 1.4rem;
}

.form-grid {
  display: grid;
  gap: 1.4rem;
}

.brief-form label {
  display: grid;
  gap: 0.5rem;
}

.brief-form label span {
  color: var(--text-on-dark-soft);
  font-size: 0.74rem;
}

.brief-form input,
.brief-form textarea {
  width: 100%;
  color: var(--text-on-dark);
  background: #111613;
  border: 1px solid var(--line-inverse);
  border-radius: 0;
}

.brief-form input {
  min-height: 3.4rem;
  padding: 0 1rem;
}

.brief-form textarea {
  min-height: 10rem;
  padding: 1rem;
  resize: vertical;
}

.brief-form input::placeholder,
.brief-form textarea::placeholder {
  color: #909a93;
  opacity: 1;
}

.brief-form input:focus,
.brief-form textarea:focus {
  border-color: var(--accent-secondary);
  outline: 3px solid var(--accent-secondary);
  outline-offset: 0;
}

.form-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.4rem;
}

.form-bottom p {
  max-width: 31rem;
  color: var(--text-on-dark-soft);
  font-size: 0.72rem;
}

.form-bottom p a {
  color: var(--text-on-dark);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 0.12rem;
  text-underline-offset: 0.18rem;
}

.form-status {
  min-height: 1.5rem;
  color: var(--accent);
  font-size: 0.78rem;
}

.site-footer {
  display: grid;
  align-items: center;
  gap: 1.4rem;
  padding: 2rem max(var(--gutter), calc((100vw - var(--content)) / 2 + var(--gutter))) max(2rem, env(safe-area-inset-bottom));
  background: var(--paper-bright);
  border-top: 1px solid var(--ink);
  font-size: 0.72rem;
}

.footer-brand .brand-primary {
  width: 4.9rem;
}

.footer-brand .brand-dev {
  font-size: 0.72rem;
}

.site-footer > p {
  color: var(--ink-soft);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}

.site-footer nav a {
  min-width: 2.8rem;
  min-height: 2.8rem;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid transparent;
}

.site-footer nav a[aria-current="page"] {
  border-bottom-color: var(--ink);
  font-weight: 720;
}

.site-footer > span {
  color: var(--ink-muted);
}

/* Service pages */
.service-hero {
  border-bottom: 1px solid var(--ink);
}

.service-hero-grid {
  position: relative;
  z-index: var(--z-content);
  display: grid;
}

.service-hero-copy {
  display: grid;
  align-content: center;
  gap: 1.4rem;
  padding-block: 2.5rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-on-dark-soft);
  font-size: 0.63rem;
}

.breadcrumbs span,
.breadcrumbs a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}

.breadcrumbs a {
  min-width: 2.8rem;
  min-height: 2.8rem;
  color: var(--accent);
}

.breadcrumbs span:not(:last-child)::after {
  content: "/";
  margin-left: 0.45rem;
  color: var(--text-on-dark-soft);
}

.service-hero .eyebrow {
  color: var(--text-on-dark-soft);
}

.service-hero .eyebrow::before {
  border-color: var(--paper-bright);
}

.service-hero h1 {
  max-width: 13ch;
  font-size: 2.8rem;
  font-weight: 690;
  line-height: 0.97;
}

.service-lead {
  max-width: 44rem;
  color: var(--text-on-dark-soft);
  font-size: 1.02rem;
  line-height: 1.7;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: stretch;
}

.service-actions .button,
.service-actions .text-link {
  min-height: 3.25rem;
}

.service-actions .text-link {
  min-width: 10.75rem;
  justify-content: space-between;
  padding: 0 1rem;
  color: var(--paper-bright);
  background: rgba(251, 252, 245, 0.04);
  border: 1px solid var(--line-inverse);
}

.service-actions .text-link span {
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--accent-secondary);
  font-size: 0.9rem;
  line-height: 1;
}

.service-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0.5rem;
  border-top: 1px solid var(--line-inverse);
  border-left: 1px solid var(--line-inverse);
}

.service-summary div {
  min-width: 0;
  display: grid;
  gap: 0.3rem;
  padding: 0.8rem;
  border-right: 1px solid var(--line-inverse);
  border-bottom: 1px solid var(--line-inverse);
}

.service-summary dt {
  color: var(--accent);
  font-size: 0.6rem;
  font-weight: 700;
}

.service-summary dd {
  overflow-wrap: anywhere;
  color: var(--paper-bright);
  font-size: 0.73rem;
  font-weight: 580;
}

.architecture-panel {
  position: relative;
  min-height: 29rem;
  align-self: stretch;
  display: grid;
  grid-template-rows: auto 1fr auto;
  color: var(--text-on-dark);
  background: rgba(9, 12, 10, 0.88);
  border: 1px solid var(--line-inverse);
  overflow: hidden;
}

.architecture-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 4rem;
  height: 0.45rem;
  background: var(--accent-secondary);
}

.architecture-head {
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1rem;
  color: var(--text-on-dark-soft);
  border-bottom: 1px solid var(--line-inverse);
  font-size: 0.6rem;
}

.architecture-head span:last-child {
  color: var(--accent);
}

.architecture-layers {
  display: grid;
  align-content: center;
  padding: 1rem;
  list-style: none;
}

.architecture-layers li {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  background: #111613;
  border: 1px solid var(--line-inverse);
}

.architecture-layers li + li {
  margin-top: -1px;
}

.architecture-layers li::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--layer-accent, var(--accent));
}

.architecture-layers li:nth-child(2) { --layer-accent: var(--accent-secondary); }
.architecture-layers li:nth-child(3) { --layer-accent: var(--coral); }
.architecture-layers li:nth-child(4) { --layer-accent: var(--pink); }

.architecture-layers li > span {
  color: var(--layer-accent, var(--accent));
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.62rem;
}

.architecture-layers li div {
  min-width: 0;
  display: grid;
  gap: 0.45rem;
}

.architecture-layers strong {
  font-size: 0.92rem;
}

.architecture-layers small {
  color: var(--text-on-dark-soft);
  font-size: 0.67rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.architecture-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  color: var(--ink);
  background: var(--accent);
  font-size: 0.68rem;
}

.architecture-foot strong {
  font-size: 0.72rem;
}

.anchor-bar {
  position: sticky;
  z-index: var(--z-anchor);
  top: var(--header-height);
  color: var(--ink);
  background: var(--accent);
  border-bottom: 1px solid var(--ink);
}

.anchor-bar-inner {
  width: min(100%, var(--content));
  margin-inline: auto;
  display: flex;
  gap: 1.8rem;
  padding-inline: var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
}

.anchor-bar-inner::-webkit-scrollbar {
  display: none;
}

.anchor-bar a {
  min-width: 2.75rem;
  min-height: 3.6rem;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 680;
  white-space: nowrap;
  transition: color 150ms linear, box-shadow 150ms linear;
}

.content-section {
  display: grid;
  gap: 3rem;
}

.content-heading {
  display: grid;
  align-content: start;
  gap: 1.5rem;
}

.article-copy {
  display: grid;
  align-content: start;
  gap: 1.5rem;
}

.article-copy p {
  max-width: 65ch;
  color: var(--ink-soft);
  line-height: 1.8;
}

.article-copy strong {
  color: var(--ink);
}

.article-copy h3 {
  max-width: 28ch;
  margin-top: 0.75rem;
  padding-top: 1.25rem;
  border-top: 6px solid var(--accent);
  font-size: 1.45rem;
}

.plain-list {
  display: grid;
  gap: 0.8rem;
  max-width: 48rem;
  list-style: none;
}

.plain-list li {
  display: grid;
  grid-template-columns: 1rem 1fr;
  gap: 0.75rem;
  color: var(--ink-soft);
}

.plain-list li::before {
  content: "+";
  color: var(--accent);
  font-weight: 800;
}

.scope-catalog {
  border-top: 2px solid var(--ink);
}

.scope-item {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 1.1rem;
  padding: 2rem 0 2rem 1rem;
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
}

.scope-item::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: 0.4rem;
  background: var(--scope-accent, var(--accent));
  transition: width 360ms var(--ease-out);
}

.scope-item:nth-child(2) { --scope-accent: var(--accent-secondary); }
.scope-item:nth-child(3) { --scope-accent: var(--coral); }
.scope-item:nth-child(4) { --scope-accent: var(--pink); }
.scope-item:nth-child(5) { --scope-accent: var(--lime); }
.scope-item:nth-child(6) { --scope-accent: var(--accent-secondary); }
.scope-item:nth-child(7) { --scope-accent: var(--coral); }

.scope-number {
  color: var(--ink-muted);
  font-size: 0.68rem;
}

.scope-item h3 {
  max-width: 25ch;
  font-size: 1.55rem;
}

.scope-item > p {
  max-width: 46rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.scope-item ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  list-style: none;
}

.scope-item li {
  color: var(--ink-soft);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 650;
}

.scope-item li::before {
  content: "/";
  margin-right: 0.45rem;
  color: var(--scope-accent, var(--accent));
}

.fit-band {
  color: var(--ink);
  background: var(--accent);
  border-block: 1px solid var(--ink);
}

.fit-band .section-index {
  color: var(--ink-soft);
}

.fit-band .section-index::before {
  background: var(--accent-secondary);
}

.fit-band .section-heading > p:last-child {
  color: var(--ink-soft);
}

.fit-grid {
  display: grid;
  border-top: 2px solid var(--ink);
}

.fit-column {
  padding: 2rem 0;
  border-bottom: 1px solid var(--ink);
}

.fit-column h3 {
  margin-bottom: 1.5rem;
  font-size: 1.45rem;
}

.fit-column ul {
  display: grid;
  gap: 1rem;
  list-style: none;
}

.fit-column li {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.75rem;
  color: var(--ink-soft);
}

.fit-column li::before {
  content: "+";
  color: var(--ink);
  font-weight: 850;
}

.fit-column.is-caution li::before {
  content: "−";
  color: var(--coral);
}

.architecture-section {
  color: var(--text-on-dark);
  background: var(--ink);
  border-top: 8px solid var(--accent-secondary);
}

.architecture-section .content-section {
  width: min(100%, var(--content));
}

.architecture-section .section-index,
.architecture-section .content-heading > p:last-child {
  color: var(--text-on-dark-soft);
}

.architecture-section .section-index::before {
  border-color: var(--paper-bright);
}

.layer-sequence {
  list-style: none;
  border-top: 2px solid var(--paper-bright);
}

.layer-sequence > li {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line-inverse);
}

.layer-sequence > li::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  width: var(--layer-width, 22%);
  height: 4px;
  background: var(--layer-color, var(--accent));
}

.layer-sequence > li:nth-child(2) { --layer-width: 38%; --layer-color: var(--accent-secondary); }
.layer-sequence > li:nth-child(3) { --layer-width: 54%; --layer-color: var(--coral); }
.layer-sequence > li:nth-child(4) { --layer-width: 70%; --layer-color: var(--pink); }
.layer-sequence > li:nth-child(5) { --layer-width: 86%; --layer-color: var(--lime); }

.layer-sequence > li > span {
  color: var(--layer-color, var(--accent));
  font-size: 0.68rem;
}

.layer-sequence > li > div {
  display: grid;
  gap: 0.75rem;
}

.layer-sequence h3 {
  font-size: 1.4rem;
}

.layer-sequence p {
  max-width: 48rem;
  color: var(--text-on-dark-soft);
  line-height: 1.7;
}

.delivery-list {
  display: grid;
  border-top: 2px solid var(--ink);
}

.delivery-step {
  position: relative;
  display: grid;
  gap: 0.75rem;
  padding: 1.6rem 0 1.6rem 1rem;
  border-bottom: 1px solid var(--ink);
}

.delivery-step::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0.32rem;
  background: var(--delivery-accent, var(--accent));
}

.delivery-step:nth-child(2) { --delivery-accent: var(--accent-secondary); }
.delivery-step:nth-child(3) { --delivery-accent: var(--coral); }
.delivery-step:nth-child(4) { --delivery-accent: var(--pink); }

.delivery-step > span {
  color: var(--ink-muted);
  font-size: 0.65rem;
}

.delivery-step h3 {
  font-size: 1.18rem;
}

.delivery-step p {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.ai-role {
  padding: 5rem max(var(--gutter), calc((100vw - var(--content)) / 2 + var(--gutter)));
  color: var(--text-on-dark);
  background: var(--ink);
  border-top: 8px solid var(--coral);
}

.ai-role-grid {
  display: grid;
  gap: 3rem;
}

.ai-role-copy {
  display: grid;
  align-content: start;
  gap: 1.5rem;
}

.ai-role-copy .section-index,
.ai-role-copy p {
  color: var(--text-on-dark-soft);
}

.ai-role-copy .section-index::before {
  background: var(--coral);
  border-color: var(--paper-bright);
}

.ai-role-copy p {
  max-width: 42rem;
  line-height: 1.75;
}

.ai-role-list {
  border-top: 2px solid var(--paper-bright);
}

.ai-role-list article {
  position: relative;
  display: grid;
  gap: 0.75rem;
  padding: 1.4rem 0 1.4rem 1rem;
  border-bottom: 1px solid var(--line-inverse);
}

.ai-role-list article::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0.3rem;
  background: var(--quality-accent, var(--accent));
}

.ai-role-list article:nth-child(2) { --quality-accent: var(--accent-secondary); }
.ai-role-list article:nth-child(3) { --quality-accent: var(--coral); }
.ai-role-list article:nth-child(4) { --quality-accent: var(--pink); }

.ai-role-list span {
  color: var(--quality-accent, var(--accent));
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.64rem;
}

.ai-role-list h3 {
  font-size: 1.15rem;
}

.ai-role-list p {
  color: var(--text-on-dark-soft);
  font-size: 0.88rem;
}

.faq-list {
  border-top: 2px solid var(--ink);
}

.faq-list article {
  display: grid;
  gap: 1rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--ink);
}

.faq-list h3 {
  max-width: 47rem;
  font-size: 1.25rem;
  line-height: 1.3;
}

.faq-list p {
  max-width: 65ch;
  color: var(--ink-soft);
  line-height: 1.75;
}

.related-directions {
  border-top: 2px solid var(--ink);
}

.related-link {
  position: relative;
  isolation: isolate;
  min-height: 5rem;
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding-left: 0.8rem;
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
}

.related-link::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: 0.35rem;
  background: var(--accent);
  transition: width 360ms var(--ease-out);
}

.related-link > span:first-child {
  color: var(--ink-muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.64rem;
}

.related-link strong {
  font-size: 1rem;
}

.related-link > span:last-child {
  color: var(--accent);
  font-size: 1.15rem;
}

.service-cta {
  padding: 5rem max(var(--gutter), calc((100vw - var(--content)) / 2 + var(--gutter)));
  border-top: 9px solid var(--accent);
}

.service-cta-inner {
  display: grid;
  gap: 2rem;
}

.service-cta h2 {
  max-width: 16ch;
  font-size: 2.65rem;
}

.service-cta p {
  max-width: 42rem;
  color: var(--text-on-dark-soft);
}

.service-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  align-items: center;
}

.service-cta .text-link {
  color: var(--accent);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(1.4rem);
  transition: opacity 560ms linear, transform 680ms var(--ease-out);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rail {
  to { transform: translateX(-50%); }
}

@media (hover: hover) {
  .primary-nav a:not(.nav-cta):hover,
  .site-footer a:hover {
    color: var(--accent);
  }

  .anchor-bar a:hover {
    color: var(--ink);
    box-shadow: inset 0 -0.22rem 0 var(--ink);
  }

  .nav-cta:hover,
  .button-primary:hover {
    color: var(--ink);
    background: var(--accent-secondary);
    border-color: var(--accent-secondary);
    box-shadow: 7px 7px 0 var(--accent);
    transform: translate(-2px, -2px);
  }

  .button-light:hover {
    color: var(--ink);
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 7px 7px 0 var(--accent-secondary);
    transform: translate(-2px, -2px);
  }

  .button-outline:hover {
    color: var(--paper-bright);
    background: var(--ink);
  }

  .text-link:hover,
  .inline-link:hover {
    color: var(--accent-secondary);
    transform: translateX(3px);
  }

  .service-actions .text-link:hover {
    color: var(--paper-bright);
    background: rgba(251, 252, 245, 0.08);
    border-color: var(--accent);
    transform: translateY(-2px);
  }

  .system-node:hover {
    background: #1b231e;
    transform: translateY(-2px);
  }

  .system-node.is-active:hover {
    color: var(--ink);
    background: var(--accent);
  }

  .direction-row:hover,
  .scope-item:hover {
    color: var(--ink);
    padding-inline: 1.6rem 0.6rem;
  }

  .direction-row:hover::before,
  .scope-item:hover::before {
    width: 100%;
  }

  .direction-row:hover .direction-copy p,
  .direction-row:hover .direction-topics li,
  .scope-item:hover > p,
  .scope-item:hover li {
    color: var(--ink-soft);
  }

  .related-link:hover::before {
    width: 100%;
  }

  .related-link:hover > span:last-child {
    color: var(--ink);
  }
}

@media (min-width: 40rem) {
  :root {
    --gutter: 2rem;
  }

  .hero-copy {
    min-height: 40rem;
    gap: 1.6rem;
    padding-block: 2.6rem 3rem;
  }

  .hero h1,
  .service-hero h1 {
    font-size: 4.15rem;
  }

  .hero-lead,
  .service-lead {
    font-size: 1.08rem;
  }

  .hero-scope,
  .service-summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-system {
    min-height: 23rem;
  }

  .system-stage {
    padding: 0.8rem;
  }

  .system-node {
    min-height: 5rem;
    padding: 0.85rem;
  }

  .system-node span {
    display: block;
  }

  .intro-band {
    grid-template-columns: minmax(10rem, 0.42fr) minmax(0, 1.58fr);
    padding-block: 6rem;
  }

  .intro-band h2,
  .section-heading h2,
  .ai-model-copy h2,
  .foundation-copy h2,
  .trust-statement h2,
  .content-heading h2,
  .ai-role-copy h2 {
    font-size: 3.25rem;
  }

  .direction-row {
    grid-template-columns: 2.5rem minmax(0, 1.6fr) minmax(12rem, 0.7fr);
  }

  .direction-link {
    grid-column: 2 / -1;
  }

  .foundation-grid,
  .trust-principles,
  .delivery-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .foundation-grid article,
  .trust-principles article,
  .delivery-step {
    padding: 1.7rem;
  }

  .foundation-grid article:nth-child(odd),
  .trust-principles article:nth-child(odd),
  .delivery-step:nth-child(odd) {
    border-right: 1px solid var(--ink);
  }

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

  .form-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

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

  .service-hero-copy {
    padding-block: 3.5rem;
  }

  .architecture-layers {
    padding: 1.6rem;
  }

  .architecture-layers li {
    grid-template-columns: 3rem minmax(0, 1fr);
    padding: 1.3rem;
  }

  .scope-item {
    grid-template-columns: 2.5rem minmax(11rem, 0.65fr) minmax(0, 1.35fr);
  }

  .scope-item ul {
    grid-column: 3;
  }

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

  .fit-column {
    padding: 2rem;
  }

  .fit-column:first-child {
    padding-left: 0;
    border-right: 1px solid var(--ink);
  }

  .delivery-list {
    border-bottom: 1px solid var(--ink);
  }

  .delivery-step {
    border-bottom: 0;
  }

  .faq-list article {
    grid-template-columns: minmax(14rem, 0.8fr) minmax(0, 1.2fr);
    gap: 3rem;
  }
}

@media (min-width: 64rem) {
  .section-shell {
    padding-block: 7rem;
  }

  .intro-band {
    padding-block: 7rem;
  }

  .section-heading {
    grid-template-columns: minmax(9rem, 0.4fr) minmax(20rem, 1.25fr) minmax(17rem, 0.7fr);
    align-items: start;
  }

  .direction-row {
    grid-template-columns: 3rem minmax(0, 1.35fr) minmax(15rem, 0.72fr) 10rem;
    align-items: start;
    padding-block: 2.4rem;
  }

  .direction-copy h3 {
    font-size: 2.1rem;
  }

  .direction-link {
    grid-column: auto;
    align-self: start;
  }

  .foundation-copy,
  .trust-statement {
    position: sticky;
    top: calc(var(--header-height) + 5rem);
  }

  .dual-track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dual-track article + article {
    border-top: 0;
    border-left: 1px solid var(--line-inverse);
  }

  .foundation {
    display: grid;
    grid-template-columns: minmax(18rem, 0.68fr) minmax(0, 1.32fr);
    gap: 4rem;
  }

  .foundation-copy {
    margin-bottom: 0;
  }

  .process-list > li {
    grid-template-columns: 4rem minmax(0, 1fr) 12rem;
    align-items: start;
    padding-block: 2.4rem;
  }

  .process-list small {
    grid-column: auto;
    justify-self: end;
  }

  .trust {
    grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1.28fr);
    align-items: start;
  }

  .contact {
    grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1.28fr);
    gap: 5rem;
    padding-block: 7rem;
  }

  .content-section {
    grid-template-columns: minmax(18rem, 0.7fr) minmax(0, 1.3fr);
    gap: 5rem;
  }

  .content-heading {
    position: sticky;
    top: calc(var(--header-height) + 5rem);
  }

  .architecture-section .content-heading {
    position: static;
  }

  .layer-sequence > li {
    grid-template-columns: 3rem minmax(13rem, 0.55fr) minmax(0, 1.45fr);
  }

  .layer-sequence > li > div {
    display: contents;
  }

  .layer-sequence p {
    align-self: start;
  }

  .delivery-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .delivery-step:nth-child(2) {
    border-right: 1px solid var(--ink);
  }

  .delivery-step {
    padding: 2rem;
  }

  .ai-role {
    padding-block: 7rem;
  }

  .ai-role-grid {
    width: min(100%, var(--content));
    margin-inline: auto;
    grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1.28fr);
    gap: 5rem;
  }

  .service-cta {
    padding-block: 7rem;
  }

  .service-cta-inner {
    width: min(100%, var(--content));
    margin-inline: auto;
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
    align-items: end;
  }

  .service-cta-inner > div:last-child {
    justify-self: end;
  }
}

@media (min-width: 85rem) {
  .ai-model {
    grid-template-columns: minmax(17rem, 0.62fr) minmax(0, 1.38fr);
    align-items: start;
  }

  .ai-model-copy {
    position: sticky;
    top: calc(var(--header-height) + 5rem);
  }
}

@media (min-width: 70rem) {
  .hero {
    min-height: clamp(35rem, calc(100svh - var(--header-height) - var(--preview-height) - 7rem), 54rem);
  }

  .hero-copy {
    min-height: inherit;
    padding-top: 3rem;
    padding-right: 35rem;
    padding-bottom: 3rem;
  }

  .hero h1 {
    font-size: 5.25rem;
  }

  .hero-system {
    position: absolute;
    right: max(var(--gutter), calc((100% - var(--content)) / 2 + var(--gutter)));
    bottom: 3rem;
    width: 31rem;
    min-height: 29rem;
    margin: 0;
  }

  .system-node {
    min-height: 6.4rem;
    padding: 1rem;
  }

  .system-node strong {
    font-size: 1rem;
  }

  .system-readout {
    min-height: 5.6rem;
    padding: 1rem;
  }

  .service-hero-grid {
    min-height: clamp(35rem, calc(100svh - var(--header-height) - var(--preview-height) - 7rem), 54rem);
    grid-template-columns: minmax(0, 1.08fr) minmax(27rem, 0.92fr);
    align-items: stretch;
  }

  .service-hero-copy {
    gap: 1rem;
    padding-block: 2.5rem;
    padding-right: 4rem;
  }

  .service-hero h1 {
    font-size: 5rem;
  }

  .architecture-panel {
    min-height: 0;
    margin-block: 2rem;
  }
}

@media (min-width: 76rem) {
  .menu-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    min-height: 0;
    justify-self: end;
    display: flex;
    align-items: center;
    padding: 0;
    color: var(--ink);
    background: transparent;
    border-bottom: 0;
    overflow: visible;
    transform: none;
    opacity: 1;
    visibility: visible;
    transition: none;
  }

  .primary-nav a {
    min-height: 2.8rem;
    padding: 0 0.7rem;
    border-bottom: 0;
    font-size: 0.75rem;
  }

  .primary-nav a::after {
    display: none;
  }

  .primary-nav .nav-cta {
    min-height: 2.8rem;
    margin: 0 0 0 0.6rem;
    padding-inline: 1rem;
    color: var(--ink);
    background: var(--accent);
    border: 1px solid var(--ink);
  }

  .primary-nav .language-link {
    min-width: 2.8rem;
    justify-content: center;
    margin-left: 0.25rem;
    padding-inline: 0.65rem;
    color: var(--ink);
    border-left: 1px solid var(--line);
    font-size: 0.68rem;
  }
}

@media (min-width: 96rem) {
  .preview-note,
  .site-header {
    padding-inline: max(var(--gutter), calc((100vw - var(--content)) / 2));
  }

  .section-shell,
  .page-shell,
  .intro-band,
  .anchor-bar-inner {
    padding-inline: 0;
  }

  .hero-copy,
  .service-hero-copy {
    padding-left: 0;
  }

  .hero-copy {
    padding-right: 37rem;
  }

  .hero h1 {
    font-size: 5.8rem;
  }

  .hero-system {
    right: max(var(--gutter), calc((100% - var(--content)) / 2));
    width: 33rem;
  }

  .service-hero h1 {
    font-size: 5.5rem;
  }
}

@media (min-width: 70rem) and (max-height: 60rem) {
  .hero-copy {
    gap: 0.85rem;
    padding-top: 1.4rem;
    padding-bottom: 1.4rem;
  }

  .hero h1 {
    font-size: 4.2rem;
  }

  .hero-lead {
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .hero-system {
    bottom: 1.5rem;
    min-height: 24rem;
  }

  .system-node {
    min-height: 4.8rem;
  }

  .system-readout {
    min-height: 4.7rem;
  }

  .service-hero-copy {
    gap: 0.65rem;
    padding-block: 1.2rem;
  }

  .service-hero h1 {
    font-size: 3.8rem;
  }

  .service-lead {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .service-summary div {
    padding-block: 0.5rem;
  }

  .architecture-panel {
    margin-block: 1rem;
  }

  .architecture-layers {
    padding-block: 0.7rem;
  }

  .architecture-layers li {
    padding-block: 0.7rem;
  }
}

@media (max-width: 69.99rem) {
  .hero-copy {
    min-height: 0;
    gap: 0.85rem;
    padding-top: 1.25rem;
    padding-bottom: 0.85rem;
  }

  .hero h1,
  .service-hero h1 {
    font-size: 2.5rem;
  }

  .hero-lead,
  .service-lead {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .hero-actions,
  .service-actions {
    gap: 0.8rem;
  }

  .hero-actions .button,
  .service-actions .button {
    min-height: 2.8rem;
    padding-inline: 1rem;
  }

  .hero-scope,
  .service-summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 0;
  }

  .hero-scope div,
  .service-summary div {
    padding: 0.5rem 0.4rem;
  }

  .hero-scope dd,
  .service-summary dd {
    font-size: 0.64rem;
    line-height: 1.25;
  }

  .hero-system {
    min-height: 0;
    margin-top: 0.4rem;
  }

  .service-hero-copy {
    gap: 0.8rem;
    padding-block: 1rem 0.8rem;
  }

  .console-head {
    min-height: 1.8rem;
    padding-inline: 0.55rem;
  }

  .system-stage {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: auto auto;
    padding: 0.25rem;
  }

  .system-node {
    min-height: 3.25rem;
    padding: 0.35rem;
  }

  .system-node small,
  .system-node span {
    display: none;
  }

  .system-node strong {
    font-size: 0.69rem;
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  .system-readout {
    min-height: 3.1rem;
    padding: 0.5rem 0.55rem 0.5rem 0.75rem;
  }

  .system-readout span {
    font-size: 0.52rem;
  }

  .system-readout p {
    font-size: 0.61rem;
    line-height: 1.25;
  }

  .architecture-panel {
    min-height: 0;
    margin-bottom: 1rem;
  }

  .architecture-head {
    min-height: 1.8rem;
    padding-inline: 0.55rem;
  }

  .architecture-layers {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-content: stretch;
    padding: 0.25rem;
  }

  .architecture-layers li {
    min-width: 0;
    min-height: 3.8rem;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    gap: 0.25rem;
    padding: 0.4rem;
  }

  .architecture-layers li + li {
    margin-top: 0;
    margin-left: -1px;
  }

  .architecture-layers li > span,
  .architecture-layers small {
    display: none;
  }

  .architecture-layers strong {
    font-size: 0.66rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .architecture-foot {
    min-height: 2.7rem;
    padding: 0.6rem;
  }
}

@media (min-width: 40rem) and (max-width: 63.99rem) {
  .hero-copy {
    gap: 1.1rem;
    padding-block: 2rem 1.4rem;
  }

  .hero h1,
  .service-hero h1 {
    font-size: 3.6rem;
  }

  .hero-lead,
  .service-lead {
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-system {
    margin-top: 0.6rem;
    margin-bottom: 2rem;
  }

  .system-node {
    min-height: 4rem;
  }

  .service-hero-copy {
    gap: 1rem;
    padding-block: 2rem 1.4rem;
  }

  .architecture-panel {
    margin-bottom: 2rem;
  }

  .architecture-layers li {
    min-height: 4.5rem;
    padding: 0.65rem;
  }

  .architecture-layers strong {
    font-size: 0.78rem;
  }
}

@media (min-width: 64rem) and (max-width: 69.99rem) {
  .hero {
    min-height: clamp(35rem, calc(100svh - var(--header-height) - var(--preview-height) - 7rem), 44rem);
  }

  .hero-copy {
    min-height: inherit;
    gap: 0.65rem;
    padding: 1.5rem 25rem 1.5rem 2rem;
  }

  .hero h1 {
    font-size: 3.4rem;
  }

  .hero-lead {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .hero-system {
    position: absolute;
    right: 2rem;
    bottom: 1rem;
    width: 22rem;
    min-height: 22rem;
    margin: 0;
  }

  .system-stage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr)) auto;
    padding: 0.5rem;
  }

  .system-node {
    min-height: 4.8rem;
    padding: 0.65rem;
  }

  .system-node small {
    display: block;
  }

  .system-node strong {
    font-size: 0.8rem;
  }

  .service-hero-grid {
    min-height: clamp(35rem, calc(100svh - var(--header-height) - var(--preview-height) - 7rem), 44rem);
    grid-template-columns: minmax(0, 1.08fr) minmax(24rem, 0.92fr);
    align-items: stretch;
  }

  .service-hero-copy {
    gap: 0.55rem;
    padding-block: 1rem;
    padding-right: 2rem;
  }

  .service-hero h1 {
    font-size: 3.2rem;
  }

  .service-lead {
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .service-summary div {
    padding-block: 0.45rem;
  }

  .architecture-panel {
    min-height: 0;
    margin: 1rem 0;
  }

  .architecture-head {
    min-height: 2.5rem;
    padding-inline: 0.8rem;
  }

  .architecture-layers {
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    padding: 0.7rem;
  }

  .architecture-layers li {
    min-height: 0;
    grid-template-columns: 2.4rem minmax(0, 1fr);
    gap: 0.7rem;
    padding: 0.65rem;
  }

  .architecture-layers li + li {
    margin-top: -1px;
    margin-left: 0;
  }

  .architecture-layers li > span,
  .architecture-layers small {
    display: block;
  }

  .architecture-layers strong {
    font-size: 0.8rem;
  }

  .architecture-layers small {
    font-size: 0.6rem;
  }
}

@media (max-width: 39.99rem) {
  .service-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.65rem;
  }

  .service-actions .button {
    width: 100%;
  }

  .service-actions .text-link {
    min-width: 0;
    padding-inline: 0.8rem;
  }
}

@media (max-width: 24rem) {
  .preview-note strong {
    display: none;
  }

  .brand {
    gap: 0.24rem;
  }

  .brand-primary {
    width: 5.1rem;
  }

  .brand-dev {
    font-size: 0.76rem;
  }

  .hero h1,
  .service-hero h1 {
    font-size: 2.05rem;
  }

  .hero-copy {
    gap: 0.55rem;
    padding-top: 0.85rem;
    padding-bottom: 0.45rem;
  }

  .hero-lead,
  .service-lead {
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .hero-actions,
  .service-actions {
    align-items: stretch;
  }

  .hero-actions .button,
  .service-actions .button {
    width: auto;
    padding-inline: 0.7rem;
    font-size: 0.72rem;
  }

  .hero-actions .text-link,
  .service-actions .text-link {
    width: auto;
    font-size: 0.72rem;
  }

  .primary-nav a {
    font-size: 1.15rem;
  }

  .hero-scope div,
  .service-summary div {
    padding: 0.35rem 0.3rem;
  }

  .hero-scope dd,
  .service-summary dd {
    font-size: 0.58rem;
  }

  .hero-system {
    margin-bottom: 0.5rem;
  }

  .console-head,
  .architecture-head {
    display: none;
  }

  .system-node {
    min-height: 2.9rem;
  }

  .system-readout {
    min-height: 2.75rem;
  }

  .service-hero-copy {
    gap: 0.55rem;
    padding-block: 0.75rem 0.45rem;
  }

  .architecture-panel {
    margin-bottom: 0.5rem;
  }

  .architecture-layers li {
    min-height: 3.35rem;
    padding: 0.3rem;
  }

  .architecture-foot {
    min-height: 2.35rem;
    padding: 0.4rem;
  }

  .capability-rail div {
    min-height: 2.5rem;
  }

  .anchor-bar a {
    min-height: 3rem;
  }

  .section-heading h2,
  .ai-model-copy h2,
  .foundation-copy h2,
  .trust-statement h2,
  .content-heading h2,
  .ai-role-copy h2 {
    font-size: 2rem;
    overflow-wrap: anywhere;
  }

  .contact-copy h2,
  .service-cta h2 {
    font-size: 2.1rem;
  }
}

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

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
