:root {
  --navy: #071827;
  --ink: #182536;
  --muted: #647184;
  --line: #dce3ea;
  --paper: #f7f9fb;
  --white: #ffffff;
  --blue: #1d6f9f;
  --blue-soft: #e6f1f7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.section-pad {
  padding: 92px clamp(22px, 6vw, 88px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 16px clamp(22px, 6vw, 88px);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: var(--navy);
  border-radius: 3px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.primary-nav a {
  padding: 8px 0;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--navy);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: var(--navy);
  border: 0;
  border-radius: 3px;
}

.nav-toggle span:not(.visually-hidden) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: calc(88vh - 76px);
  overflow: hidden;
  display: flex;
  align-items: center;
  color: var(--white);
  background: #10283a;
}

.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 18, 31, 0.96) 0%, rgba(5, 18, 31, 0.83) 46%, rgba(5, 18, 31, 0.34) 100%),
    radial-gradient(circle at 76% 46%, rgba(45, 127, 191, 0.18), rgba(5, 18, 31, 0) 38%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1120px);
  max-width: 1120px;
}

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

.hero .eyebrow {
  color: #9dcee6;
}

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

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 980px;
  margin-bottom: 24px;
  color: var(--white);
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(2.65rem, 5.2vw, 5.4rem);
  font-weight: 800;
  line-height: 1.06;
  white-space: nowrap;
}

.hero-subhead {
  max-width: 900px;
  margin-bottom: 16px;
  color: var(--white);
  font-size: clamp(1.25rem, 2vw, 2rem);
  font-weight: 700;
  line-height: 1.28;
}

.hero-support {
  max-width: 780px;
  margin-bottom: 40px;
  color: #d5e2ea;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.55;
}

.hero-globe {
  position: absolute;
  inset: 0;
  z-index: 0;
  filter: drop-shadow(0 0 42px rgba(85, 146, 182, 0.2));
}

.globe-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.globe-fallback {
  display: none;
  margin: 14px 0 0;
  color: #cbdce6;
  font-size: 0.95rem;
}

.hero-globe.is-fallback .globe-fallback {
  display: block;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button-primary {
  color: var(--white);
  background: var(--blue);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #155b84;
}

.text-link {
  color: var(--white);
  font-weight: 800;
  border-bottom: 1px solid rgba(255, 255, 255, 0.48);
}

.summary,
.clients,
.contact {
  background: var(--paper);
}

.split-heading,
.section-heading,
.process-heading {
  max-width: 1060px;
}

.split-heading,
.clients {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 76px);
}

.split-heading h2,
.section-heading h2,
.process-heading h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.summary .split-heading {
  display: block;
  max-width: 1180px;
}

.summary-title {
  max-width: 860px;
  margin-bottom: 52px;
  font-size: clamp(1.35rem, 1.85vw, 2.25rem);
  line-height: 1.22;
  white-space: normal;
}

