:root {
  --ink: #123047;
  --muted: #5b7184;
  --line: #cfe3f2;
  --paper: #eef8ff;
  --white: #ffffff;
  --steel: #dff2ff;
  --teal: #147fbd;
  --sky: #bfe7ff;
  --deep-blue: #0c4f7a;
  --shadow: 0 18px 50px rgba(20, 127, 189, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 86px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(20, 127, 189, 0.08);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 332px;
  font-weight: 800;
  font-size: 0.96rem;
}
.brand-logo-wrap {
  display: grid;
  width: 58px;
  height: 64px;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(20, 127, 189, 0.1);
}
.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}
.nav-links {
  display: flex;
  gap: 6px;
  padding: 6px;
  color: var(--muted);
  background: rgba(238, 248, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
}
.nav-links a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
}
.nav-links a:hover { color: var(--teal); }
.nav-links a.active {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 8px 20px rgba(20, 127, 189, 0.18);
}
.header-cta,
.primary-button,
.secondary-button,
.contact-form button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
}
.header-cta,
.primary-button,
.contact-form button {
  padding: 0 20px;
  color: var(--white);
  background: var(--teal);
}
.secondary-button {
  padding: 0 20px;
  color: var(--deep-blue);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 127, 189, 0.28);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(238, 248, 255, 0.98), rgba(238, 248, 255, 0.9) 42%, rgba(238, 248, 255, 0.18));
}
.hero-content {
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 92px);
  padding-top: 92px;
}
.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 8vw, 6.7rem);
  line-height: 0.95;
}
.hero-copy {
  max-width: 610px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}
.stats-strip div {
  padding: 30px clamp(20px, 5vw, 64px);
  background: var(--white);
}
.stats-strip strong,
.stats-strip span { display: block; }
.stats-strip strong {
  color: var(--deep-blue);
  font-size: 1.5rem;
}
.stats-strip span {
  color: var(--muted);
  font-weight: 700;
}
.section {
  padding: clamp(68px, 9vw, 112px) clamp(18px, 6vw, 76px);
}
.intro { max-width: 1060px; }
.intro h2,
.section-heading h2,
.work-content h2,
.contact-section h2,
.page-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.06;
}
.intro p,
.section-heading p,
.service-card p,
.work-content p,
.contact-section p,
.project-list p,
.page-hero p {
  color: var(--muted);
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 42px;
  margin-bottom: 34px;
}
.service-grid,
.values-grid,
.project-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.values-grid,
.project-list,
.page-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card,
.project-list article {
  min-height: 250px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 26px rgba(23, 33, 43, 0.06);
}
.icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 26px;
  color: var(--deep-blue);
  background: var(--sky);
  border-radius: 8px;
  font-weight: 800;
}
.work-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
  padding: clamp(68px, 8vw, 110px) clamp(18px, 6vw, 76px);
  background: var(--steel);
}
.capability-list {
  display: grid;
  gap: 12px;
}
.capability-list div {
  display: flex;
  gap: 16px;
  min-height: 64px;
  align-items: center;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(20, 127, 189, 0.18);
  border-radius: 8px;
  font-weight: 800;
}
.capability-list span { color: var(--teal); }

.page-hero {
  padding: 150px clamp(18px, 6vw, 76px) clamp(56px, 8vw, 96px);
  background: linear-gradient(135deg, rgba(238, 248, 255, 0.98), rgba(255, 255, 255, 0.92));
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  max-width: 980px;
  font-size: clamp(2.7rem, 6vw, 5rem);
}
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(30px, 7vw, 96px);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.process-steps > div {
  padding-top: 22px;
  border-top: 3px solid var(--line);
}
.process-steps span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  font-weight: 800;
}
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.65fr);
  gap: clamp(34px, 7vw, 90px);
  padding: clamp(68px, 9vw, 118px) clamp(18px, 6vw, 76px);
  background: var(--white);
}
.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.contact-form label {
  display: grid;
  gap: 7px;
  font-size: 0.9rem;
  font-weight: 800;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cbd6de;
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
}
.contact-form textarea { resize: vertical; }
.contact-form button {
  width: 100%;
  border: 0;
  cursor: pointer;
  font: inherit;
}
.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}
.form-note.error {
  color: var(--deep-blue);
  font-weight: 800;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 6vw, 76px);
  color: #d9efff;
  background: var(--deep-blue);
}
.site-footer p { margin: 0; }

@media (max-width: 980px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    border-radius: 14px;
  }
  .stats-strip,
  .service-grid,
  .values-grid,
  .project-list,
  .process-steps,
  .work-band,
  .contact-section,
  .split-section {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .brand { min-width: 0; }
  .brand strong { font-size: 0.82rem; }
  .header-cta { display: none; }
  h1 { font-size: 3rem; }
  .hero { min-height: 760px; }
  .hero-overlay {
    background: linear-gradient(90deg, rgba(238, 248, 255, 0.98), rgba(238, 248, 255, 0.92) 70%, rgba(238, 248, 255, 0.58));
  }
  .site-footer { flex-direction: column; }
}
