:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #131820;
  --muted: #5f6975;
  --line: #dfe4ea;
  --accent: #0f5bd3;
  --accent-dark: #0a3f93;
  --dark: #0c1118;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(12, 17, 24, 0.07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 96px 0; }
.alt { background: #eef1f5; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 247, 249, 0.92);
  border-bottom: 1px solid rgba(223, 228, 234, 0.85);
  backdrop-filter: blur(14px);
}
.nav-wrap { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.brand {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--dark);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -.04em;
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 650; color: #333c47; }
.nav a:hover { color: var(--accent); }
.nav-cta { padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }

.hero { padding-top: 110px; padding-bottom: 90px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 74px; align-items: end; }
.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 900px;
  margin-bottom: 26px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 780;
}
.lead { max-width: 820px; margin-bottom: 32px; color: #3e4854; font-size: clamp(19px, 2vw, 24px); line-height: 1.45; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border-radius: 12px; text-decoration: none; font-weight: 750; }
.button.primary { background: var(--dark); color: #fff; }
.button.primary:hover { background: var(--accent); }
.button.secondary { background: #fff; border: 1px solid var(--line); }
.button.secondary:hover { border-color: #b6c0cc; }
.method { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.method ol { margin: 0; padding-left: 22px; }
.method li { padding: 8px 0; border-bottom: 1px solid #edf0f3; font-size: 14px; }
.method li:last-child { border-bottom: 0; }

.evidence { background: var(--dark); color: #fff; }
.evidence-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.evidence-grid div { min-height: 160px; padding: 30px 26px; border-right: 1px solid rgba(255,255,255,.13); display: flex; flex-direction: column; justify-content: center; }
.evidence-grid div:first-child { border-left: 1px solid rgba(255,255,255,.13); }
.evidence-grid div:last-child { border-right: 1px solid rgba(255,255,255,.13); }
.evidence strong { font-size: clamp(30px, 3.1vw, 42px); line-height: 1.08; letter-spacing: -.035em; }
.evidence span { margin-top: 11px; color: #c3cad3; font-size: 15px; line-height: 1.45; }

.section-heading { max-width: 760px; margin-bottom: 46px; }
h2 { margin-bottom: 0; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.03; letter-spacing: -.045em; }
h3 { margin-bottom: 10px; font-size: 21px; line-height: 1.2; letter-spacing: -.02em; }
.cards { display: grid; gap: 18px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.card p { margin-bottom: 0; color: var(--muted); }
.service-card { min-height: 190px; display: grid; grid-template-columns: 50px 1fr; gap: 18px; }
.service-card > span { color: var(--accent); font-weight: 800; font-size: 13px; }

.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.project-meta { margin-bottom: 18px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .11em; }
.project p { color: var(--muted); }
.project ul { margin: 22px 0 0; padding-left: 20px; color: #303944; }
.project li { margin: 8px 0; }
.case-strip { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.case-strip > div { padding: 28px; border-radius: var(--radius); background: var(--dark); color: white; }
.case-kicker { display: block; margin-bottom: 12px; color: #8db9ff; font-size: 11px; font-weight: 800; letter-spacing: .11em; }
.case-strip strong { font-size: 20px; line-height: 1.35; }

.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 80px; align-items: start; }
.about-copy p { margin-bottom: 20px; color: #3d4651; font-size: 19px; }

.contact { background: var(--accent); color: #fff; }
.contact .eyebrow { color: #d7e7ff; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: end; }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.contact-links a { display: inline-block; padding: 13px 16px; background: #fff; color: var(--accent-dark); border-radius: 12px; text-decoration: none; font-weight: 800; }
.contact-links a:hover { transform: translateY(-1px); }

.footer { padding: 28px 0; background: #080c11; color: #8f99a5; font-size: 13px; }
.footer-grid { display: flex; justify-content: space-between; gap: 20px; }

@media (max-width: 980px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 42px; }
  .cards.four, .projects { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .container { width: min(100% - 28px, 1160px); }
  .section { padding: 52px 0; }

  /* Mobile hero: start communicating immediately below the sticky header. */
  .hero { padding-top: 28px; padding-bottom: 42px; }
  .hero-grid { gap: 28px; }
  .eyebrow { margin-bottom: 12px; }
  h1 { margin-bottom: 20px; }
  .lead { margin-bottom: 24px; }

  .nav a:not(.nav-cta) { display: none; }
  .cards.four, .cards.two, .projects, .case-strip, .evidence-grid { grid-template-columns: 1fr; }
  .card, .project { padding: 22px; }
  .service-card { min-height: auto; grid-template-columns: 1fr; gap: 8px; }
  .service-card > span { display: block; margin-bottom: 2px; }
  .method { padding: 20px; }

  /* Compact evidence band: three facts, no wasted vertical space. */
  .evidence-grid div {
    min-height: 98px;
    padding: 18px 20px;
    justify-content: center;
    border-left: 1px solid rgba(255,255,255,.13);
  }
  .evidence strong { font-size: 29px; line-height: 1.04; }
  .evidence span { margin-top: 7px; font-size: 14px; line-height: 1.35; }
  .evidence-grid div:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,.13); }

  .section-heading { margin-bottom: 30px; }
  .footer-grid { flex-direction: column; }
  .about-grid, .contact-grid { gap: 30px; }
}
