* { box-sizing: border-box; }

:root {
  --ink: #0b1f3a;
  --ink-deep: #071426;
  --blue: #1f66d1;
  --blue-hover: #1554b2;
  --sky: #dce9f8;
  --paper: #f7f6f2;
  --white: #fff;
  --line: #c9ced5;
  --muted: #596674;
  --gold: #d5a92f;
  --green: #45c486;
  --font-sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --page-pad: clamp(1.25rem, 4vw, 4rem);
  --max-width: 1440px;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

a { color: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--ink);
  padding: .75rem 1rem;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus { transform: translateY(0); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  min-height: 76px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 246, 242, .96);
  position: sticky;
  top: 0;
  z-index: 20;
  padding-left: var(--page-pad);
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }

.brand-mark {
  width: 40px;
  height: 40px;
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 500;
}

.brand-name { font-size: 20px; letter-spacing: -.02em; }
.brand-name strong { font-weight: 400; color: var(--muted); }

.site-nav { display: flex; align-items: stretch; }
.site-nav a { min-width: 132px; display: grid; place-items: center; padding: 0 24px; border-left: 1px solid var(--line); text-decoration: none; font-size: 14px; }
.site-nav a:hover { background: var(--white); }
.site-nav .nav-cta { min-width: 220px; background: var(--ink); color: var(--white); justify-content: space-between; display: flex; gap: 24px; }
.site-nav .nav-cta:hover { background: var(--blue); }

.menu-toggle { display: none; }

.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, .55fr);
  padding: 0 var(--page-pad);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.hero-copy { padding: clamp(5rem, 10vw, 9rem) clamp(2rem, 7vw, 7.5rem) 5rem 0; }

.eyebrow, .section-kicker, .capability-label, .contract-label {
  margin: 0 0 2rem;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.eyebrow span { width: 28px; height: 2px; background: var(--blue); }

h1, h2, h3, p { text-wrap: pretty; }

h1 {
  font-size: clamp(3.8rem, 7.8vw, 7.5rem);
  line-height: .91;
  letter-spacing: -.065em;
  font-weight: 300;
  margin: 0;
  max-width: 900px;
}

h1 em { font-style: normal; color: var(--blue); }

.hero-lede { margin: 2.5rem 0 0; max-width: 650px; font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.5; color: var(--muted); font-weight: 300; }
.hero-actions { margin-top: 3rem; display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem 2rem; }

.button { min-height: 56px; display: inline-flex; align-items: center; justify-content: space-between; gap: 3rem; padding: 0 1rem 0 1.25rem; text-decoration: none; font-size: 14px; }
.button-primary { background: var(--blue); color: var(--white); min-width: 285px; }
.button-primary:hover { background: var(--blue-hover); }
.text-link { font-size: 14px; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--blue); }

