/* ── Design tokens ── */
:root {
  --navy:         #0b2336;
  --navy-mid:     #143352;
  --slate:        #2a3a47;
  --accent:       #e86f00;
  --accent-dark:  #c45e00;
  --text:         #0b2336;
  --muted:        #4a5568; /* #6b7280 fails WCAG AA on white; this is ~7:1 */
  --bg:           #ffffff;
  --bg-light:     #f4f7fa;
  --border:       #d1dce7;
  --border-light: #e8eef5;
  --radius:       6px;
  --max-w:        1100px;
  --header-h:     108px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 1rem;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Skip link ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--navy);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600;
  z-index: 100;
  text-decoration: none;
  font-size: .9rem;
}
.skip-link:focus { top: 0; }

/* ── Layout ── */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--border-light);
  backdrop-filter: blur(8px);
  height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: var(--navy);
  flex-shrink: 0;
}
.brand-wordmark { height: 92px; width: auto; display: block; }

.main-nav { margin-left: auto; }

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--navy);
  flex-shrink: 0;
}
.hamburger {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}
.hamburger::before,
.hamburger::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
}
.hamburger::before { top: -6px; }
.hamburger::after  { top:  6px; }

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: .15rem;
  align-items: center;
}
.nav-list a {
  display: block;
  padding: .4rem .65rem;
  color: var(--slate);
  text-decoration: none;
  font-weight: 600;
  font-size: .88rem;
  border-radius: var(--radius);
  transition: color .15s, background .15s;
}
.nav-list a:hover { color: var(--navy); background: var(--bg-light); }
.nav-list a[aria-current="page"] { color: var(--accent); }
.nav-list a.nav-cta {
  background: var(--navy);
  color: #fff;
  padding: .4rem .9rem;
  margin-left: .35rem;
}
.nav-list a.nav-cta:hover { background: var(--navy-mid); color: #fff; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: .65rem 1.3rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  line-height: 1.2;
  font-family: inherit;
}
.btn.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn.primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn.ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff; }
.btn.ghost-light { background: transparent; color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.4); font-size: .88rem; }
.btn.ghost-light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); color: #fff; }

/* ── Hero ── */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  padding: 5rem 0 4rem;
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .045;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.12;
  margin: 0 0 1.25rem;
  font-weight: 800;
  letter-spacing: -.025em;
  max-width: 680px;
}
.hero-lede {
  font-size: clamp(.98rem, 1.5vw, 1.12rem);
  color: rgba(255, 255, 255, .75);
  max-width: 560px;
  margin: 0 0 2rem;
  line-height: 1.7;
}
.hero-ctas { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 3.5rem; }
.hero-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 1.5rem;
  gap: 0;
}
.hero-badge {
  padding: .7rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, .1);
}
.hero-badge:last-child { border-right: none; }
.badge-label {
  display: block;
  font-weight: 700;
  font-size: .88rem;
  color: #fff;
  letter-spacing: .03em;
}
.badge-sub {
  display: block;
  font-size: .76rem;
  color: rgba(255, 255, 255, .52);
  margin-top: .15rem;
  line-height: 1.3;
}

/* ── Differentiators strip ── */
.differentiators {
  background: var(--accent);
  color: #fff;
  padding: 1.25rem 0;
}
.diff-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .5rem;
}
.diff-item {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: .5rem .75rem;
  font-size: .83rem;
  border-right: 1px solid rgba(255,255,255,.2);
}
.diff-item:last-child { border-right: none; }
.diff-item strong { font-weight: 700; font-size: .88rem; display: block; }
.diff-item span { opacity: .88; line-height: 1.4; }

