/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: 'Archivo', 'IBM Plex Sans', sans-serif;
  font-weight: 800;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--ink);
}
p { margin: 0; }

/* ---------- Tokens ---------- */
:root {
  --white: #FFFFFF;
  --paper: #F4F5F7;
  --ink: #0D1220;
  --navy: #121A2B;
  --graphite: #3A4150;
  --steel: #566078;
  --line: #DADFE6;
  --line-strong: #B9C0CC;
  --cobalt: #2A46E8;
  --cobalt-bright: #4C67FF;
  --cobalt-deep: #16277A;
  --cobalt-tint: #A6BBFF;
  --radius: 3px;
  --container: 1320px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.mono {
  font-family: 'IBM Plex Mono', monospace;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 16px;
}
.eyebrow .flourish { flex-shrink: 0; width: 18px; height: 2px; background: var(--cobalt); }

section { padding: 104px 0; }

.section-head { margin-bottom: 48px; max-width: 620px; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 40px); }
.section-sub {
  margin-top: 14px;
  color: var(--steel);
  font-size: 17px;
  max-width: 520px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 32px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-arrow { font-family: 'IBM Plex Mono', monospace; }
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover { background: var(--cobalt-deep); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { border-color: var(--cobalt); color: var(--cobalt); }
.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-light:hover { background: var(--paper); }
.btn-full { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  display: inline-flex;
  align-items: center;
}
.logo-img { height: 26px; width: auto; display: block; }

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--graphite);
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--ink); }
.nav-cta {
  color: #fff !important;
  padding: 10px 18px;
  background: var(--ink);
  border-radius: var(--radius);
}
.nav-cta:hover { background: var(--cobalt-deep); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
/* A typographic hero: a confident headline and a restrained geometric
   brand mark — no interface, no diagram, no annotation. */
.hero {
  position: relative;
  padding: 108px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(86, 96, 120, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(86, 96, 120, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, black 45%, transparent 92%);
  mask-image: linear-gradient(to bottom, black 45%, transparent 92%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}
.hero h1 {
  font-size: clamp(42px, 4.8vw, 62px);
  font-weight: 800;
  margin: 10px 0 28px;
}
.highlight { color: var(--cobalt); }
.hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--steel);
  max-width: 520px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Value strip ---------- */
.value-strip {
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.value-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.value-item {
  padding: 34px 36px;
  border-left: 1px solid var(--line);
}
.value-item:first-child { border-left: none; }
.value-item h2 {
  font-size: 17.5px;
  font-weight: 700;
  font-family: 'IBM Plex Sans', sans-serif;
  color: var(--ink);
  margin-bottom: 7px;
  letter-spacing: -0.01em;
}
.value-item p { color: var(--steel); font-size: 14.5px; line-height: 1.5; }

/* ---------- Industries (matrix) ---------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.industry-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease;
}
.industry-chip svg { stroke: currentColor; flex-shrink: 0; }
.industry-chip:hover { background: var(--ink); color: #fff; }
.industry-chip span {
  font-size: 14.5px;
  font-weight: 600;
}

/* ---------- Services ---------- */
.service-rows { border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.service-num {
  font-family: 'Archivo', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--cobalt);
  padding-top: 4px;
}
.service-copy h3 { font-family: 'IBM Plex Sans', sans-serif; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; margin-bottom: 8px; }
.service-copy p { color: var(--steel); font-size: 15.5px; line-height: 1.55; max-width: 620px; }

/* ---------- Process ---------- */
.process { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  border-top: 2px solid var(--line-strong);
}
.process-steps li { position: relative; padding-top: 28px; }
.tick {
  position: absolute;
  top: -6px;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--cobalt);
}
.step-tag {
  display: block;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--steel);
  margin-bottom: 10px;
}
.process-steps h3 { font-family: 'IBM Plex Sans', sans-serif; font-weight: 700; font-size: 18.5px; margin-bottom: 8px; letter-spacing: -0.01em; }
.process-steps p { color: var(--steel); font-size: 14.5px; line-height: 1.5; max-width: 240px; }

/* ---------- Approach ---------- */
.approach-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.approach-copy { padding-right: 48px; border-right: 1px solid var(--line); }
.approach-copy h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 20px; }
.approach-copy p { color: var(--steel); margin-bottom: 15px; font-size: 16px; line-height: 1.6; }
.approach-list { display: flex; flex-direction: column; gap: 24px; padding-left: 48px; justify-content: space-between; }
.approach-list li { display: flex; gap: 16px; align-items: flex-start; }
.approach-list li svg { flex-shrink: 0; margin-top: 3px; }
.approach-list h3 { font-family: 'IBM Plex Sans', sans-serif; font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 4px; letter-spacing: -0.005em; }
.approach-list p { color: var(--steel); font-size: 14.5px; line-height: 1.5; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -80px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(76, 103, 255, 0.28);
  transform: rotate(14deg);
}
.cta::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: rotate(-10deg);
}
.cta-inner { position: relative; z-index: 1; max-width: 580px; margin: 0 auto; }
.cta h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 16px; }
.cta p { color: #9AA5BD; margin-bottom: 36px; font-size: 16px; }

/* ---------- Contact ---------- */
.contact-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
}
.contact-info { padding-right: 48px; border-right: 1px solid var(--line); }
.contact-info h2 { font-size: clamp(26px, 3vw, 36px); margin: 8px 0 16px; }
.contact-info p { color: var(--steel); font-size: 16px; line-height: 1.6; margin-bottom: 32px; max-width: 380px; }
.contact-email {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.contact-email span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  line-height: 1.3;
  color: var(--graphite);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.contact-email a {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
}
.contact-email a:hover { color: var(--cobalt); }

.contact-form {
  padding-left: 48px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: flex; flex-direction: column; gap: 7px; }
.form-row label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--graphite);
}
.form-row input, .form-row textarea {
  background: var(--paper);
  border: 1px solid var(--line);
  border-bottom: 2px solid var(--line-strong);
  color: var(--ink);
  padding: 12px 14px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14.5px;
  border-radius: 2px;
  resize: vertical;
  transition: border-color 0.15s ease;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-bottom-color: var(--cobalt);
}
.form-note {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--cobalt);
  min-height: 18px;
}
.form-note.error { color: #C0362B; }

/* Honeypot: kept in the DOM for bots, invisible and unreachable for real visitors */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-copy { font-family: 'IBM Plex Mono', monospace; color: var(--steel); font-size: 12.5px; line-height: 1.3; letter-spacing: 0.02em; }
.footer-nav { display: flex; gap: 26px; }
.footer-nav a { color: var(--steel); font-size: 13.5px; font-weight: 500; }
.footer-nav a:hover { color: var(--cobalt); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-inner, .contact-inner { grid-template-columns: 1fr; }
  .approach-copy { border-right: none; border-bottom: 1px solid var(--line); padding-right: 0; padding-bottom: 40px; margin-bottom: 40px; }
  .approach-list { padding-left: 0; }
  .contact-info { border-right: none; border-bottom: 1px solid var(--line); padding-right: 0; padding-bottom: 40px; margin-bottom: 40px; }
  .contact-form { padding-left: 0; }
  .process-steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .value-strip-inner { grid-template-columns: 1fr; }
  .value-item { border-left: none; border-top: 1px solid var(--line); }
  .value-item:first-child { border-top: none; }
}

@media (max-width: 760px) {
  section { padding: 72px 0; }
  .hero { padding: 64px 0 72px; }
  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 20px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav-cta { width: 100%; justify-content: center; }
  .nav-toggle { display: flex; }
  .industry-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; gap: 10px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
