:root {
  --ink: #11110f;
  --ink-soft: #1b1b18;
  --paper: #f1efe9;
  --paper-bright: #faf9f5;
  --stone: #d8d4ca;
  --muted: #68665f;
  --red: #ed3d2b;
  --red-dark: #be291b;
  --signal: #b9d9ce;
  --line: rgba(17, 17, 15, 0.16);
  --line-inverse: rgba(250, 249, 245, 0.2);
  --content: 1320px;
  --gutter: 48px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Onest", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

button,
summary {
  font: inherit;
}

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

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

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

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 100;
  width: 0;
  height: 3px;
  background: var(--red);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  color: var(--paper-bright);
  background: rgba(17, 17, 15, 0.92);
  border-bottom: 1px solid var(--line-inverse);
  backdrop-filter: blur(16px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.scrolled,
.site-header.menu-active {
  background: rgba(17, 17, 15, 0.93);
  border-color: var(--line-inverse);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand span:first-child {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: var(--paper-bright);
  background: var(--red);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
}

.brand span:last-child {
  font-size: 13px;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav > a {
  position: relative;
  color: rgba(250, 249, 245, 0.76);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.site-nav > a::after {
  content: "";
  position: absolute;
  inset: auto 0 -8px;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav > a:hover::after,
.site-nav > a:focus-visible::after {
  transform: scaleX(1);
}

.language-switch {
  display: grid;
  grid-template-columns: repeat(2, 36px);
  height: 32px;
  border: 1px solid var(--line-inverse);
}

.language-switch button {
  border: 0;
  color: rgba(250, 249, 245, 0.62);
  background: transparent;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  cursor: pointer;
}

.language-switch button + button {
  border-left: 1px solid var(--line-inverse);
}

.language-switch button.active {
  color: var(--ink);
  background: var(--paper-bright);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-inverse);
  background: transparent;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: var(--paper-bright);
}

.hero {
  position: relative;
  height: min(860px, 92svh);
  min-height: 700px;
  overflow: hidden;
  color: var(--paper-bright);
  background: var(--ink);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  background-image: url("assets/revenue-system-hero.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.025);
  animation: hero-image-in 1300ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(17, 17, 15, 0.97) 0%, rgba(17, 17, 15, 0.88) 34%, rgba(17, 17, 15, 0.35) 66%, rgba(17, 17, 15, 0.16) 100%),
    linear-gradient(0deg, rgba(17, 17, 15, 0.55) 0%, transparent 42%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--content), calc(100% - (var(--gutter) * 2)));
  height: 100%;
  margin: 0 auto;
  padding-top: 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--red);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-eyebrow {
  color: #ff7567;
  opacity: 0;
  animation: hero-copy-in 600ms 250ms ease forwards;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: 94px;
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: 0;
  opacity: 0;
  animation: hero-copy-in 700ms 350ms ease forwards;
}

.hero-headline {
  max-width: 770px;
  margin: 24px 0 0;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.12;
  opacity: 0;
  animation: hero-copy-in 700ms 480ms ease forwards;
}

.hero-summary {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(250, 249, 245, 0.7);
  font-size: 17px;
  opacity: 0;
  animation: hero-copy-in 700ms 590ms ease forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  opacity: 0;
  animation: hero-copy-in 700ms 700ms ease forwards;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 170ms ease, background 170ms ease, color 170ms ease, border-color 170ms ease;
}

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

.button-primary {
  color: var(--paper-bright);
  background: var(--red);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--red-dark);
}

.button-secondary {
  color: var(--paper-bright);
  border-color: rgba(250, 249, 245, 0.4);
  background: rgba(17, 17, 15, 0.28);
  backdrop-filter: blur(8px);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--ink);
  border-color: var(--paper-bright);
  background: var(--paper-bright);
}

.hero-index {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(250, 249, 245, 0.58);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.hero-index span:first-child {
  color: var(--red);
}

.signal-bar {
  min-height: 92px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--signal);
  border-bottom: 1px solid var(--line);
}

.signal-bar span {
  display: flex;
  align-items: center;
  padding: 22px var(--gutter);
  border-right: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}

.signal-bar span:last-child {
  border-right: 0;
}

.section {
  width: min(var(--content), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
  padding: 136px 0;
}

#problems,
#system,
#work,
#engagement,
#fit,
#contact,
#diagnostic {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.section-intro {
  display: grid;
  grid-template-columns: 0.72fr 1.25fr;
  column-gap: 84px;
  align-items: start;
}

.section-intro .eyebrow {
  grid-column: 1;
}

.section-intro h2 {
  grid-column: 1 / -1;
}

.section-intro .section-lead {
  grid-column: 2;
  margin-top: 30px;
}

h2 {
  max-width: 1080px;
  margin: 0;
  font-size: 72px;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0;
}

.section-lead {
  max-width: 670px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.problem-list {
  margin-top: 96px;
  border-top: 1px solid var(--line);
}

.problem-row {
  min-height: 180px;
  display: grid;
  grid-template-columns: 80px minmax(260px, 0.95fr) minmax(300px, 1fr);
  gap: 32px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: color 220ms ease, background 220ms ease, padding 220ms ease;
}

.problem-row:hover {
  padding-inline: 20px;
  color: var(--paper-bright);
  background: var(--ink);
}

.problem-row > span,
.engagement-index {
  color: var(--red);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
}

.problem-row p {
  margin: 0;
  color: var(--muted);
}

.problem-row:hover p {
  color: rgba(250, 249, 245, 0.64);
}

.system-section {
  color: var(--paper-bright);
  background: var(--ink);
}

.system-heading {
  padding-bottom: 84px;
}

.system-heading h2 {
  max-width: 900px;
}

.system-heading .section-lead {
  margin: 28px 0 0 auto;
  color: rgba(250, 249, 245, 0.62);
}

.journey-wrap {
  position: relative;
  width: min(var(--content), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
  padding: 30px 0 110px;
}

.journey-line {
  position: absolute;
  top: 57px;
  left: 8.3%;
  right: 8.3%;
  height: 1px;
  background: rgba(250, 249, 245, 0.26);
}

.journey-line::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--journey-progress, 0%);
  background: var(--red);
  transition: width 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.journey {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey li {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0.38;
  transition: opacity 260ms ease, transform 260ms ease;
}

.journey li.active {
  opacity: 1;
  transform: translateY(-5px);
}

.journey li > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid rgba(250, 249, 245, 0.34);
  border-radius: 50%;
  color: var(--paper-bright);
  background: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
}

.journey li.active > span {
  border-color: var(--red);
  background: var(--red);
}

.journey strong {
  font-size: 16px;
}

.journey small {
  margin-top: 5px;
  color: rgba(250, 249, 245, 0.55);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
}

.system-rails {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 70px;
}

.system-rails span {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 1px solid var(--line-inverse);
  color: rgba(250, 249, 245, 0.7);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.diagnostic {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 88px;
}

.diagnostic-copy {
  position: sticky;
  top: 110px;
  align-self: start;
}

.diagnostic-copy h2 {
  font-size: 58px;
}

.diagnostic-copy .section-lead {
  margin-top: 26px;
}

.diagnostic-tool {
  min-height: 570px;
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  border: 1px solid var(--line);
  background: var(--paper-bright);
}

.diagnostic-options {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}

.diagnostic-options button {
  flex: 1;
  min-height: 82px;
  padding: 20px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
  text-align: left;
  font-weight: 600;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.diagnostic-options button:last-child {
  border-bottom: 0;
}

.diagnostic-options button.active {
  color: var(--paper-bright);
  background: var(--ink);
}

.diagnostic-result {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 44px;
  background:
    linear-gradient(rgba(17, 17, 15, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 15, 0.055) 1px, transparent 1px),
    var(--paper-bright);
  background-size: 40px 40px;
}

.diagnostic-result > span {
  color: var(--red);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
}

.diagnostic-result h3 {
  margin-top: 90px;
  font-size: 38px;
}

.diagnostic-result p {
  margin: 22px 0 0;
  color: var(--muted);
}

.diagnostic-result.animate > * {
  animation: result-in 330ms ease both;
}

.work {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  color: var(--paper-bright);
  background: var(--ink-soft);
}

.work-visual {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 700px;
  overflow: hidden;
  border-right: 1px solid var(--line-inverse);
  background: #0d0d0b;
}

.work-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  opacity: 0.9;
  filter: saturate(0.88) contrast(1.04);
  transition: transform 700ms ease, opacity 700ms ease, filter 700ms ease;
}

.work-visual:hover img {
  transform: scale(1.018);
  opacity: 1;
  filter: saturate(1) contrast(1.02);
}

.work-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(17, 17, 15, 0.06) 45%, rgba(17, 17, 15, 0.78) 100%);
}

.visual-caption {
  position: absolute;
  inset: auto 28px 26px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  z-index: 1;
  color: rgba(250, 249, 245, 0.78);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.work-content {
  padding: 128px max(var(--gutter), calc((100vw - var(--content)) / 2)) 128px 72px;
}

.work-content h2 {
  font-size: 58px;
}

.work-lead {
  max-width: 650px;
  margin: 30px 0 0;
  color: rgba(250, 249, 245, 0.66);
  font-size: 18px;
}

.work-list {
  margin-top: 64px;
  border-top: 1px solid var(--line-inverse);
}

.work-list article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-inverse);
}

.work-list article > span {
  color: var(--red);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
}

.work-list h3 {
  font-size: 26px;
}

.work-list p {
  max-width: 570px;
  margin: 12px 0 0;
  color: rgba(250, 249, 245, 0.6);
}

.process {
  border-bottom: 1px solid var(--line);
}

.service-catalog {
  background: var(--paper-bright);
  border-bottom: 1px solid var(--line);
}

.service-catalog-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) minmax(0, 1.6fr);
  gap: 48px;
}

