:root {
  --navy-900: #051a46;
  --navy-700: #103273;
  --navy-500: #1f4f9b;
  --red-700: #a70d1f;
  --red-500: #d81d32;
  --sand: #f3f0e9;
  --ink: #111827;
  --white: #ffffff;
  --teal: #0f8a8f;
  --surface: #f7f9fe;
  --line: #d5deef;
  --shadow: 0 18px 42px rgba(5, 26, 70, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Archivo", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 15%, rgba(216, 29, 50, 0.18), transparent 36%),
    radial-gradient(circle at 5% 5%, rgba(16, 50, 115, 0.16), transparent 42%),
    linear-gradient(180deg, #fefefe 0%, #f6f8fd 55%, #ffffff 100%);
}

.site-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 1rem 2rem;
}

.site-header {
  position: sticky;
  top: 0.75rem;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(16, 50, 115, 0.16);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(7, 27, 67, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  height: 50px;
  width: auto;
  display: block;
}

.brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1rem, 1.9vw, 1.35rem);
  font-weight: 700;
  color: var(--navy-900);
  white-space: nowrap;
  line-height: 1;
}

.brand-name-mobile {
  display: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
  white-space: nowrap;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--navy-900);
  font-weight: 700;
  font-size: 0.94rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--red-700);
  background: rgba(216, 29, 50, 0.08);
  transform: translateY(-1px);
}

.cta-link {
  background: var(--navy-900);
  color: var(--white) !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy-900);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

main {
  display: grid;
  gap: 3.2rem;
  margin-top: 2rem;
}

main section[id] {
  scroll-margin-top: 6.5rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 1.6rem;
  background: linear-gradient(130deg, rgba(5, 26, 70, 0.95), rgba(16, 50, 115, 0.94));
  border-radius: 28px;
  color: var(--white);
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -120px -120px auto;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 29, 50, 0.45), transparent 65%);
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.78rem;
}

.hero .eyebrow {
  color: #66ecef;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  margin: 0;
}

h1 {
  margin-top: 0.6rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.07;
}

.hero-content p {
  max-width: 58ch;
  line-height: 1.65;
  opacity: 0.94;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.72rem 1.25rem;
  border: 2px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--red-500);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(216, 29, 50, 0.34);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.section-head {
  max-width: 70ch;
}

.section-head h2 {
  margin-top: 0.45rem;
  font-size: clamp(1.5rem, 2.8vw, 2.35rem);
  color: var(--navy-900);
}

.section-head p {
  margin-top: 0.7rem;
  line-height: 1.65;
}

.no-break {
  white-space: nowrap;
}

.about,
.services,
.naics,
.clients,
.approach,
.why,
.contact {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(10, 25, 59, 0.06);
}

.about {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.2rem;
  align-items: stretch;
  padding: 2rem;
  overflow: visible;
}

.about-grid {
  display: contents;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
   padding: 0;
}

.about-text .section-head {
  max-width: none;
}

.about-text p {
  margin: 0;
  line-height: 1.7;
  text-align: justify;
  text-justify: inter-word;
}