/* ── Section shells ── */
.section { padding: 4.5rem 0; }
.section-light { background: var(--bg-light); }
.section-dark { background: var(--navy); color: #fff; }
.section-header { margin-bottom: 2.5rem; }
.section-header h2 { margin: 0 0 .5rem; font-size: clamp(1.45rem, 2.5vw, 1.95rem); line-height: 1.2; }
.section-sub { color: var(--muted); font-size: 1rem; margin: 0; max-width: 600px; line-height: 1.55; }
.section-header-light h2 { color: #fff; }
.section-header-light .section-sub { color: rgba(255,255,255,.65); }

/* ── Services grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.service-num {
  font-size: .7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .12em;
  margin-bottom: .5rem;
}
.service-card h3 { margin: 0 0 .7rem; font-size: 1.05rem; }
.service-card p { margin: 0 0 .65rem; font-size: .92rem; line-height: 1.6; color: var(--slate); }
.service-card p:first-of-type { color: var(--text); }
.service-serves { color: var(--muted) !important; font-size: .87rem !important; }
.service-outcome { color: var(--navy-mid) !important; font-size: .87rem !important; }

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 3rem;
  align-items: start;
}
.about-content h2 { margin: 0 0 .75rem; font-size: clamp(1.45rem, 2.5vw, 1.95rem); }
.about-content h3 { margin: 1.75rem 0 .45rem; font-size: 1.05rem; color: var(--slate); border-bottom: 1px solid var(--border-light); padding-bottom: .35rem; }
.about-open { font-size: 1.05rem; line-height: 1.75; color: var(--slate); margin-bottom: .75rem; }
.about-content p { font-size: .95rem; line-height: 1.65; margin: 0 0 .75rem; }
.values-list { margin: .4rem 0 0; padding-left: 1.1rem; }
.values-list li { margin-bottom: .55rem; line-height: 1.55; font-size: .93rem; }
.about-sidebar { display: flex; flex-direction: column; gap: .7rem; }
.fact-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: .85rem 1rem;
}
.fact-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.fact-value { font-size: 1rem; font-weight: 700; color: var(--navy); margin-top: .2rem; }

/* ── Certifications ── */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.cert-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.cert-card.cert-primary { border-color: var(--accent); background: #fff8f2; }
.cert-title { font-weight: 700; font-size: 1rem; margin-bottom: .4rem; color: var(--navy); }
.cert-card.cert-primary .cert-title { color: var(--accent-dark); }
.cert-desc { font-size: .88rem; color: var(--muted); line-height: 1.55; }
.certs-note { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--border); padding-top: 1rem; margin: 0; }

/* ── Partners ── */
.partners-inner { max-width: 720px; }
.partners-inner h2 { margin-top: 0; font-size: clamp(1.45rem, 2.5vw, 1.95rem); margin-bottom: .75rem; }
.partners-lede { font-size: 1.02rem; color: var(--slate); line-height: 1.7; margin-bottom: 1.5rem; }
.teaming-block { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem 1.5rem; background: var(--bg-light); }
.teaming-block h3 { margin: 0 0 .7rem; font-size: 1rem; color: var(--slate); }
.teaming-block ul { margin: 0; padding-left: 1.2rem; }
.teaming-block li { margin-bottom: .5rem; font-size: .93rem; line-height: 1.55; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 300px; gap: 2.5rem; align-items: start; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; margin-bottom: .8rem; }
.form-group label {
  font-weight: 600;
  font-size: .85rem;
  margin-bottom: .3rem;
  color: rgba(255, 255, 255, .8);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: .6rem .75rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .07);
  color: #fff;
  font-size: .93rem;
  font-family: inherit;
  width: 100%;
  transition: border-color .15s, background .15s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, .11);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.3); }
.form-group select option { background: var(--navy); color: #fff; }
.form-group textarea { resize: vertical; }
.req { color: var(--accent); margin-left: .1rem; }
.form-actions { margin-top: .25rem; }
#form-status { margin-top: .75rem; font-size: .88rem; min-height: 1.4em; color: rgba(255,255,255,.8); }

.contact-info {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.contact-info h3 { margin: 0 0 1rem; color: #fff; font-size: 1.05rem; }
.contact-dl { margin: 0 0 1.5rem; }
.contact-dl dt {
  font-weight: 700;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-top: 1rem;
}
.contact-dl dt:first-child { margin-top: 0; }
.contact-dl dd { margin: .2rem 0 0; color: rgba(255, 255, 255, .82); font-size: .92rem; line-height: 1.4; }
.contact-dl a { color: rgba(255, 255, 255, .88); text-decoration-color: rgba(255,255,255,.3); }
.contact-dl a:hover { color: #fff; }
.contact-aside-note p { font-size: .87rem; color: rgba(255,255,255,.68); line-height: 1.55; margin: 0 0 .85rem; }

/* ── Footer ── */
.site-footer { background: #07121c; color: rgba(255, 255, 255, .55); padding: 3rem 0 2rem; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr 1.6fr 1fr; gap: 2rem; }
.footer-logo { height: 52px; width: auto; margin-bottom: .65rem; }
.footer-copy { font-size: .8rem; margin: 0; line-height: 1.55; }
.footer-col h4 { color: rgba(255,255,255,.7); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 .65rem; }
.footer-col p { margin: 0 0 .3rem; font-size: .8rem; line-height: 1.5; }
.footer-cert-col { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.sdvosb-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  padding: .3rem .75rem;
  border-radius: var(--radius);
  font-size: .88rem;
  letter-spacing: .06em;
}
.footer-cert-col p { font-size: .8rem; line-height: 1.5; color: rgba(255,255,255,.45); margin: 0; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .diff-grid { grid-template-columns: repeat(3, 1fr); }
  .diff-item:nth-child(3) { border-right: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-sidebar { flex-direction: row; flex-wrap: wrap; }
  .fact-card { flex: 1 1 140px; }
  .footer-inner { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
}

@media (max-width: 680px) {
  .nav-list {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: .5rem 1.5rem 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    gap: .1rem;
  }
  .nav-list.is-open { display: flex; }
  .nav-list a { font-size: .95rem; padding: .55rem .75rem; }
  .nav-list a.nav-cta { background: none; color: var(--navy); margin-left: 0; }
  .nav-toggle { display: flex; }

  .hero { padding: 3rem 0 2.5rem; }
  .hero-badges { grid-template-columns: 1fr 1fr; }
  .hero-badge { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .hero-badge:nth-child(even) { border-right: none; }
  .hero-badge:last-child, .hero-badge:nth-last-child(2):not(:nth-child(odd)) { border-bottom: none; }

  .diff-grid { grid-template-columns: 1fr 1fr; }
  .diff-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .diff-item:nth-child(even) { border-bottom: 1px solid rgba(255,255,255,.15); }
  .diff-item:last-child { border-bottom: none; }

  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; row-gap: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
