:root {
  --basalt: #111417;
  --alloy: #d8dcda;
  --porcelain: #f3f2ec;
  --cobalt: #315cff;
  --amethyst: #685671;
  --thermal-amber: #e9a66f;
  --display: "Anybody", sans-serif;
  --body: "Spline Sans", sans-serif;
  --utility: "IBM Plex Mono", monospace;
  color: var(--basalt);
  background: var(--basalt);
  font-family: var(--body);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--basalt);
}

.not-found {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: 32px;
  color: var(--porcelain);
  background: var(--basalt);
}

.not-found picture {
  position: absolute;
  inset: 0;
  opacity: 0.42;
}

.not-found picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.not-found > div {
  position: relative;
  max-width: 900px;
}

.not-found h1 {
  margin: 24px 0 36px;
  font: 600 clamp(3.6rem, 9vw, 8rem) / 0.84 var(--display);
  font-stretch: 72%;
  letter-spacing: -0.055em;
}

button,
a {
  color: inherit;
}

button {
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 4px;
}

#app-root:not([data-ready="true"]) {
  display: none;
}

#bootstrap-fallback {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  padding: 28px 32px;
  color: var(--porcelain);
  background:
    radial-gradient(circle at 75% 40%, rgb(104 86 113 / 42%), transparent 28%),
    var(--basalt);
}

#bootstrap-fallback .bootstrap-artwork {
  position: absolute;
  z-index: 0;
  inset: 0;
}

#bootstrap-fallback .bootstrap-artwork img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#bootstrap-fallback .bootstrap-wordmark {
  position: relative;
  z-index: 1;
  grid-column: 1 / 4;
  margin: 0;
  font: 500 0.72rem/1 var(--utility);
  letter-spacing: 0.13em;
}

#bootstrap-fallback main {
  position: relative;
  z-index: 1;
  grid-column: 3 / 9;
  align-self: center;
}

#bootstrap-fallback main > p:first-child,
.chapter-eyebrow {
  font: 500 0.7rem/1.2 var(--utility);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

#bootstrap-fallback h1 {
  max-width: 850px;
  margin: 24px 0;
  font: 600 clamp(3.6rem, 8vw, 8rem) / 0.84 var(--display);
  font-stretch: 72%;
  letter-spacing: -0.055em;
}

#bootstrap-fallback main > p {
  max-width: 560px;
}

#bootstrap-fallback a {
  display: inline-block;
  margin-top: 20px;
}

.experience-shell {
  min-width: 320px;
  overflow: clip;
}

.route-progress {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--cobalt);
}

.site-header {
  position: fixed;
  z-index: 10;
  inset: 0 auto 0 0;
  display: flex;
  width: 176px;
  flex-direction: column;
  justify-content: space-between;
  padding: 27px 24px 25px;
  color: var(--alloy);
  mix-blend-mode: difference;
  pointer-events: none;
}

.site-header button {
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
}