.about-card {
  margin: 0;
  background: var(--surface);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.about-card img {
  width: 100%;
  flex: 1;
  object-fit: cover;
  object-position: center;
  display: block;
  min-height: 0;
}

.about-card p {
  padding: 1rem;
  margin: 0;
  line-height: 1.55;
}

.card-grid {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.service-card {
  background: linear-gradient(165deg, #ffffff, #edf2ff);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.05rem;
}

.service-card h3 {
  color: var(--navy-700);
  font-size: 1.14rem;
}

.service-card p {
  margin: 0.6rem 0 0;
  line-height: 1.55;
}

.naics-wrap {
  margin-top: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: auto;
  background: #ffffff;
}

.naics .section-head {
  max-width: none;
}

.services .section-head {
  max-width: none;
}

.contact .section-head {
  max-width: none;
}

.naics-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.naics-table th,
.naics-table td {
  text-align: left;
  padding: 0.72rem 0.9rem;
  border-bottom: 1px solid #e6ecf8;
  vertical-align: top;
}

.naics-table th {
  background: #eef3ff;
  color: var(--navy-900);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
}

.naics-table td:first-child {
  font-weight: 700;
  color: var(--navy-700);
  width: 130px;
  white-space: nowrap;
}

.naics-identifiers {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.naics-id-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fbff;
  padding: 0.75rem 0.9rem;
}

.clients-layout {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.client-card {
  margin: 0;
  background: linear-gradient(165deg, #0a255f, #0b1f4b);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(16, 50, 115, 0.34);
  box-shadow: 0 10px 22px rgba(6, 22, 58, 0.12);
}

.client-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.client-card-body {
  padding: 1rem;
  color: var(--white);
  display: grid;
  gap: 0.6rem;
}

.client-card-body h3 {
  font-size: 1.12rem;
  color: var(--white);
}

.client-card-body p {
  margin: 0;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.clients-note {
  margin: 1.1rem 0 0;
  line-height: 1.65;
}

.approach {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: start;
}

.approach .section-head {
  max-width: none;
}

.pillars {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.approach .pillars {
  margin-top: 0;
  grid-template-columns: 1fr;
}

.pillar {
  background: linear-gradient(145deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  border-radius: 14px;
  padding: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

.why {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.2rem;
  align-items: stretch;
}

.why-main .section-head {
  max-width: none;
}

.why-list {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.why-list li {
  display: grid;
  grid-template-columns: 1rem 1fr;
  column-gap: 0.85rem;
  align-items: start;
  line-height: 1.55;
  font-weight: 600;
}

.why-list li::before {
  content: "\2713";
  position: static;
  color: #0ea5a7;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.1;
}

.why-icon-pane {
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}

.why-icon-pane img {
  width: min(260px, 92%);
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.22));
}

.contact {
  background:
    linear-gradient(115deg, rgba(5, 26, 70, 0.97), rgba(14, 57, 137, 0.95)),
    url("https://images.pexels.com/photos/3184292/pexels-photo-3184292.jpeg?auto=compress&cs=tinysrgb&w=1400") center / cover;
  color: var(--white);
  overflow: hidden;
}

.contact .eyebrow {
  color: #7df0f2;
}

.contact-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.contact h2 {
  margin-top: 0.4rem;
  color: var(--white);
}

.contact p {
  max-width: 58ch;
  line-height: 1.6;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.6rem;
  width: min(520px, 100%);
}

.contact-meta-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(203, 221, 247, 0.9);
  background: rgba(255, 255, 255, 0.97);
  color: var(--navy-900);
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.97);
  background: var(--navy-700);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.contact-meta-text {
  display: grid;
  gap: 0.12rem;
}

.meta-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 800;
  color: #24457f;
}

.meta-value {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 700;
  color: #061a46;
  text-decoration: none;
}

a.meta-value:hover,
a.meta-value:focus-visible {
  text-decoration: underline;
}

.meta-static {
  font-weight: 700;
}

.site-footer {
  margin-top: 2rem;
  text-align: center;
  color: #3b4966;
  font-weight: 600;
}



@media (max-width: 960px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .clients-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .naics-identifiers {
    grid-template-columns: 1fr;
  }

  .pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .about-text,
  .contact-inner,
  .approach,
  .why {
    grid-template-columns: 1fr;
    display: grid;
  }

  .about-grid {
    gap: 1.75rem;
  }

  .about {
    grid-template-columns: 1fr;
    padding: 1.3rem;
  }

  .about-card {
    border-left: 1px solid var(--line);
    border-top: none;
    border-radius: 18px;
  }

  .approach .pillars {
    margin-top: 1.2rem;
  }

  .why-icon-pane {
    min-height: 160px;
  }

  .contact-actions {
    width: 100%;
  }

  .contact-meta-card {
    padding: 0.75rem 0.85rem;
  }
}

@media (max-width: 760px) {
  main section[id] {
    scroll-margin-top: 5.25rem;
  }

  .site-shell {
    padding: 0.85rem 0.7rem 1.4rem;
  }

  .site-header {
    border-radius: 16px;
    top: 0.4rem;
    padding: 0.65rem;
    width: 100%;
  }

  .brand img {
    height: 40px;
  }

  .brand-name {
    display: none;
  }

  .brand-name-mobile {
    display: inline;
    font-size: 1rem;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0.7rem;
    left: 0.7rem;
    z-index: 70;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.6rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 16px 26px rgba(6, 22, 58, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    background: #f8fbff;
    color: var(--navy-900);
  }

  .site-nav a.cta-link {
    background: var(--navy-900);
    color: var(--white) !important;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.2rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 8.2vw, 2.6rem);
    line-height: 1.1;
  }

  .hero-content p {
    max-width: none;
  }

  .hero-media img {
    min-height: 250px;
    max-height: 320px;
  }

  .hero-actions {
    gap: 0.6rem;
  }

  .hero-actions .btn {
    min-width: 170px;
  }

  .meta-value {
    font-size: 0.95rem;
  }

  .about,
  .services,
  .naics,
  .clients,
  .approach,
  .why,
  .contact {
    padding: 1.3rem;
  }

  .card-grid,
  .clients-layout,
  .pillars {
    grid-template-columns: 1fr;
  }

  .naics-table {
    min-width: 100%;
    font-size: 0.9rem;
  }

  .naics-table td,
  .naics-table th {
    padding: 0.6rem 0.7rem;
  }

  .naics-table td:first-child {
    width: 100px;
  }
}
