:root {
  --ink: #102033;
  --muted: #5c6a73;
  --soft: #f5f8fa;
  --line: #d8e1e7;
  --white: #ffffff;
  --navy: #00264d;
  --blue: #4997d0;
  --blue-dark: #1c608b;
  --green: #1d5f57;
  --copper: #a66d3b;
  --shadow: 0 18px 50px rgba(16, 32, 51, 0.12);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

p,
h1,
h2,
h3,
dl,
dd {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 16px;
  left: 50%;
  display: flex;
  width: min(calc(100% - 32px), var(--max));
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(216, 225, 231, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 40px rgba(16, 32, 51, 0.1);
  transform: translateX(-50%);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  min-width: 190px;
  align-items: center;
}

.brand img {
  width: min(240px, 52vw);
  height: auto;
}

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

.site-nav a {
  border-radius: 6px;
  padding: 10px 12px;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: #eef4f8;
  color: var(--navy);
  outline: 0;
}

.site-nav .nav-action {
  margin-left: 8px;
  background: var(--navy);
  color: var(--white);
}

.site-nav .nav-action:hover,
.site-nav .nav-action:focus-visible {
  background: var(--blue-dark);
  color: var(--white);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px 0;
  background: var(--navy);
  transition:
    transform 160ms ease,
    opacity 160ms ease;
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  padding: 168px 0 78px;
  background:
    linear-gradient(90deg, rgba(245, 248, 250, 0.99) 0%, rgba(245, 248, 250, 0.93) 46%, rgba(245, 248, 250, 0.78) 100%),
    #f7fafc;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(73, 151, 208, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(73, 151, 208, 0.12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 82%, transparent);
}

.hero-map {
  position: absolute;
  top: 104px;
  right: max(-160px, calc((100vw - var(--max)) / 2 - 220px));
  width: min(780px, 72vw);
  min-width: 520px;
  opacity: 0.82;
}

.wire {
  fill: none;
  stroke: url("#wireGradient");
  stroke-linecap: round;
  stroke-width: 8;
}

.wire.secondary {
  stroke-width: 3;
  stroke-dasharray: 18 20;
}

.node circle {
  fill: rgba(255, 255, 255, 0.9);
  stroke: var(--blue);
  stroke-width: 4;
  filter: drop-shadow(0 14px 20px rgba(16, 32, 51, 0.14));
}

.node text {
  fill: var(--navy);
  font-size: 22px;
  font-weight: 800;
  text-anchor: middle;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin-top: 14px;
  color: var(--navy);
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 0.92;
}

.hero-intro {
  max-width: 680px;
  margin-top: 28px;
  color: #344653;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 18px;
  font-weight: 760;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  outline: 0;
  transform: translateY(-1px);
}

.button.primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(0, 38, 77, 0.18);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--blue-dark);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.84);
  color: var(--navy);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: rgba(73, 151, 208, 0.8);
  box-shadow: 0 10px 24px rgba(16, 32, 51, 0.1);
}

.signal-section {
  position: relative;
  z-index: 4;
  background: var(--navy);
  color: var(--white);
}

.signal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 48px;
  align-items: center;
  padding: 30px 0;
}

.signal-grid p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.signal-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.signal-list span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  font-weight: 700;
}

.section {
  padding: 96px 0;
  background: var(--white);
}

.section-muted {
  background:
    linear-gradient(180deg, rgba(245, 248, 250, 0.8), rgba(245, 248, 250, 1)),
    var(--soft);
}

.section-heading {
  max-width: 780px;
}

.section-heading h2,
.split-heading h2,
.value-content h2,
.contact-grid h2 {
  margin-top: 10px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.65rem);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1;
}

.section-heading p:not(.eyebrow),
.split-heading p,
.contact-grid p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.08rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.service-card,
.outcome-card,
.timeline article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 28px rgba(16, 32, 51, 0.06);
}

.service-card {
  min-height: 246px;
  padding: 22px;
}

.card-index {
  color: var(--copper);
  font-size: 0.82rem;
  font-weight: 850;
}

.service-card h3,
.outcome-card h3,
.timeline h3 {
  margin-top: 22px;
  color: var(--ink);
  font-size: 1.17rem;
  line-height: 1.18;
}

