:root {
  color-scheme: light;
  --ink: #17202f;
  --muted: #5a6472;
  --blue: #155d9f;
  --deep-blue: #123a63;
  --sky: #eef5fb;
  --line: #d7e0ea;
  --paper: #ffffff;
  --wash: #f8fafc;
  --accent: #7a8da5;
  --gold: #9b8556;
  --shadow: 0 16px 36px rgba(23, 32, 47, 0.09);
  font-family: Arial, Helvetica, sans-serif;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--wash);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(23, 32, 51, 0.05);
  backdrop-filter: blur(14px);
}

.utility-bar {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  padding: 9px clamp(18px, 5vw, 76px) 0;
  color: var(--deep-blue);
  font-size: 0.9rem;
  font-weight: 700;
}

.utility-bar a,
nav a {
  text-decoration: none;
}

.utility-bar a:hover,
nav a:hover {
  color: var(--blue);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 76px;
  padding: 10px clamp(18px, 5vw, 76px) 16px;
}

.brand {
  display: flex;
  align-items: center;
  width: min(250px, 42vw);
}

.brand img {
  display: block;
  width: 100%;
  max-height: 54px;
  object-fit: contain;
  object-position: left center;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 34px);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
  min-height: calc(100vh - 106px);
  padding: clamp(64px, 8vw, 112px) clamp(22px, 5vw, 86px);
  background: linear-gradient(135deg, #ffffff 0%, #f4f8fc 58%, #e9f2f9 100%);
}

.hero::after {
  content: "";
  display: block;
  grid-column: 2;
  grid-row: 1;
  min-height: min(620px, 58vw);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(18, 58, 99, 0.02), rgba(18, 58, 99, 0.16)),
    url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=1800&q=88");
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.hero-copy {
  grid-column: 1;
  grid-row: 1;
  width: min(850px, 100%);
}

.credential {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 9px 14px;
  border-left: 4px solid var(--gold);
  background: white;
  color: var(--deep-blue);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  box-shadow: 0 10px 26px rgba(22, 43, 72, 0.08);
}

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

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

