/* Layout: white page, navy header rule + navy footer; one gold accent line; content column 1120px with 16px+ gutters */
:root {
  --paper: #ffffff;
  --mist: #f3f5f9;          /* cool neutral panel, biased to navy */
  --ink: #0f2a5c;           /* logo navy: headings */
  --text: #26324a;          /* body text */
  --muted: #56627a;
  --royal: #1f4fa8;         /* PG letter blue: links */
  --gold: #b8912f;          /* ring gold: accent rules, markers */
  --gold-soft: #f4ecd6;
  --line: #d9dfe9;
  --night: #0b1f45;         /* footer / feature band */
  --night-text: #e8edf6;
  --display: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --body: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --label: "Montserrat", "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { background: var(--paper); }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--text); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--royal); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.15; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.45rem; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
.label { font-family: var(--label); font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 62ch; }
.prose { max-width: 66ch; display: grid; gap: 1rem; }

/* Header */
.site-head { background: var(--paper); border-bottom: 3px solid var(--ink); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; padding-block: 12px; }
.brand img { width: 250px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.nav a { font-family: var(--label); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); text-decoration: none; padding-block: 6px; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--line); }
.nav a[aria-current="page"] { border-bottom-color: var(--gold); }

/* Sections */
section { padding-block: 72px; }
.band { background: var(--mist); }
.stack { display: grid; gap: 1.1rem; }
.section-head { display: grid; gap: .6rem; margin-bottom: 2.2rem; max-width: 70ch; }

