:root {
  --bright-snow: #ebf5ee;
  --platinum: #dcebe1;
  --alabaster-grey: #cfe0d6;
  --pale-slate: #b9cfd0;
  --pale-slate-2: #78a1bb;
  --slate-grey: #587486;
  --iron-grey: #3b4f63;
  --gunmetal: #283044;
  --carbon-black: #1f2636;
  --ink: var(--carbon-black);
  --ink-2: var(--iron-grey);
  --muted: var(--slate-grey);
  --line: rgba(40, 48, 68, 0.16);
  --paper: var(--bright-snow);
  --white: var(--bright-snow);
  --teal: #78a1bb;
  --teal-dark: #587486;
  --orange: #78a1bb;
  --orange-dark: #587486;
  --shadow: 0 24px 70px rgba(40, 48, 68, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(248, 249, 250, 0.9);
  border-bottom: 1px solid rgba(40, 48, 68, 0.14);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.brand img {
  border-radius: 8px;
}

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

.site-nav a {
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--ink-2);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(120, 161, 187, 0.22);
  color: var(--ink);
  outline: none;
}

.site-nav .nav-cta {
  margin-left: 6px;
  color: #ffffff;
  background: var(--orange);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: #ffffff;
  background: var(--orange-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-size: 1.35rem;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(40, 48, 68, 0.94) 0%, rgba(40, 48, 68, 0.78) 38%, rgba(40, 48, 68, 0.18) 74%),
    linear-gradient(0deg, rgba(40, 48, 68, 0.58), rgba(40, 48, 68, 0.1));
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 104px);
  padding-top: 84px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--teal);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 710px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.96;
  font-weight: 850;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.25;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1;
}

.button.primary {
  color: #ffffff;
  background: var(--orange);
}

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

.button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
}

.button.secondary.light {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--teal);
  outline: none;
}

.section {
  padding: clamp(72px, 9vw, 126px) 0;
}

.section-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.intro {
  background: var(--white);
}

.intro-grid,
.systems-grid,
.work-grid,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.copy-stack {
  display: grid;
  gap: 18px;
}

.copy-stack p {
  margin: 0;
}

.intro p:last-child,
.systems-copy p,
.contact-panel p {
  font-size: 1.08rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-heading.narrow {
  max-width: 680px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 290px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(40, 48, 68, 0.08);
}

.service-card i {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  border-radius: 8px;
  color: var(--ink);
  background: rgba(120, 161, 187, 0.26);
  font-size: 1.35rem;
}

.service-card:nth-child(2) i {
  color: #ffffff;
  background: var(--orange);
}

.service-card:nth-child(3) i {
  color: var(--ink);
  background: rgba(120, 161, 187, 0.36);
}

.service-card:nth-child(4) i {
  color: #ffffff;
  background: var(--ink);
}

.ai-ml {
  background: var(--white);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.capability-card {
  min-height: 270px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.capability-card i {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  border-radius: 8px;
  color: var(--ink);
  background: rgba(120, 161, 187, 0.24);
  font-size: 1.25rem;
}

.capability-card:nth-child(2n) i {
  color: #ffffff;
  background: var(--ink);
}

.capability-card:nth-child(3n) i {
  color: #ffffff;
  background: var(--teal-dark);
}

.systems {
  background: rgba(120, 161, 187, 0.18);
}

.cli-window {
  position: relative;
  width: 100%;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid rgba(120, 161, 187, 0.42);
  border-radius: 8px;
  background:
    radial-gradient(circle at 85% 16%, rgba(120, 161, 187, 0.28), transparent 26%),
    linear-gradient(145deg, #283044 0%, #222a3c 48%, #1f2636 100%);
  box-shadow: var(--shadow);
}

.cli-window::after {
  content: "";
  position: absolute;
  inset: 44px 0 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.035) 0,
    rgba(255, 255, 255, 0.035) 1px,
    transparent 1px,
    transparent 9px
  );
  opacity: 0.42;
}

.cli-titlebar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.cli-titlebar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--orange);
}

.cli-titlebar span:nth-child(2) {
  background: var(--teal);
}

.cli-titlebar span:nth-child(3) {
  background: var(--bright-snow);
}

.cli-window pre {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: clamp(22px, 4vw, 34px);
  white-space: pre-wrap;
}

.cli-window code {
  color: var(--bright-snow);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: clamp(0.84rem, 1.6vw, 1rem);
  line-height: 1.75;
}