.service-catalog-heading h2 {
  max-width: 980px;
}

.service-catalog-heading .section-lead {
  grid-column: 2;
}

.service-directory {
  margin-top: 84px;
  border-top: 1px solid var(--line);
}

.service-link {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 36px;
  gap: 24px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  transition: color 180ms ease, background 180ms ease, padding 180ms ease;
}

.service-link > span {
  color: var(--red);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
}

.service-link h3 {
  font-size: 29px;
}

.service-link p {
  max-width: 760px;
  margin: 9px 0 0;
  color: var(--muted);
}

.service-link b {
  font-family: "IBM Plex Mono", monospace;
  font-size: 22px;
  font-weight: 500;
  transition: transform 180ms ease;
}

.service-link:hover,
.service-link:focus-visible {
  padding-inline: 20px;
  color: var(--paper-bright);
  background: var(--ink);
  outline: none;
}

.service-link:hover p,
.service-link:focus-visible p {
  color: rgba(250, 249, 245, 0.62);
}

.service-link:hover b,
.service-link:focus-visible b {
  transform: translate(3px, -3px);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 90px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.process-list li {
  min-height: 300px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.process-list li:last-child {
  border-right: 0;
}

.process-list span {
  color: var(--red);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
}

.process-list strong {
  display: block;
  margin-top: 105px;
  font-size: 26px;
}

.process-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.engagement {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 88px;
}

.engagement-heading {
  position: sticky;
  top: 110px;
  align-self: start;
}

.engagement-heading h2 {
  font-size: 58px;
}

.engagement-heading .section-lead {
  margin-top: 26px;
}

.engagement-list {
  border-top: 1px solid var(--line);
}

.engagement-row {
  min-height: 180px;
  display: grid;
  grid-template-columns: 46px minmax(260px, 1fr) minmax(180px, auto);
  gap: 22px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.engagement-row.featured {
  padding-inline: 24px;
  color: var(--paper-bright);
  background: var(--ink);
}

.engagement-name h3 {
  font-size: 22px;
}

.engagement-name p {
  max-width: 520px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.featured .engagement-name p {
  color: rgba(250, 249, 245, 0.58);
}

.engagement-row strong {
  max-width: 250px;
  font-size: 21px;
  line-height: 1.25;
  text-align: right;
}

.text-link {
  color: var(--red-dark);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-transform: uppercase;
}

.fit-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  min-height: 720px;
  color: var(--paper-bright);
  background: var(--ink);
}

.fit-copy {
  padding: 128px var(--gutter) 128px max(var(--gutter), calc((100vw - var(--content)) / 2));
  border-right: 1px solid var(--line-inverse);
}

.fit-copy h2 {
  max-width: 620px;
  font-size: 58px;
}

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

.fit-column {
  padding: 128px 42px;
  border-right: 1px solid var(--line-inverse);
}

.fit-column:last-child {
  border-right: 0;
}

.fit-column > span {
  display: block;
  margin-bottom: 58px;
  color: var(--signal);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.fit-no > span {
  color: #ff7567;
}

.fit-column p {
  margin: 0;
  padding: 20px 0;
  border-top: 1px solid var(--line-inverse);
  color: rgba(250, 249, 245, 0.68);
}

.contact {
  position: relative;
  min-height: 760px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  color: var(--paper-bright);
  background: var(--ink);
}

.contact-image,
.contact-overlay {
  position: absolute;
  inset: 0;
}

.contact-image {
  background-image: url("assets/revenue-system-hero.jpg");
  background-position: center right;
  background-size: cover;
  transform: scaleX(-1);
  opacity: 0.45;
}

.contact-overlay {
  background: linear-gradient(90deg, rgba(17, 17, 15, 0.96) 0%, rgba(17, 17, 15, 0.8) 54%, rgba(17, 17, 15, 0.42) 100%);
}

.contact-inner,
.contact footer {
  position: relative;
  z-index: 2;
  width: min(var(--content), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.contact-inner {
  padding: 140px 0 80px;
}

.contact-inner h2 {
  max-width: 980px;
}

.contact-inner > p:not(.eyebrow) {
  max-width: 670px;
  margin: 28px 0 0;
  color: rgba(250, 249, 245, 0.66);
  font-size: 18px;
}

.contact-prep {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.contact-prep li {
  padding: 10px 13px;
  border: 1px solid var(--line-inverse);
  color: rgba(250, 249, 245, 0.76);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

/* Service pages */
.service-page {
  min-height: 100vh;
  background: var(--paper);
}

.service-hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--paper-bright);
  background: var(--ink);
}

.service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/revenue-system-hero.jpg") center / cover no-repeat;
  opacity: 0.18;
  filter: grayscale(1) contrast(1.15);
}

.service-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 17, 15, 0.98) 0%, rgba(17, 17, 15, 0.84) 62%, rgba(17, 17, 15, 0.42) 100%);
}

.service-hero-grid {
  position: absolute;
  inset: var(--header-height) 0 0;
  z-index: 1;
  opacity: 0.16;
  background-image: linear-gradient(var(--line-inverse) 1px, transparent 1px), linear-gradient(90deg, var(--line-inverse) 1px, transparent 1px);
  background-size: 96px 96px;
}

.service-hero-inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: 150px var(--gutter) 92px;
}

.service-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 68px;
  color: rgba(250, 249, 245, 0.52);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.service-breadcrumb a:hover {
  color: var(--paper-bright);
}

.service-breadcrumb b {
  color: var(--red);
  font-weight: 600;
}

.service-hero h1 {
  max-width: 1050px;
  margin: 0;
  font-size: 84px;
  line-height: 0.98;
  letter-spacing: 0;
}

.service-hero-lead {
  max-width: 780px;
  margin: 34px 0 0;
  color: rgba(250, 249, 245, 0.7);
  font-size: 21px;
}

.service-number {
  position: absolute;
  right: var(--gutter);
  bottom: -42px;
  z-index: 2;
  color: rgba(250, 249, 245, 0.06);
  font-family: "IBM Plex Mono", monospace;
  font-size: 260px;
  font-weight: 600;
  line-height: 1;
}

.service-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--red);
  color: var(--paper-bright);
}