/* Hero */
.hero { padding-block: 64px 72px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-mark { justify-self: center; width: min(340px, 100%); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: .6rem; }
.btn { display: inline-block; font-family: var(--label); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; padding: 14px 22px; border: 2px solid var(--ink); color: var(--ink); background: transparent; cursor: pointer; }
.btn.primary { background: var(--ink); color: #ffffff; }
.btn:hover { border-color: var(--gold); }

/* Pillars: Strategy > Process > Technology > Results */
.pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.pillars li { padding: 22px 18px 4px 0; display: grid; gap: .35rem; }
.pillars .step { font-family: var(--label); font-size: .72rem; font-weight: 600; letter-spacing: .16em; color: var(--gold); }
.pillars strong { font-family: var(--display); font-size: 1.5rem; color: var(--ink); }
.pillars p { color: var(--muted); font-size: .98rem; }

/* Service grid */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.svc { background: var(--paper); padding: 24px 22px; display: grid; gap: .5rem; align-content: start; min-width: 0; }
.svc h3 { font-size: 1.3rem; }
.svc p { font-size: .98rem; color: var(--muted); }
.svc .tag { font-family: var(--label); font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }

/* Feature band */
.feature { background: var(--night); color: var(--night-text); }
.feature h2, .feature h3 { color: #ffffff; }
.feature .lead { color: #c3cde0; }
.feature .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid #2a4274; }
.checks li { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid #2a4274; }
.checks li::before { content: ""; width: 10px; height: 10px; margin-top: .55em; background: var(--gold); transform: rotate(45deg); }
.checks b { color: #ffffff; font-weight: 600; }

/* Industries */
.industries { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.industries li { border: 1px solid var(--line); background: var(--paper); padding: 8px 16px; font-family: var(--label); font-size: .8rem; font-weight: 600; letter-spacing: .06em; color: var(--ink); }

/* Detailed services */
.svc-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; padding-block: 34px; border-top: 1px solid var(--line); }
.svc-detail:last-child { border-bottom: 1px solid var(--line); }
.svc-detail ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .35rem; }
.svc-detail .aka { font-size: .92rem; color: var(--muted); margin-top: .5rem; }

/* Facts table (Government) */
.facts { width: 100%; border-collapse: collapse; font-size: 1rem; }
.facts th, .facts td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { width: 34%; font-family: var(--label); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); font-weight: 600; }
.facts td { font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--paper); }
.pending { display: inline-block; font-family: var(--label); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #7a5a12; background: var(--gold-soft); border: 1px dashed var(--gold); padding: 3px 8px; }
.naics { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.naics code { font-family: var(--label); font-weight: 600; color: var(--ink); margin-right: 8px; letter-spacing: .04em; }

/* Two column generic */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.panel { background: var(--mist); border-top: 3px solid var(--gold); padding: 26px; display: grid; gap: .8rem; }
.kv { display: grid; gap: .2rem; }
.kv span { font-family: var(--label); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.kv strong { font-size: 1.15rem; color: var(--ink); overflow-wrap: anywhere; }
.copy { font-family: var(--label); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; background: none; border: 1px solid var(--line); color: var(--ink); padding: 4px 10px; cursor: pointer; justify-self: start; }

/* CTA band */
.cta-band { background: var(--mist); border-top: 1px solid var(--line); }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }

/* Footer */
.site-foot { background: var(--night); color: #c3cde0; padding-block: 48px 28px; font-size: .95rem; }
.site-foot .wrap { display: grid; gap: 28px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.site-foot img { width: 260px; }
.site-foot a { color: #ffffff; }
.site-foot h4 { margin: 0 0 .6rem; font-family: var(--label); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.foot-bottom { border-top: 1px solid #2a4274; padding-top: 18px; font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

@media (max-width: 900px) {
  .hero .wrap, .feature .wrap, .split, .svc-detail { grid-template-columns: minmax(0, 1fr); }
  .hero-mark { width: min(320px, 100%); justify-self: start; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  section { padding-block: 52px; }
  .brand img { width: 200px; }
  .svc-grid, .pillars { grid-template-columns: minmax(0, 1fr); }
  .facts th { width: 40%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Hero workflow graphic */
.flow { width: min(400px, 100%); height: auto; }
.flow .wire path { fill: none; stroke: var(--gold); stroke-width: 2.5; }
.flow .joint circle { fill: var(--paper); stroke: var(--gold); stroke-width: 2.5; }
.flow .n { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.flow .n.dark { fill: var(--ink); }
.flow .n.gold { fill: var(--gold-soft); stroke: var(--gold); }
.flow .t { font-family: var(--display); font-size: 22px; font-weight: 700; fill: var(--ink); text-anchor: middle; }
.flow .t.light { fill: #ffffff; }
.flow .tick { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* Split hero: copy on white, brand art panel bleeding to the right edge */
.hero-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 42%); padding: 0; border-bottom: 1px solid var(--line); }
.hero-copy { padding-block: 72px; padding-left: max(20px, calc((100vw - 1120px) / 2 + 20px)); padding-right: 48px; display: flex; align-items: center; }
.hero-art { position: relative; background: var(--night); min-height: 460px; overflow: hidden; }
.hero-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-tag { position: absolute; left: 0; right: 0; bottom: 28px; margin: 0; text-align: center; font-family: var(--display); font-style: italic; font-weight: 600; font-size: 1.5rem; color: #ffffff; }
@media (max-width: 900px) {
  .hero-split { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding: 52px 20px; }
  .hero-art { min-height: 240px; }
}

/* Tighter section heads, larger step names */
section { padding-block: 52px; }
.section-head { margin-bottom: 1.2rem; gap: .35rem; }
.section-head h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.pillars strong { font-size: 2.1rem; }
.pillars p { font-size: 1.02rem; }
.pillars .step { font-size: .76rem; }
.pillars li { align-content: start; }
/* Tighter vertical rhythm */
section { padding-block: 36px; }
.section-head { margin-bottom: 1rem; }
.hero-copy { padding-block: 36px 40px; }
.hero-art { min-height: 400px; }
.pillars li { padding-top: 14px; }
.cta-band { padding-block: 28px; }
.site-foot { padding-block: 36px 22px; }
@media (max-width: 560px) { section { padding-block: 30px; } .hero-copy { padding-block: 30px; } }

/* Larger section labels */
.section-head .label, .hero-copy .label, .feature .label { font-size: .95rem; letter-spacing: .14em; }
/* Audit pop-up */
.dlg { border: 0; border-top: 4px solid var(--gold); padding: 28px; max-width: 680px; width: calc(100% - 32px); max-height: 85vh; overflow-y: auto; background: var(--paper); color: var(--text); display: none; }
.dlg[open] { display: grid; gap: 1rem; }
.dlg::backdrop { background: rgba(11, 31, 69, .6); }
.dlg-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.dlg-x { background: none; border: 1px solid var(--line); color: var(--ink); font-size: 1.5rem; line-height: 1; width: 40px; height: 40px; cursor: pointer; flex: none; }
.dlg-list { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.dlg-list div { padding: 10px 0; border-bottom: 1px solid var(--line); display: grid; gap: .15rem; }
.dlg-list dt { font-weight: 600; color: var(--ink); }
.dlg-list dd { margin: 0; color: var(--muted); font-size: .98rem; }

/* Bigger labels and section headings */
.label, .section-head .label, .hero-copy .label, .feature .label { font-size: 1.05rem; letter-spacing: .14em; }
.section-head h2, .cta-band h2, .feature h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); }

/* Plain page heading */
.hero-plain { padding-block: 36px 24px; }
/* Forms */
.form { display: grid; gap: 20px; max-width: 820px; }
.form fieldset { border: 1px solid var(--line); border-top: 3px solid var(--gold); margin: 0; padding: 20px 22px 22px; display: grid; gap: 18px; min-width: 0; }
.form legend { font-family: var(--display); font-size: 1.5rem; font-weight: 700; color: var(--ink); padding: 0 8px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field .q { font-weight: 600; color: var(--ink); }
.hint { font-size: .9rem; color: var(--muted); }
.field input:not([type=radio]):not([type=checkbox]), .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--text); background: var(--paper); border: 1px solid #b9c2d3; padding: 10px 12px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--royal); outline-offset: 1px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.opts label { font-weight: 400; color: var(--text); display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.opts input { accent-color: var(--ink); width: 18px; height: 18px; }
.err { color: #9b1c1c; font-weight: 600; }
.summary { white-space: pre-wrap; font-family: var(--body); font-size: .98rem; background: var(--paper); border: 1px solid var(--line); padding: 14px; margin: 0; max-height: 360px; overflow: auto; }
@media (max-width: 560px) { .grid2 { grid-template-columns: minmax(0, 1fr); } }

#typeOtherWrap .count{display:block;text-align:right;color:#5b6475;font-size:.85rem;margin-top:.2rem}
.req{color:#b3261e;font-weight:700}
.field [aria-invalid=true]{border-color:#b3261e!important;outline:1px solid #b3261e}
.field[hidden]{display:none}
.grid2 .field{align-content:start}
.field.invalid .opts{outline:1px solid #b3261e;outline-offset:6px}
.field.invalid .q{color:#b3261e}
.label, .section-head .label, .hero-copy .label, .feature .label { font-size: 1.3rem; letter-spacing: .12em; font-weight: 700; }
.brand img { width: 400px; }
@media (max-width: 760px) { .brand img { width: 260px; } }
.brand { display: inline-flex; flex-direction: column; align-items: stretch; text-decoration: none; }
.brand-tag { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: -6px; padding-left: 4px; font-family: var(--label); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.brand-tag i { width: 11px; height: 11px; border-radius: 50%; flex: none; background: radial-gradient(circle at 35% 30%, #f6dc8a 0%, #d4a93e 45%, #8a6418 100%); }
@media (max-width: 760px) { .brand-tag { font-size: .6rem; letter-spacing: .08em; gap: 5px; margin-top: -4px; } .brand-tag i { width: 8px; height: 8px; } }
.brand-tag { color: #0f2a5c; font-size: .74rem; letter-spacing: .1em; gap: 6px; padding-left: 4px; padding-right: 2px; width: 100%; box-sizing: border-box; }
.brand-tag { width: max-content; margin-left: 42.5%; padding-left: 0; justify-content: flex-start; gap: 9px; }
@media (max-width: 760px) { .brand img { width: 240px; } .brand-tag { margin-left: 0; width: auto; font-size: .56rem; letter-spacing: .06em; gap: 5px; margin-top: 2px; } .brand-tag i { width: 7px; height: 7px; } }
@media (min-width: 761px) { .brand-tag { margin-left: 22.5%; } }
.about-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 48px; align-items: start; }
.about-side { display: grid; gap: 20px; }
.portrait { margin: 0; background: var(--night); border-bottom: 4px solid var(--gold); }
.portrait img { display: block; width: 100%; height: auto; }
.portrait figcaption { display: grid; gap: 2px; padding: 12px 16px; color: #fff; }
.portrait figcaption strong { font-family: var(--display); font-size: 1.35rem; }
.portrait figcaption span { font-family: var(--label); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #e3c77d; }
.about-grid .prose h2 { margin-top: .3rem; }
@media (max-width: 860px) { .about-grid { grid-template-columns: minmax(0, 1fr); } .about-side { max-width: 420px; } .svc-grid { grid-template-columns: minmax(0,1fr) !important; } }
.about-grid .prose p { font-size: 1.18rem; line-height: 1.65; }
.lead.lead-wide { max-width: none; }
.svc-detail .aka { font-size: .98rem; color: var(--ink); }
.svc-detail .aka strong { font-weight: 700; }
.svc-detail .stack { align-content: start; }
@media (min-width: 1101px) { .svc-grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t go" "d go"; gap: 4px 16px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.svc-row-t { grid-area: t; font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--ink); line-height: 1.2; }
.svc-row-d { grid-area: d; color: var(--muted); font-size: 1rem; }
.svc-row-go { grid-area: go; color: var(--gold); font-size: 1.4rem; transition: transform .15s; }
.svc-row:hover .svc-row-t { color: var(--royal); }
.svc-row:hover .svc-row-go { transform: translateX(4px); }
@media (max-width: 760px) { .svc-list { grid-template-columns: minmax(0, 1fr); } }
.svc-row { align-content: start; align-items: start; } .svc-row-go { align-self: center; }
.svc-detail { scroll-margin-top: 16px; }
.svc-detail { scroll-margin-top: 90px; }
.svc-detail { scroll-margin-top: 180px; }
.section-head:has(.lead-wide) { max-width: none; } .section-head .lead-wide { max-width: none; margin-top: .4rem; }

/* ---------- Phone header: compact, menu button, not sticky ---------- */
.nav-toggle { display: none; }
@media (max-width: 760px) {
  .site-head { position: static; }
  .site-head .wrap { flex-wrap: nowrap; align-items: center; padding-block: 10px; position: relative; }
  .brand img { width: 210px; }
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 10px; background: none; border: 1px solid var(--line); cursor: pointer; flex: none; }
  .nav-toggle span { display: block; height: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 20; background: #fff; border-bottom: 3px solid var(--ink); box-shadow: 0 10px 20px rgba(15,42,92,.12); flex-direction: column; align-items: stretch; gap: 0; padding: 4px 20px 12px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--gold); }
}

/* always honor the hidden attribute */
[hidden]{display:none !important}

/* typography review, Oct 2026 */
.nav a { font-size: .9rem; }
.pending { font-size: .8rem; }
.kv span { font-size: .8rem; }
input, select, textarea { font-size: 16px; }
.deliv { margin: .6rem 0 0; color: var(--ink); font-size: 1rem; }
.deliv strong { font-weight: 600; }
.form-privacy { font-size: .9rem; color: var(--muted); line-height: 1.5; margin: .2rem 0 0; }
@media (max-width: 760px) { .nav a[aria-current="page"] { color: #7a5a12; } }