.wordmark {
  padding: 0;
  font: 500 0.68rem/1 var(--utility);
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.site-header nav {
  display: grid;
  gap: 6px;
}

.site-header nav button {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 5px;
  align-items: center;
  padding: 5px 0;
  font: 400 0.56rem/1 var(--utility);
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
  opacity: 0.46;
  transition: opacity 220ms ease;
}

.site-header nav button span {
  color: var(--cobalt);
}

.site-header nav button.active,
.site-header nav button:hover {
  opacity: 1;
}

.chapter {
  position: relative;
  min-height: 100svh;
  padding: 72px 32px 42px 176px;
}

.chapter-dark {
  color: var(--porcelain);
  background: var(--basalt);
}

.chapter-light {
  color: var(--basalt);
  background: var(--porcelain);
}

.chapter-grid {
  display: grid;
  min-height: calc(100svh - 114px);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  align-items: center;
}

.chapter-content {
  z-index: 2;
  grid-column: 1 / 6;
  align-self: center;
}

.chapter-artwork {
  position: absolute;
  z-index: -1;
  inset: 0;
  display: block;
  pointer-events: none;
}

.chapter-artwork img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chapter-copy {
  position: relative;
  opacity: 0.62;
  transform: translateY(12px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

.chapter-copy.is-active {
  opacity: 1;
  transform: none;
}

.chapter-eyebrow {
  margin: 0 0 28px;
}

.chapter h1,
.chapter h2 {
  max-width: 780px;
  margin: 0;
  font: 600 clamp(3.6rem, 7.7vw, 8.8rem) / 0.84 var(--display);
  font-stretch: 70%;
  letter-spacing: -0.06em;
}

.chapter h2 {
  font-size: clamp(3rem, 6vw, 7rem);
}

.chapter-body {
  max-width: 570px;
  margin: 30px 0 0;
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  line-height: 1.45;
}

.chapter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  padding: 0 20px;
  font: 500 0.69rem/1 var(--utility);
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.primary-action {
  border-color: var(--cobalt);
  color: var(--porcelain);
  background: var(--cobalt);
}

.primary-action:hover,
.primary-action:focus-visible {
  border-color: currentColor;
  color: var(--basalt);
  background: var(--alloy);
}

.secondary-action {
  background: transparent;
}

.secondary-action:hover {
  color: var(--basalt);
  background: var(--porcelain);
}

.chapter-visual {
  position: sticky;
  z-index: 3;
  top: 15vh;
  grid-column: 7 / 13;
  height: min(68vh, 680px);
}

.arrival-assembly {
  border: 1px solid rgb(216 220 218 / 24%);
  background:
    linear-gradient(135deg, transparent 49.8%, rgb(216 220 218 / 13%) 50%, transparent 50.2%),
    radial-gradient(circle at 60% 45%, rgb(104 86 113 / 55%), transparent 38%);
}

.assembly-plane {
  position: absolute;
  inset: 16% 12% 21% 25%;
  border: 1px solid rgb(216 220 218 / 42%);
  transform: skewY(-11deg);
  background: rgb(216 220 218 / 7%);
  backdrop-filter: blur(6px);
}

.assembly-ring {
  position: absolute;
  width: 42%;
  aspect-ratio: 1;
  border: 1px solid var(--alloy);
  border-radius: 50%;
  top: 25%;
  left: 36%;
  box-shadow:
    0 0 0 38px rgb(104 86 113 / 14%),
    0 0 0 76px rgb(216 220 218 / 5%);
}

.assembly-route {
  position: absolute;
  top: 54%;
  right: 6%;
  left: 3%;
  height: 2px;
  transform: rotate(-12deg);
  background: var(--cobalt);
}

.arrival-assembly > span {
  position: absolute;
  right: 16px;
  bottom: 14px;
  font: 400 0.55rem/1 var(--utility);
  letter-spacing: 0.08em;
}

.outcome-selector {
  position: relative;
  z-index: 3;
  display: grid;
  grid-column: 6 / 13;
  grid-template-columns: minmax(260px, 0.75fr) minmax(340px, 1.25fr);
  gap: 26px;
  align-items: center;
}

.outcome-options {
  z-index: 2;
  display: grid;
  border-top: 1px solid rgb(17 20 23 / 25%);
}

.outcome-option {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgb(17 20 23 / 25%);
  padding: 15px 0;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.outcome-number {
  padding-top: 3px;
  color: var(--cobalt);
  font: 500 0.58rem/1 var(--utility);
}

.outcome-option strong,
.outcome-option small {
  display: block;
}

.outcome-option strong {
  font: 600 1.05rem/1.1 var(--display);
  font-stretch: 80%;
}

.outcome-option small {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  font-size: 0.78rem;
  line-height: 1.4;
  opacity: 0;
  transition:
    max-height 300ms ease,
    margin 300ms ease,
    opacity 300ms ease;
}

.outcome-option.active small {
  max-height: 70px;
  margin-top: 8px;
  opacity: 0.72;
}

.outcome-instrument {
  position: sticky;
  top: 14vh;
  height: min(68vh, 640px);
  border: 1px solid rgb(17 20 23 / 18%);
  overflow: hidden;
  background:
    linear-gradient(rgb(17 20 23 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(17 20 23 / 4%) 1px, transparent 1px),
    rgb(216 220 218 / 24%);
  background-size: 32px 32px;
}

.instrument-base {
  position: absolute;
  inset: 20%;
  border: 1px solid rgb(17 20 23 / 18%);
  border-radius: 50%;
  background: rgb(104 86 113 / 22%);
  box-shadow: inset 0 0 60px rgb(17 20 23 / 18%);
}

.instrument-module {
  position: absolute;
  overflow: visible;
  fill: none;
  stroke: var(--basalt);
  stroke-width: 1.2;
  transition:
    inset 650ms cubic-bezier(.2, .8, .2, 1),
    opacity 400ms ease,
    transform 650ms cubic-bezier(.2, .8, .2, 1);
}

.instrument-module .thermal-point {
  fill: var(--thermal-amber);
  stroke: none;
}

.module-core {
  top: 22%;
  left: 25%;
  width: 46%;
}

.module-route {
  right: 2%;
  bottom: 17%;
  width: 65%;
  stroke: var(--cobalt);
  stroke-width: 2;
}

.module-lattice {
  top: 8%;
  right: 7%;
  width: 32%;
  opacity: 0.38;
}

.module-signal {
  bottom: 5%;
  left: 8%;
  width: 29%;
  opacity: 0.62;
}

.outcome-selector[data-visible-outcome="automate-work"] .module-core {
  transform: translate(22%, -8%) rotate(42deg) scale(.78);
}

.outcome-selector[data-visible-outcome="automate-work"] .module-route {
  transform: translate(-23%, -105%) rotate(-22deg) scale(.82);
}

.outcome-selector[data-visible-outcome="automate-work"] .module-lattice {
  transform: translate(-128%, 72%) rotate(18deg) scale(1.25);
  opacity: 0.72;
}

.outcome-selector[data-visible-outcome="automate-work"] .module-signal {
  transform: translate(145%, -14%) scale(.68);
}

.outcome-selector[data-visible-outcome="modernize-systems"] .module-core {
  transform: translate(-20%, 18%) scale(1.12);
}

.outcome-selector[data-visible-outcome="modernize-systems"] .module-route {
  transform: translate(-5%, -72%) rotate(28deg);
}

.outcome-selector[data-visible-outcome="modernize-systems"] .module-lattice {
  transform: translate(-82%, 43%) rotate(45deg);
  opacity: 0.9;
}

.outcome-selector[data-visible-outcome="modernize-systems"] .module-signal {
  transform: translate(175%, -112%) scale(.82);
}

.outcome-selector[data-visible-outcome="scale-delivery"] .module-core {
  transform: translate(3%, 4%) scale(.68);
}

.outcome-selector[data-visible-outcome="scale-delivery"] .module-route {
  transform: translate(-7%, -195%) scale(.95);
}

.outcome-selector[data-visible-outcome="scale-delivery"] .module-lattice {
  transform: translate(-87%, 61%) scale(1.48);
  opacity: 0.78;
}

.outcome-selector[data-visible-outcome="scale-delivery"] .module-signal {
  transform: translate(170%, -24%) scale(1.15);
}

.capability-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-column: 6 / 13;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid rgb(216 220 218 / 24%);
  list-style: none;
}

.capability-grid li {
  min-height: 145px;
  border-right: 1px solid rgb(216 220 218 / 24%);
  border-bottom: 1px solid rgb(216 220 218 / 24%);
  padding: 16px;
}

.capability-grid li:first-child {
  background: rgb(104 86 113 / 28%);
}

.delivery-stages span {
  color: var(--cobalt);
  font: 500 0.58rem/1 var(--utility);
}

.capability-grid h3 {
  margin: 0 0 7px;
  font: 600 1.2rem/1 var(--display);
  font-stretch: 78%;
}

.delivery-stages h3 {
  margin: 18px 0 7px;
  font: 600 1.2rem/1 var(--display);
  font-stretch: 78%;
}

.capability-grid p,
.delivery-stages p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
  opacity: 0.68;
}

.delivery-stages {
  position: relative;
  z-index: 3;
  display: grid;
  grid-column: 6 / 13;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.delivery-stages li {
  position: relative;
  min-height: 280px;
  border-left: 1px solid rgb(17 20 23 / 24%);
  padding: 18px;
}

.delivery-stages li::after {
  position: absolute;
  right: -5px;
  bottom: 30px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--thermal-amber);
  content: "";
}

.delivery-stages li:nth-child(2) {
  margin-top: 38px;
}

.delivery-stages li:nth-child(3) {
  margin-top: 76px;
}

.delivery-stages li:nth-child(4) {
  margin-top: 114px;
}

.principle-list {
  position: relative;
  z-index: 3;
  grid-column: 6 / 13;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgb(216 220 218 / 25%);
  list-style: none;
}

.principle-list li {
  border-bottom: 1px solid rgb(216 220 218 / 25%);
  padding: 19px 0;
}

.principle-list p {
  margin: 0;
  font: 500 clamp(1.25rem, 2.15vw, 2.3rem) / 1 var(--display);
  font-stretch: 78%;
}

.contact-email {
  display: block;
  width: max-content;
  margin-top: 26px;
  font: 500 clamp(1rem, 1.6vw, 1.45rem) / 1 var(--utility);
  text-underline-offset: 6px;
}

.inquiry-panel {
  position: relative;
  z-index: 3;
  grid-column: 6 / 13;
  width: 100%;
  max-width: 760px;
  justify-self: end;
  border-top: 1px solid rgb(17 20 23 / 24%);
  padding-top: 18px;
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}

.inquiry-field,
.inquiry-verification {
  display: grid;
  gap: 7px;
}

.inquiry-field-wide,
.inquiry-verification,
.inquiry-status,
.inquiry-actions {
  grid-column: 1 / -1;
}

.inquiry-field label {
  font: 400 0.55rem/1 var(--utility);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inquiry-field input,
.inquiry-field textarea {
  width: 100%;
  border: 1px solid rgb(17 20 23 / 28%);
  border-radius: 0;
  padding: 11px 12px;
  color: var(--basalt);
  background: rgb(255 255 255 / 38%);
  font: 400 0.88rem/1.4 var(--body);
}

.inquiry-field textarea {
  min-height: 118px;
  resize: vertical;
}

.inquiry-field input:focus-visible,
.inquiry-field textarea:focus-visible {
  border-color: var(--cobalt);
  outline: 2px solid var(--cobalt);
  outline-offset: 1px;
}

.inquiry-error {
  min-height: 1em;
  margin: 0;
  color: #8b2c22;
  font: 400 0.64rem/1.25 var(--utility);
}

.inquiry-verification {
  margin-top: 2px;
}

.inquiry-status {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
}

.inquiry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

.inquiry-actions a,
.inquiry-unavailable a,
.inquiry-accepted a {
  font: 500 0.66rem/1.3 var(--utility);
  text-underline-offset: 4px;
}

.inquiry-actions button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.inquiry-unavailable,
.inquiry-accepted {
  min-height: 220px;
  padding: 28px;
  border: 1px solid rgb(17 20 23 / 22%);
  background: rgb(216 220 218 / 28%);
}

.inquiry-unavailable p,
.inquiry-accepted p {
  max-width: 540px;
  margin: 0 0 20px;
  font: 600 clamp(1.35rem, 2.2vw, 2.25rem) / 1.05 var(--display);
  font-stretch: 78%;
}

@media (max-width: 1024px) {
  .site-header {
    inset: 0 0 auto;
    width: 100%;
    height: 64px;
    flex-direction: row;
    align-items: center;
    padding: 0 20px;
  }

  .site-header nav {
    grid-auto-flow: column;
    gap: 9px;
  }

  .site-header nav button {
    display: block;
    width: 26px;
    overflow: hidden;
    white-space: nowrap;
  }

  .site-header nav button span {
    display: block;
  }

  .chapter {
    padding: 82px 24px 24px;
  }

  .chapter-grid {
    min-height: calc(100svh - 106px);
    gap: 16px;
  }

  .chapter-content {
    grid-column: 1 / 7;
  }

  .outcome-selector {
    grid-template-columns: 1fr;
  }

  .outcome-instrument {
    position: absolute;
    z-index: 0;
    inset: 15% 2% 10% 47%;
    height: auto;
    opacity: 0.35;
  }

  .outcome-options {
    position: relative;
  }

  .capability-grid,
  .delivery-stages,
  .principle-list,
  .inquiry-panel {
    grid-column: 7 / 13;
  }

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

  .delivery-stages li {
    min-height: 170px;
  }

  .delivery-stages li:nth-child(n) {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  #bootstrap-fallback {
    display: block;
    padding: 22px;
  }

  #bootstrap-fallback main {
    margin-top: 24vh;
  }

  #bootstrap-fallback h1 {
    font-size: clamp(3.1rem, 17vw, 5rem);
  }

  .site-header {
    height: 56px;
    padding: 0 15px;
  }

  .wordmark {
    font-size: 0.61rem;
  }

  .site-header nav {
    gap: 3px;
  }

  .site-header nav button {
    width: 22px;
    padding: 4px 0;
    font-size: 0.52rem;
  }

  .chapter {
    padding: 76px 18px 22px;
  }

  .chapter-grid {
    min-height: calc(100svh - 98px);
    grid-template-columns: 1fr;
    align-content: center;
  }

  .chapter-content,
  .chapter-visual,
  .outcome-selector,
  .capability-grid,
  .delivery-stages,
  .principle-list,
  .inquiry-panel {
    grid-column: 1;
  }

  .inquiry-panel {
    margin-top: 28px;
  }

  .inquiry-form {
    grid-template-columns: 1fr;
  }

  .chapter-eyebrow {
    margin-bottom: 18px;
  }

  .chapter h1,
  .chapter h2 {
    font-size: clamp(3rem, 15vw, 5.2rem);
  }

  .chapter-body {
    margin-top: 22px;
    font-size: 0.94rem;
  }

  .chapter-actions {
    margin-top: 26px;
  }

  .primary-action,
  .secondary-action {
    min-height: 43px;
    padding: 0 14px;
    font-size: 0.6rem;
  }

  .chapter-visual {
    position: absolute;
    z-index: 0;
    right: -20%;
    width: 80%;
    height: 48vh;
    opacity: 0.33;
  }

  .outcome-selector {
    display: block;
  }

  .outcome-instrument {
    inset: 30% -20% 7% 37%;
  }

  .outcome-option {
    padding: 10px 0;
  }

  .outcome-option strong {
    font-size: 0.93rem;
  }

  .outcome-option small {
    font-size: 0.68rem;
  }

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

  .capability-grid li {
    min-height: 0;
    padding: 8px;
  }

  .capability-grid h3 {
    margin: 0 0 4px;
    font-size: 0.84rem;
  }

  .capability-grid p {
    font-size: 0.58rem;
    line-height: 1.25;
  }

  .delivery-stages li {
    min-height: 112px;
    padding: 12px;
  }

  .delivery-stages h3 {
    margin: 12px 0 5px;
    font-size: 1rem;
  }

  .delivery-stages p {
    font-size: 0.68rem;
  }

  .principle-list li {
    padding: 13px 0;
  }

  .principle-list p {
    font-size: 1.08rem;
  }

  .chapter-contact .chapter-content {
    position: relative;
    z-index: 2;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    animation-duration: 0s !important;
  }
}