.cli-muted {
  color: rgba(245, 245, 245, 0.62);
}

.cli-ok {
  color: var(--teal);
}

.cli-warn {
  color: var(--orange);
}

.cli-dots span {
  animation: cli-dot 1.25s infinite ease-in-out;
}

.cli-dots span:nth-child(2) {
  animation-delay: 0.16s;
}

.cli-dots span:nth-child(3) {
  animation-delay: 0.32s;
}

.cli-cursor {
  display: inline-block;
  width: 0.62em;
  height: 1.08em;
  margin-left: 6px;
  transform: translateY(0.18em);
  background: var(--orange);
  animation: cli-cursor 1s steps(2, start) infinite;
}

@keyframes cli-cursor {
  50% {
    opacity: 0;
  }
}

@keyframes cli-dot {
  0%,
  80%,
  100% {
    opacity: 0.25;
  }

  40% {
    opacity: 1;
  }
}

.systems-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-2);
  line-height: 1.55;
}

.check-list i {
  flex: 0 0 auto;
  color: var(--orange);
  font-size: 1.15rem;
  transform: translateY(2px);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.steps article {
  padding-top: 26px;
  border-top: 2px solid var(--line);
}

.steps span {
  display: block;
  margin-bottom: 24px;
  color: var(--orange);
  font-weight: 850;
  font-size: 0.92rem;
}

.startups {
  background: linear-gradient(135deg, rgba(120, 161, 187, 0.18) 0%, var(--bright-snow) 100%);
}

.startup-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: start;
}

.startup-list {
  display: grid;
  gap: 18px;
}

.startup-list article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(40, 48, 68, 0.07);
}

.startup-list span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--ink);
  font-weight: 850;
  font-size: 0.82rem;
}

.startup-list h3 {
  margin-bottom: 6px;
}

.startup-list p {
  margin-bottom: 0;
}

.work {
  background: var(--ink);
  color: var(--white);
}

.work p {
  color: rgba(255, 255, 255, 0.68);
}

.work .eyebrow {
  color: var(--teal);
}

.project-list {
  display: grid;
  gap: 22px;
}

.project-list div {
  padding: 0 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.project-list div:last-child {
  border-bottom: 0;
}

.contact {
  background: linear-gradient(135deg, var(--bright-snow) 0%, rgba(120, 161, 187, 0.18) 100%);
}

.contact-panel {
  padding: clamp(32px, 6vw, 60px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.contact-actions {
  align-content: center;
  justify-content: flex-start;
}

address {
  flex-basis: 100%;
  margin-top: 10px;
  color: var(--muted);
  font-style: normal;
  line-height: 1.6;
}

.site-footer {
  padding: 34px clamp(20px, 5vw, 72px);
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background: linear-gradient(135deg, var(--bright-snow) 0%, rgba(120, 161, 187, 0.18) 100%);
}

.not-found-panel {
  width: min(680px, 100%);
  padding: clamp(32px, 6vw, 60px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.not-found-panel .brand {
  margin-bottom: 44px;
}

.not-found-panel h1 {
  color: var(--ink);
  font-size: clamp(2.4rem, 7vw, 4.5rem);
}

.not-found-panel .button {
  margin-top: 14px;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.footer-inner p {
  margin: 0;
  font-size: 0.94rem;
}

.copyright {
  text-align: right;
}

@media (max-width: 1000px) {
  .service-grid,
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid,
  .systems-grid,
  .startup-grid,
  .work-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

  .copyright {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 66px;
    padding: 12px 18px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: fixed;
    inset: 66px 12px auto;
    display: none;
    grid-template-columns: 1fr;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  body.nav-open .site-nav {
    display: grid;
  }

  .site-nav a {
    justify-content: flex-start;
    padding: 14px;
  }

  .site-nav .nav-cta {
    margin-left: 0;
  }

  .hero {
    min-height: 700px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(40, 48, 68, 0.9) 0%, rgba(40, 48, 68, 0.7) 58%, rgba(40, 48, 68, 0.28) 100%);
  }

  .hero-bg {
    object-position: 63% center;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 auto;
    align-self: end;
    padding: 112px 0 54px;
  }

  h1 {
    font-size: 3rem;
  }

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

  .service-card,
  .capability-card {
    min-height: auto;
  }

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

  .button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2rem;
  }

  .brand span {
    font-size: 1rem;
  }
}