.summary .split-heading .summary-title {
  max-width: 1100px;
  margin-bottom: 44px;
  font-size: clamp(2rem, 2.45vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.summary .split-heading .summary-title br {
  display: none;
}

.clients {
  display: block;
}

.clients-heading {
  max-width: 1100px;
  margin-bottom: 28px;
}

.clients-heading h2 {
  max-width: 1100px;
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 1.08;
}

.summary-copy,
.client-copy,
.section-heading p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.04rem;
}

.summary-copy p,
.client-copy p {
  max-width: 760px;
}

.client-copy p {
  max-width: 850px;
  margin-bottom: 0;
}

.summary-copy {
  padding-bottom: 36px;
}

.services {
  background: var(--white);
}

.section-heading {
  margin-bottom: 42px;
}

.section-heading p {
  max-width: 780px;
  margin-top: 20px;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.service-row > span {
  width: 11px;
  height: 11px;
  margin-top: 9px;
  background: var(--blue);
  border: 3px solid var(--blue-soft);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(29, 111, 159, 0.18);
}

.process-line span {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
}

.service-row h3 {
  margin-bottom: 10px;
  font-size: clamp(1.22rem, 2vw, 1.72rem);
}

.service-row p {
  max-width: 880px;
  margin-bottom: 0;
  color: var(--muted);
}

.client-copy ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 22px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.client-copy li {
  padding-top: 12px;
  color: var(--navy);
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.approach {
  color: var(--white);
  background: var(--navy);
}

.approach h2,
.approach h3 {
  color: var(--white);
}

.approach .section-heading p {
  color: #cfdae3;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 54px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.principles div {
  padding-top: 24px;
}

.principles strong {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
  font-size: 1.06rem;
}

.principles p {
  margin-bottom: 0;
  color: #cfdae3;
}

.process {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 76px);
  background: var(--white);
}

.process-line {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.process-line li {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.process-line strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.02rem;
}

.process-line p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-weight: 400;
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(320px, 1fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: start;
}

.email-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 800;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
}

.contact-form label,
.contact-field {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 800;
}

.field-label {
  display: block;
}

.contact-form label:nth-child(5),
.contact-form label:nth-child(6),
.service-needed-field,
.contact-form button,
.form-note {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.service-multiselect-toggle {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #c8d3de;
  border-radius: 3px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.service-multiselect-toggle:focus {
  outline: 3px solid rgba(29, 111, 159, 0.18);
  border-color: var(--blue);
}

/* Multi-select service dropdown: the visible checklist updates the hidden Formspree field. */
.service-multiselect {
  position: relative;
}

.service-multiselect-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
}

.service-multiselect-toggle::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(45deg) translateY(-2px);
}

.service-multiselect-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 5;
  display: none;
  padding: 8px;
  background: var(--white);
  border: 1px solid #c8d3de;
  border-radius: 3px;
  box-shadow: 0 16px 34px rgba(7, 24, 39, 0.14);
}

.service-multiselect.is-open .service-multiselect-panel {
  display: grid;
  gap: 2px;
}

.service-multiselect-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 3px;
  cursor: pointer;
}

.service-multiselect-option:hover,
.service-multiselect-option:focus-within {
  background: var(--blue-soft);
}

.service-multiselect-option input {
  width: 16px;
  min-height: 16px;
  padding: 0;
  accent-color: var(--blue);
  cursor: pointer;
}

.contact-form .button {
  width: 100%;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 26px clamp(22px, 6vw, 88px);
  color: #cbd7e0;
  background: #04111d;
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
  font-weight: 700;
}

@media (max-width: 960px) {
  .split-heading,
  .clients,
  .process,
  .contact {
    grid-template-columns: 1fr;
  }

  .principles {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 900px) {
  .hero h1 {
    white-space: normal;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 68px;
  }

  .brand span:last-child {
    max-width: 210px;
    line-height: 1.15;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 22px 18px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 14px 0;
  }

  .section-pad {
    padding: 68px 22px;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .hero h1 {
    font-size: 2.5rem;
    white-space: normal;
  }

  .hero-subhead {
    margin-bottom: 28px;
  }

  .summary-title {
    margin-bottom: 30px;
    white-space: normal;
  }

  .summary .split-heading .summary-title {
    max-width: 100%;
    margin-bottom: 34px;
    font-size: clamp(1.8rem, 8vw, 2.6rem);
    line-height: 1.1;
  }

  .summary-title br {
    display: none;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .text-link {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    padding: 8px 0;
  }

  .hero-globe {
    opacity: 0.82;
  }

  .service-row,
  .contact-form,
  .client-copy ul {
    grid-template-columns: 1fr;
  }

  .service-row {
    gap: 10px;
  }

  .service-row > span {
    margin-top: 0;
  }

  .contact-form label:nth-child(5),
  .contact-form label:nth-child(6),
  .service-needed-field,
  .contact-form button,
  .form-note {
    grid-column: auto;
  }

  .service-multiselect-panel {
    position: static;
    margin-top: 6px;
  }

  .site-footer {
    display: block;
  }

  .site-footer a {
    display: inline-block;
    margin-top: 10px;
  }
}