.service-flow span {
  min-height: 104px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px var(--gutter);
  border-right: 1px solid rgba(250, 249, 245, 0.28);
  font-weight: 600;
}

.service-flow span:last-child {
  border-right: 0;
}

.service-flow b {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  opacity: 0.68;
}

.service-thesis {
  display: grid;
  grid-template-columns: minmax(160px, 0.55fr) minmax(0, 1.7fr);
  gap: 52px;
  background: var(--paper-bright);
  border-bottom: 1px solid var(--line);
}

.service-thesis h2 {
  max-width: 1050px;
  font-size: 58px;
}

.service-scope {
  color: var(--paper-bright);
  background: var(--ink-soft);
}

.service-section-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.65fr) minmax(0, 1.5fr);
  gap: 48px;
}

.service-section-heading h2 {
  max-width: 880px;
}

.service-scope-list {
  margin: 82px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-inverse);
}

.service-scope-list li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 24px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line-inverse);
}

.service-scope-list span,
.service-outcome-list span,
.other-service-list span {
  color: var(--red);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
}

.service-scope-list p {
  max-width: 900px;
  margin: 0;
  color: rgba(250, 249, 245, 0.72);
  font-size: 19px;
}

.service-process {
  background: var(--paper-bright);
  border-bottom: 1px solid var(--line);
}

