:root {
  --ink: #14213d;
  --muted: #596678;
  --line: #d9e3ee;
  --paper: #f8fbff;
  --surface: #ffffff;
  --blue: #1769aa;
  --teal: #087f8c;
  --green: #2f7d59;
  --gold: #c28b2c;
  --shadow: 0 18px 45px rgba(20, 33, 61, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(23, 105, 170, 0.08), transparent 34rem),
    linear-gradient(315deg, rgba(47, 125, 89, 0.08), transparent 28rem),
    var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.8rem clamp(1rem, 4vw, 4rem);
  background: rgba(248, 251, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: auto;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a {
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  background: #e9f2fb;
  color: var(--ink);
  outline: none;
}

.nav .nav-cta {
  color: #ffffff;
  background: var(--ink);
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.72fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 4vw, 4rem) 4rem;
}

.hero-content {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1.2rem;
  max-width: 12ch;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.05rem;
}

.hero-copy {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.13rem;
}

.hero-actions,
.contact {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue);
}

.button.secondary {
  color: var(--ink);
  background: var(--surface);
}

.hero-panel {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel div {
  padding: 1rem;
  border-left: 4px solid var(--teal);
  background: #f4f9fc;
  border-radius: 6px;
}

.hero-panel div:nth-child(2) {
  border-color: var(--green);
}

.hero-panel div:nth-child(3) {
  border-color: var(--gold);
}

.metric {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.section,
.band {
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 4rem);
}

.band {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.intro p,
.split p,
.contact p {
  max-width: 72ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading {
  max-width: 760px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.service-grid article {
  min-height: 220px;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  border-radius: 8px;
}

.service-grid article:nth-child(2) {
  border-top-color: var(--teal);
}

.service-grid article:nth-child(3) {
  border-top-color: var(--green);
}

.service-grid article:nth-child(4) {
  border-top-color: var(--gold);
}

.service-grid p,
.client-list {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  background: #edf5f8;
}

.tag-groups {
  display: grid;
  gap: 1.25rem;
}

.tags,
.client-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tags li,
.client-list li {
  padding: 0.55rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 700;
}

.experience {
  background: var(--paper);
}

.contact {
  justify-content: space-between;
}

.contact .button {
  flex: 0 1 auto;
}

.site-footer {
  display: grid;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 4rem);
  color: var(--muted);
  background: var(--ink);
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-logos img {
  width: auto;
  max-height: 56px;
  background: #ffffff;
}

.site-footer p {
  margin: 0;
  max-width: 72ch;
}

@media (max-width: 980px) {
  .hero,
  .band,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(2.7rem, 14vw, 4.5rem);
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .contact {
    align-items: flex-start;
  }

  .contact .button {
    width: 100%;
  }
}