.mission-panel { background: var(--ink); color: var(--white); margin-right: calc(var(--page-pad) * -1); padding: 2rem; display: flex; flex-direction: column; min-height: 100%; }
.panel-topline { display: flex; justify-content: space-between; gap: 1rem; font-family: var(--font-mono); text-transform: uppercase; font-size: 10px; letter-spacing: .08em; color: #a9b9ca; }
.status { color: var(--white); }
.status i { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(69, 196, 134, .12); }
.panel-statement { margin: auto 0; font-size: clamp(1.75rem, 2.5vw, 2.5rem); line-height: 1.15; font-weight: 300; letter-spacing: -.03em; }
.panel-details { margin: 0; border-top: 1px solid #31445a; }
.panel-details div { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid #31445a; }
.panel-details dt { color: #a9b9ca; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .04em; }
.panel-details dd { margin: 0; font-size: 13px; }

.proof-strip { background: var(--sky); border-top: 1px solid #aebfd4; border-bottom: 1px solid #aebfd4; min-height: 78px; padding: 0 var(--page-pad); display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 4vw, 4rem); }
.proof-strip p { margin: 0; font-size: 12px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .05em; text-align: center; }
.proof-strip span { width: 4px; height: 4px; background: var(--blue); }

.section { max-width: var(--max-width); margin: 0 auto; padding: clamp(5rem, 9vw, 8.5rem) var(--page-pad); border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.section-intro { display: grid; grid-template-columns: 1fr 1.7fr 1fr; gap: clamp(2rem, 5vw, 6rem); align-items: start; margin-bottom: clamp(4rem, 7vw, 7rem); }
.section-kicker { color: var(--blue); }
.section-intro h2, .contact h2 { margin: 0; font-size: clamp(2.6rem, 5vw, 4.75rem); line-height: 1.03; font-weight: 300; letter-spacing: -.05em; }
.section-intro > p:last-child { margin: .6rem 0 0; color: var(--muted); font-size: 18px; font-weight: 300; }

.capability-list { border-top: 1px solid var(--ink); }
.capability { min-height: 260px; display: grid; grid-template-columns: 80px minmax(0, 1fr) 120px; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.capability-featured { min-height: 420px; }
.capability-number { font-family: var(--font-mono); color: var(--muted); font-size: 12px; }
.capability-body { max-width: 780px; }
.capability-label { color: var(--blue); margin-bottom: 1rem; }
.capability h3 { font-size: clamp(2rem, 4vw, 4rem); letter-spacing: -.045em; font-weight: 300; line-height: 1; margin: 0 0 1.5rem; }
.capability p:not(.capability-label) { max-width: 680px; color: var(--muted); font-size: 18px; font-weight: 300; }
.capability ul { columns: 2; padding: 0; margin: 2rem 0 0; max-width: 660px; list-style: none; border-top: 1px solid var(--line); }
.capability li { break-inside: avoid; padding: .75rem 1rem .75rem 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.capability-symbol { justify-self: end; align-self: end; width: 96px; height: 96px; display: grid; place-items: center; border: 1px solid var(--line); font-family: var(--font-mono); font-size: 24px; color: var(--blue); }

.section-dark { max-width: none; background: var(--ink); color: var(--white); border: 0; padding-left: max(var(--page-pad), calc((100vw - var(--max-width)) / 2 + var(--page-pad)));
  padding-right: max(var(--page-pad), calc((100vw - var(--max-width)) / 2 + var(--page-pad))); }
.section-dark .section-kicker { color: #8fb8ed; }
.section-dark .section-intro { grid-template-columns: 1fr 2.75fr; }
.approach-list { list-style: none; padding: 0; margin: 0 0 0 25%; border-top: 1px solid #3b4d62; }
.approach-list li { display: grid; grid-template-columns: 80px 1fr; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid #3b4d62; }
.approach-list li > span { font-family: var(--font-mono); font-size: 12px; color: #8fb8ed; }
.approach-list h3 { margin: 0 0 .75rem; font-size: 24px; font-weight: 400; }
.approach-list p { margin: 0; color: #b4c0ce; max-width: 620px; font-weight: 300; }

.contract-grid { display: grid; grid-template-columns: minmax(280px, .8fr) 1.5fr; border: 1px solid var(--line); }
.contract-card { min-height: 390px; padding: 2rem; display: flex; flex-direction: column; }
.contract-card-dark { background: var(--blue); color: var(--white); }
.contract-card .contract-label { color: #c4dcfa; }
.contract-card .contract-value { margin: auto 0 0; font-size: clamp(3.8rem, 7vw, 6rem); font-weight: 300; line-height: 1; letter-spacing: -.05em; }
.contract-card > p:last-child { margin: 1rem 0 0; max-width: 280px; font-size: 14px; }
.contract-data { margin: 0; }
.contract-data div { min-height: 25%; padding: 1.5rem 2rem; display: grid; grid-template-columns: 1fr 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.contract-data div:last-child { border-bottom: 0; }
.contract-data dt { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; }
.contract-data dd { margin: 0; font-size: 18px; }
.contract-identifier { font-family: var(--font-mono); letter-spacing: .04em; }
.placeholder { color: var(--muted); }
.draft-note { margin: 1rem 0 0; font-size: 12px; color: var(--muted); }
.naics-directory { margin-top: 3rem; display: grid; grid-template-columns: minmax(280px, .8fr) 1.5fr; border-top: 1px solid var(--ink); }
.naics-heading { padding: 2rem 2rem 2rem 0; }
.naics-heading .contract-label { color: var(--blue); margin-bottom: 1rem; }
.naics-heading h3 { margin: 0; font-size: clamp(2rem, 3vw, 3.25rem); line-height: 1.05; font-weight: 300; letter-spacing: -.04em; }
.naics-list { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line); }
.naics-list li { min-height: 76px; padding: 1rem 2rem; display: grid; grid-template-columns: 100px 1fr; gap: 1.5rem; align-items: center; border-bottom: 1px solid var(--line); }
.naics-list li span { font-family: var(--font-mono); font-size: 13px; color: var(--blue); }
.naics-list li p { margin: 0; font-size: 15px; }

.contact { background: var(--sky); }
.contact > .section-kicker { margin-bottom: 4rem; }
.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(3rem, 10vw, 10rem); }
.contact-copy { padding-top: .8rem; }
.contact-copy > p:first-child { margin: 0 0 1rem; font-size: 20px; font-weight: 300; }
.contact-copy .contact-privacy { margin: 0; font-size: 13px; color: var(--muted); }
.contact-form { margin-top: clamp(4rem, 8vw, 7rem); padding-top: 2rem; border-top: 1px solid #9fb2c8; position: relative; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem clamp(2rem, 7vw, 7rem); }
.form-field { display: grid; gap: .65rem; }
.form-field > span { font-family: var(--font-mono); font-size: 11px; line-height: 1.4; text-transform: uppercase; letter-spacing: .04em; }
.form-field b, .form-required b { color: var(--blue); font-weight: 500; }
.form-field small { color: var(--muted); font-family: var(--font-sans); font-size: 12px; text-transform: none; letter-spacing: 0; }
.form-field input, .form-field textarea { width: 100%; border: 0; border-bottom: 1px solid #8da5bf; border-radius: 0; background: rgba(255,255,255,.35); color: var(--ink); font: 400 17px/1.5 var(--font-sans); padding: .85rem .75rem; resize: vertical; }
.form-field input { min-height: 52px; }
.form-field textarea { min-height: 180px; }
.form-field input:hover, .form-field textarea:hover { background: rgba(255,255,255,.55); }
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: transparent; background: var(--white); }
.form-field input:user-invalid, .form-field textarea:user-invalid { border-bottom-color: #a52626; }
.form-field-wide { grid-column: 1 / -1; }
.form-submit-row { margin-top: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 70px; }
.turnstile-wrap { min-height: 65px; }
.form-submit { border: 0; cursor: pointer; font-family: var(--font-sans); }
.form-submit:disabled { cursor: wait; opacity: .7; }
.form-status { min-height: 24px; margin: 1rem 0 0; font-size: 14px; font-weight: 500; }
.form-status[data-state="success"] { color: #14663b; }
.form-status[data-state="error"] { color: #8b1d1d; }
.form-required { margin: .5rem 0 0; color: var(--muted); font-size: 11px; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.site-footer { background: var(--ink-deep); color: var(--white); padding: 3.5rem var(--page-pad) 2rem; }
.brand-footer .brand-mark { background: var(--white); color: var(--ink); }
.brand-footer .brand-name strong { color: #a9b9ca; }
.site-footer > p { max-width: 520px; color: #a9b9ca; font-weight: 300; margin: 2rem 0 5rem; }
.footer-meta { border-top: 1px solid #31445a; padding-top: 1.5rem; display: flex; gap: 2rem; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; color: #a9b9ca; }
.footer-meta a { margin-left: auto; color: var(--white); }

@media (max-width: 1000px) {
  .site-header { min-height: 68px; padding-right: var(--page-pad); }
  .menu-toggle { display: grid; align-content: center; gap: 7px; width: 48px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { width: 100%; height: 1px; background: var(--ink); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-last-child(2) { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { display: none; position: fixed; inset: 68px 0 0; background: var(--paper); flex-direction: column; padding: 1rem var(--page-pad) 2rem; }
  .site-nav.open { display: flex; }
  .site-nav a, .site-nav .nav-cta { min-height: 64px; min-width: 0; border: 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding: 0; font-size: 18px; }
  .site-nav .nav-cta { margin-top: 1rem; padding: 0 1rem; border-bottom: 0; }
  .hero { grid-template-columns: 1fr; padding-right: var(--page-pad); }
  .hero-copy { padding-right: 0; }
  .mission-panel { margin: 0 calc(var(--page-pad) * -1); min-height: 480px; }
  .section-intro { grid-template-columns: .7fr 2fr; }
  .section-intro > p:last-child { grid-column: 2; }
  .capability { grid-template-columns: 50px 1fr 80px; }
  .capability-symbol { width: 72px; height: 72px; }
}

@media (max-width: 700px) {
  .hero { min-height: 0; border: 0; }
  .hero-copy { padding: 5rem 0 4rem; }
  h1 { font-size: clamp(3.35rem, 16vw, 5rem); }
  .hero-lede { font-size: 18px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button-primary { min-width: 0; width: 100%; }
  .proof-strip { align-items: flex-start; flex-direction: column; gap: .75rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .proof-strip p { text-align: left; }
  .proof-strip span { display: none; }
  .section { border-left: 0; border-right: 0; }
  .section-intro, .section-dark .section-intro, .contact-layout { display: block; }
  .section-intro h2 { margin-bottom: 1.5rem; }
  .section-intro > p:last-child { margin-top: 1.5rem; }
  .capability, .capability-featured { min-height: 0; grid-template-columns: 36px 1fr; gap: 1rem; }
  .capability-symbol { display: none; }
  .capability h3 { font-size: 2.4rem; }
  .capability ul { columns: 1; }
  .approach-list { margin-left: 0; }
  .approach-list li { grid-template-columns: 36px 1fr; gap: 1rem; }
  .contract-grid { grid-template-columns: 1fr; }
  .contract-card { min-height: 330px; }
  .contract-data div { grid-template-columns: 1fr; gap: .5rem; }
  .naics-directory { grid-template-columns: 1fr; }
  .naics-heading { padding-right: 0; }
  .naics-list { border-left: 0; border-top: 1px solid var(--line); }
  .naics-list li { grid-template-columns: 76px 1fr; gap: 1rem; padding: 1rem 0; }
  .contact h2 { margin-bottom: 2.5rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field-wide { grid-column: auto; }
  .form-submit-row { align-items: stretch; flex-direction: column; }
  .form-submit { width: 100%; }
  .footer-meta { flex-wrap: wrap; }
  .footer-meta a { width: 100%; margin-left: 0; }
}

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