.service-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 82px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
}

.service-process-grid li {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.service-process-grid li:last-child {
  border-right: 0;
}

.service-process-grid span {
  color: var(--red);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
}

.service-process-grid strong {
  margin-top: 90px;
  font-size: 24px;
}

.service-process-grid p {
  margin: 14px 0 0;
  color: var(--muted);
}

.service-outcomes {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  color: var(--paper-bright);
  background: var(--ink);
}

.service-outcomes-copy {
  padding: 112px var(--gutter);
  border-right: 1px solid var(--line-inverse);
}

.service-outcomes-copy h2 {
  max-width: 650px;
  font-size: 58px;
}

.service-fit {
  max-width: 660px;
  margin-top: 90px;
  padding-top: 24px;
  border-top: 1px solid var(--line-inverse);
}

.service-fit span {
  color: var(--red);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.service-fit p {
  margin: 14px 0 0;
  color: rgba(250, 249, 245, 0.62);
}

.service-outcome-list {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
}

.service-outcome-list > div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 30px var(--gutter);
  border-bottom: 1px solid var(--line-inverse);
}

.service-outcome-list > div:last-child {
  border-bottom: 0;
}

.service-outcome-list strong {
  font-size: 24px;
}

.other-services {
  background: var(--paper);
}

.other-service-list {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.other-service-list a {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 28px;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 180ms ease, color 180ms ease, background 180ms ease;
}

.other-service-list a:hover,
.other-service-list a:focus-visible {
  padding-inline: 16px;
  color: var(--paper-bright);
  background: var(--ink);
  outline: none;
}

.other-service-list strong {
  font-size: 21px;
}

.other-service-list b {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
}

.service-cta {
  color: var(--paper-bright);
  background: var(--red);
}

.service-cta > div {
  width: min(100%, var(--content));
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  padding: 100px var(--gutter);
}

.service-cta h2 {
  max-width: 980px;
  font-size: 70px;
}

.service-cta > div > p:not(.eyebrow) {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgba(250, 249, 245, 0.76);
  font-size: 18px;
}

.service-cta .button-primary {
  color: var(--ink);
  background: var(--paper-bright);
}

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

.service-cta footer {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 var(--gutter);
  border-top: 1px solid rgba(250, 249, 245, 0.28);
  color: rgba(250, 249, 245, 0.62);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
}

.contact .text-link {
  color: var(--paper-bright);
}

.contact footer {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line-inverse);
  color: rgba(250, 249, 245, 0.48);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

html.runtime-ready .reveal {
  opacity: 1;
  transform: none;
}

html.runtime-ready .reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes hero-image-in {
  to { transform: scale(1); }
}

@keyframes hero-copy-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes result-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1120px) {
  :root {
    --gutter: 30px;
  }

  .site-nav {
    gap: 16px;
  }

  .hero h1 {
    font-size: 78px;
  }

  .hero-headline {
    font-size: 30px;
  }

  h2 {
    font-size: 62px;
  }

  .diagnostic,
  .engagement {
    grid-template-columns: 1fr;
  }

  .diagnostic-copy,
  .engagement-heading {
    position: static;
  }

  .diagnostic-copy h2,
  .engagement-heading h2 {
    font-size: 62px;
  }

  .work-content {
    padding-left: 48px;
  }

  .fit-section {
    grid-template-columns: 1fr;
  }

  .service-hero h1 {
    font-size: 68px;
  }

  .service-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-process-grid li:nth-child(2) {
    border-right: 0;
  }

  .service-process-grid li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .service-outcomes {
    grid-template-columns: 1fr;
  }

  .service-outcomes-copy {
    border-right: 0;
    border-bottom: 1px solid var(--line-inverse);
  }

  .fit-copy {
    border-right: 0;
    border-bottom: 1px solid var(--line-inverse);
  }
}

@media (max-width: 820px) {
  :root {
    --gutter: 20px;
    --header-height: 66px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    height: calc(100svh - var(--header-height));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px var(--gutter) 40px;
    color: var(--paper-bright);
    background: var(--ink);
    transform: translateX(100%);
    transition: transform 260ms ease;
  }

  .site-nav.open {
    transform: none;
  }

  .site-nav > a {
    display: flex;
    align-items: center;
    min-height: 62px;
    border-bottom: 1px solid var(--line-inverse);
    font-size: 13px;
  }

  .site-nav > a::after {
    display: none;
  }

  .language-switch {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    height: 48px;
    margin-top: 28px;
  }

  .hero {
    height: 86svh;
    min-height: 660px;
  }

  .hero-image {
    background-position: 58% center;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(17, 17, 15, 0.96) 0%, rgba(17, 17, 15, 0.74) 74%, rgba(17, 17, 15, 0.42) 100%);
  }

  .hero-inner {
    padding-top: 108px;
  }

  .hero h1 {
    font-size: 62px;
  }

  .hero-headline {
    max-width: 620px;
    font-size: 28px;
  }

  .hero-summary {
    max-width: 560px;
  }

  .hero-index {
    display: none;
  }

  .signal-bar {
    grid-template-columns: 1fr;
  }

  .signal-bar span {
    min-height: 70px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 98px 0;
  }

  .section-intro {
    grid-template-columns: 1fr;
  }

  .section-intro .eyebrow,
  .section-intro h2,
  .section-intro .section-lead {
    grid-column: 1;
  }

  h2,
  .diagnostic-copy h2,
  .engagement-heading h2,
  .fit-copy h2,
  .work-content h2 {
    font-size: 50px;
  }

  .section-lead {
    font-size: 18px;
  }

  .problem-list {
    margin-top: 68px;
  }

  .problem-row {
    grid-template-columns: 48px 1fr;
    gap: 20px;
    padding: 28px 0;
  }

  .problem-row p {
    grid-column: 2;
  }

  .problem-row:hover {
    padding-inline: 0;
    color: inherit;
    background: transparent;
  }

  .problem-row:hover p {
    color: var(--muted);
  }

  .journey-wrap {
    overflow-x: auto;
    padding-bottom: 80px;
    scrollbar-width: thin;
  }

  .journey-line {
    left: 60px;
    right: auto;
    width: 600px;
  }

  .journey {
    width: 720px;
  }

  .system-rails {
    width: 720px;
  }

  .diagnostic-tool {
    grid-template-columns: 1fr;
  }

  .diagnostic-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .diagnostic-options button {
    border-right: 1px solid var(--line);
  }

  .diagnostic-result {
    min-height: 380px;
  }

  .work {
    grid-template-columns: 1fr;
  }

  .service-catalog-heading {
    grid-template-columns: 1fr;
  }

  .service-catalog-heading .section-lead {
    grid-column: 1;
  }

  .work-visual {
    position: relative;
    height: 65svh;
    min-height: 500px;
    border-right: 0;
    border-bottom: 1px solid var(--line-inverse);
  }

  .work-content {
    padding: 92px var(--gutter);
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-list li:nth-child(2) {
    border-right: 0;
  }

  .process-list li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .engagement-row {
    grid-template-columns: 40px 1fr;
    padding: 28px 0;
  }

  .engagement-row strong {
    grid-column: 2;
    text-align: left;
  }

  .fit-columns {
    grid-template-columns: 1fr;
  }

  .service-hero {
    min-height: 680px;
  }

  .service-hero-inner {
    padding-top: 120px;
    padding-bottom: 70px;
  }

  .service-breadcrumb {
    margin-bottom: 44px;
  }

  .service-hero h1 {
    font-size: 54px;
  }

  .service-hero-lead {
    font-size: 18px;
  }

  .service-number {
    font-size: 180px;
  }

  .service-flow {
    grid-template-columns: 1fr;
  }

  .service-flow span {
    min-height: 76px;
    border-right: 0;
    border-bottom: 1px solid rgba(250, 249, 245, 0.28);
  }

  .service-flow span:last-child {
    border-bottom: 0;
  }

  .service-thesis,
  .service-section-heading {
    grid-template-columns: 1fr;
  }

  .service-thesis h2,
  .service-outcomes-copy h2,
  .service-cta h2 {
    font-size: 48px;
  }

  .service-scope-list {
    margin-top: 58px;
  }

  .fit-column {
    padding: 64px var(--gutter);
    border-right: 0;
    border-bottom: 1px solid var(--line-inverse);
  }

  .fit-column:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .brand span:last-child {
    display: none;
  }

  .hero {
    height: 90svh;
    min-height: 700px;
  }

  .hero-image {
    background-position: 68% center;
    opacity: 0.72;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(17, 17, 15, 0.97) 0%, rgba(17, 17, 15, 0.72) 100%);
  }

  .hero-inner {
    padding-top: 86px;
  }

  .hero-eyebrow {
    max-width: 310px;
    margin-bottom: 20px;
  }

  .hero h1 {
    font-size: 46px;
    line-height: 1;
  }

  .hero-headline {
    margin-top: 18px;
    font-size: 24px;
  }

  .hero-summary {
    margin-top: 18px;
    font-size: 15px;
  }

  .hero-actions {
    width: 100%;
    margin-top: 26px;
  }

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

  .section {
    padding: 78px 0;
  }

  .eyebrow {
    margin-bottom: 20px;
  }

  h2,
  .diagnostic-copy h2,
  .engagement-heading h2,
  .fit-copy h2,
  .work-content h2 {
    font-size: 38px;
    line-height: 1.08;
  }

  .problem-row {
    grid-template-columns: 34px 1fr;
  }

  .problem-row h3 {
    font-size: 21px;
  }

  .system-heading {
    padding-bottom: 50px;
  }

  .diagnostic {
    gap: 52px;
  }

  .diagnostic-options {
    grid-template-columns: 1fr;
  }

  .diagnostic-options button {
    min-height: 64px;
    border-right: 0;
  }

  .diagnostic-result {
    min-height: 340px;
    padding: 28px;
  }

  .diagnostic-result h3 {
    margin-top: 60px;
    font-size: 30px;
  }

  .work-visual {
    height: 52svh;
    min-height: 400px;
  }

  .work-content {
    padding-block: 76px;
  }

  .work-list {
    margin-top: 54px;
  }

  .work-list article {
    grid-template-columns: 34px 1fr;
  }

  .service-directory {
    margin-top: 54px;
  }

  .service-link {
    grid-template-columns: 34px minmax(0, 1fr) 22px;
    gap: 14px;
    padding: 24px 0;
  }

  .service-link h3 {
    font-size: 22px;
  }

  .service-link:hover,
  .service-link:focus-visible {
    padding-inline: 12px;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li,
  .process-list li:nth-child(2) {
    min-height: 230px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-list li:last-child {
    border-bottom: 0;
  }

  .service-hero {
    min-height: 690px;
  }

  .service-hero h1 {
    font-size: 42px;
    line-height: 1.04;
  }

  .service-hero-lead {
    font-size: 16px;
  }

  .service-number {
    right: 10px;
    bottom: -20px;
    font-size: 120px;
  }

  .service-thesis h2,
  .service-outcomes-copy h2,
  .service-cta h2 {
    font-size: 38px;
  }

  .service-scope-list li {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
  }

  .service-scope-list p {
    font-size: 16px;
  }

  .service-process-grid {
    grid-template-columns: 1fr;
  }

  .service-process-grid li,
  .service-process-grid li:nth-child(2) {
    min-height: 230px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-process-grid strong {
    margin-top: 54px;
  }

  .service-outcomes-copy {
    padding: 78px var(--gutter);
  }

  .service-fit {
    margin-top: 60px;
  }

  .service-outcome-list > div {
    grid-template-columns: 34px minmax(0, 1fr);
    padding-block: 26px;
  }

  .service-outcome-list strong {
    font-size: 20px;
  }

  .other-service-list a {
    grid-template-columns: 34px minmax(0, 1fr) 20px;
    gap: 12px;
  }

  .other-service-list strong {
    font-size: 17px;
  }

  .service-cta > div {
    min-height: 600px;
    padding-block: 78px;
  }

  .service-cta footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 20px;
  }

  .process-list strong {
    margin-top: 64px;
  }

  .engagement {
    gap: 56px;
  }

  .engagement-row.featured {
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
  }

  .engagement-row strong {
    font-size: 20px;
  }

  .fit-copy {
    padding-block: 82px;
  }

  .fit-column > span {
    margin-bottom: 34px;
  }

  .contact {
    min-height: 720px;
  }

  .contact-inner {
    padding-top: 100px;
  }

  .contact-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact footer {
    min-height: 92px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