.service-card p,
.outcome-card p,
.timeline p {
  margin-top: 12px;
  color: var(--muted);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  gap: 56px;
  align-items: end;
}

.split-heading p {
  margin-top: 0;
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.outcome-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  padding: 30px;
}

.outcome-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--copper));
  content: "";
}

.outcome-mark {
  position: relative;
  width: 150px;
  height: 92px;
  margin-bottom: 20px;
}

.outcome-mark span {
  position: absolute;
  display: block;
  border: 2px solid rgba(73, 151, 208, 0.52);
  border-radius: 8px;
  background: rgba(73, 151, 208, 0.08);
}

.outcome-mark span:nth-child(1) {
  inset: 14px auto auto 0;
  width: 58px;
  height: 58px;
}

.outcome-mark span:nth-child(2) {
  inset: 0 24px auto auto;
  width: 74px;
  height: 74px;
  border-color: rgba(29, 95, 87, 0.45);
  background: rgba(29, 95, 87, 0.08);
}

.outcome-mark span:nth-child(3) {
  inset: auto 0 0 auto;
  width: 42px;
  height: 42px;
  border-color: rgba(166, 109, 59, 0.45);
  background: rgba(166, 109, 59, 0.08);
}

.outcome-mark.gauge span:nth-child(1) {
  border-radius: 50% 50% 8px 8px;
}

.outcome-mark.gauge span:nth-child(2) {
  border-radius: 50%;
}

.outcome-card ul {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.outcome-card li {
  position: relative;
  padding-left: 18px;
  color: #3b4d5a;
  font-weight: 650;
}

.outcome-card li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 42px;
}

.timeline article {
  min-height: 240px;
  padding: 22px;
}

.timeline span {
  display: inline-flex;
  border-bottom: 2px solid var(--blue);
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.value-band {
  background: #102033;
  color: var(--white);
  padding: 82px 0;
}

.value-content {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
  gap: 56px;
  align-items: start;
}

.value-content .eyebrow {
  color: #86c4e9;
}

.value-content h2 {
  color: var(--white);
}

.value-points {
  display: grid;
  gap: 12px;
}

.value-points p {
  border-left: 3px solid var(--blue);
  padding: 4px 0 4px 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.contact-section {
  background:
    linear-gradient(180deg, rgba(245, 248, 250, 1), rgba(255, 255, 255, 1)),
    var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.7fr);
  gap: 56px;
  align-items: start;
}

.contact-panel {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 26px;
  box-shadow: var(--shadow);
  color: var(--muted);
  font-style: normal;
}

.contact-link {
  color: var(--blue-dark);
  font-weight: 750;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--green);
  outline: 0;
}

.primary-contact {
  color: var(--navy);
  font-size: 1.28rem;
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.76);
}

.footer-content {
  display: flex;
  min-height: 120px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-content img {
  width: min(220px, 54vw);
  height: auto;
}

.footer-content p {
  text-align: right;
}

@media (max-width: 920px) {
  .menu-button {
    display: grid;
  }

  .site-nav {
    position: fixed;
    top: 78px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    padding: 10px;
    box-shadow: var(--shadow);
  }

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

  .site-nav a,
  .site-nav .nav-action {
    margin-left: 0;
    padding: 12px;
  }

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

  .hero-map {
    top: 62px;
    right: -310px;
    width: 720px;
    opacity: 0.42;
  }

  .hero h1 {
    max-width: 720px;
  }

  .card-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-grid,
  .split-heading,
  .value-content,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .outcome-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .site-header {
    top: 10px;
    width: min(calc(100% - 20px), var(--max));
    min-height: 58px;
    padding-left: 12px;
  }

  .brand {
    min-width: 0;
  }

  .hero {
    padding: 108px 0 32px;
  }

  .hero-map {
    right: -420px;
    min-width: 640px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 12vw, 3.4rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .card-grid,
  .timeline,
  .signal-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 70px 0;
  }

  .service-card,
  .outcome-card,
  .timeline article {
    min-height: auto;
  }

  .outcome-card {
    padding: 24px;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 28px 0;
  }

  .footer-content p {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