h1 {
  margin-bottom: 12px;
  color: var(--deep-blue);
  font-size: clamp(3rem, 7vw, 6.15rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.tagline {
  margin-bottom: 20px;
  color: #27364a;
  font-size: clamp(1.22rem, 1.8vw, 1.8rem);
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  margin-bottom: 18px;
  color: var(--deep-blue);
  font-size: clamp(1.85rem, 3.2vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.08rem;
}

p {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.22vw, 1.18rem);
  line-height: 1.68;
}

.hero-lede {
  width: min(740px, 100%);
  color: #303a50;
  font-size: clamp(1.06rem, 1.45vw, 1.34rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: white;
  background: var(--deep-blue);
  box-shadow: 0 14px 28px rgba(18, 58, 99, 0.22);
}

.button.secondary {
  color: var(--deep-blue);
  border-color: #b6cae4;
  background: white;
}

.hero-panel {
  display: grid;
  gap: 16px;
  grid-column: 1 / -1;
  grid-row: 2;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel-card {
  padding: 24px;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(23, 32, 47, 0.06);
}

.panel-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--deep-blue);
  font-size: 1.4rem;
}

.panel-card span {
  display: block;
  color: var(--muted);
  line-height: 1.55;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-strip span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  padding: 14px;
  background: white;
  color: var(--deep-blue);
  font-weight: 800;
  text-align: center;
}

.section {
  padding: clamp(68px, 8vw, 118px) clamp(22px, 5vw, 86px);
}

.section-heading {
  width: min(900px, 100%);
  margin-bottom: 34px;
}

.services-section,
.process-section {
  background: white;
}

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

.service-card,
.project-card,
.process-grid article,
.contact-form {
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 238px;
  padding: 26px;
  border-top: 3px solid var(--blue);
}

.solution-band {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1.1fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
  background:
    linear-gradient(90deg, rgba(238, 245, 251, 0.96), rgba(238, 245, 251, 0.88)),
    url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1800&q=88");
  background-size: cover;
  background-position: center;
}

.solution-list {
  display: grid;
  gap: 14px;
}

.solution-list div {
  display: grid;
  gap: 6px;
  padding: 20px;
  border-left: 3px solid var(--blue);
  background: white;
  box-shadow: 0 12px 30px rgba(22, 43, 72, 0.07);
}

.solution-list strong {
  color: var(--deep-blue);
  font-size: 1.08rem;
}

.solution-list span {
  color: var(--muted);
  line-height: 1.55;
}

.work-section {
  background: linear-gradient(180deg, white, #f5f8fb);
}

.ai-section {
  background: #ffffff;
}

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

.ai-grid article {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--deep-blue);
  background:
    linear-gradient(180deg, rgba(238, 245, 251, 0.78), rgba(255, 255, 255, 0.94));
  box-shadow: var(--shadow);
}

.ai-grid h3 {
  color: var(--deep-blue);
}

.agent-card {
  margin: 26px 0 0;
  padding: 24px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  background: #101827;
  color: #e7eef7;
  box-shadow: var(--shadow);
  font-size: 0.96rem;
  line-height: 1.7;
}

.agent-card code {
  font-family: "Courier New", Courier, monospace;
}

.text-link {
  display: inline-flex;
  margin-top: 6px;
  color: var(--deep-blue);
  font-weight: 900;
  text-decoration: none;
  border-bottom: 2px solid var(--blue);
}

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

.project-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  color: var(--ink);
  text-decoration: none;
  border-top: 3px solid var(--accent);
}

.project-card strong {
  color: var(--deep-blue);
  font-size: 1.45rem;
  line-height: 1.1;
}

.project-card span {
  color: var(--blue);
  font-weight: 900;
}

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

.process-grid article {
  padding: 24px;
}

.process-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--blue);
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.85fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
  background: white;
}

.contact-note {
  display: grid;
  width: fit-content;
  gap: 6px;
  margin-top: 24px;
  padding: 18px 22px;
  border-left: 3px solid var(--blue);
  background: var(--wash);
}

.contact-note strong {
  color: var(--deep-blue);
}

.contact-note a {
  color: var(--deep-blue);
  font-size: 1.22rem;
  font-weight: 900;
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cfd8e7;
  border-radius: 2px;
  padding: 14px;
  color: var(--ink);
  font: inherit;
  background: white;
}

textarea { resize: vertical; }

.form-status {
  min-height: 28px;
  margin: 0;
  color: var(--blue);
  font-size: 1rem;
  font-weight: 800;
}

button:disabled {
  opacity: 0.7;
  cursor: wait;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  padding: 24px 20px;
  color: rgba(255, 255, 255, 0.82);
  background: var(--deep-blue);
  font-size: 0.95rem;
  text-align: center;
}

@media (max-width: 980px) {
  .utility-bar { justify-content: center; }
  .nav-row {
    align-items: center;
    flex-direction: column;
    gap: 14px;
  }
  .brand { width: min(250px, 76vw); }
  nav {
    width: 100%;
    justify-content: center;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .hero,
  .solution-band,
  .contact-section {
    grid-template-columns: 1fr;
  }
  .hero::after,
  .hero-copy,
  .hero-panel {
    grid-column: auto;
    grid-row: auto;
  }
  .hero { min-height: auto; }
  .proof-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-grid,
  .project-grid,
  .ai-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .utility-bar {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding-top: 10px;
  }
  nav {
    justify-content: flex-start;
    font-size: 0.8rem;
  }
  h1 { font-size: clamp(3.1rem, 15vw, 4.8rem); }
  .hero-actions .button { width: 100%; }
  .proof-strip,
  .service-grid,
  .project-grid,
  .ai-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }
  .proof-strip span { min-height: 56px; }
}
