/* Soulier Group LLC — federal capability statement website
   Document-driven aesthetic. No photos, no animations, typography-only.
   Inspired by federal whitepapers and PWS documents. */

:root {
  --navy: #1a365d;
  --navy-light: #2d5a8e;
  --navy-deep: #0f2440;
  --text: #1a1a1a;
  --text-muted: #555;
  --text-soft: #777;
  --rule: #c0c0c0;
  --rule-light: #e0e0e0;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-banner: #1a365d;
  --bg-mute: #f4f5f7;
  --green: #2d8c3a;
  --amber: #b8860b;
  --red: #b03030;
  --max-width: 920px;
  --max-wide: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Calibri', 'Aptos', 'Segoe UI', Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--navy-light); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Skip link (accessibility) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.5rem 1rem;
  background: var(--navy);
  color: white;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* Federal ID strip — top of every page */
.id-strip {
  background: var(--bg-mute);
  border-bottom: 1px solid var(--rule-light);
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 0.35rem 1rem;
  text-align: center;
  letter-spacing: 0.03em;
  font-family: 'Consolas', 'Menlo', 'SF Mono', monospace;
}

.id-strip strong {
  color: var(--navy);
  font-weight: 600;
}

.id-strip span { margin: 0 0.5rem; }

@media (max-width: 600px) {
  .id-strip { font-size: 0.7rem; padding: 0.3rem 0.5rem; }
  .id-strip span { display: inline-block; }
}

/* Site frame */
.site-header {
  background: var(--bg);
  border-bottom: 3px double var(--navy);
  padding: 1.25rem 1rem 1rem;
  text-align: center;
}

.site-header .brand {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.08em;
  text-decoration: none;
}

.site-header .tagline {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.95rem;
  color: var(--navy-light);
  font-style: italic;
  font-weight: 600;
}

.site-nav {
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

.site-nav a {
  margin: 0 0.5rem;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.15rem;
  transition: border-color 0.15s, color 0.15s;
  white-space: nowrap;
}

.site-nav a:hover, .site-nav a.active {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}

main.wide {
  max-width: var(--max-wide);
}

/* Hero — high-contrast typographic, no photos */
.hero {
  text-align: center;
  padding: 2.5rem 1rem 2rem;
  border-bottom: 1pt solid var(--rule);
  margin-bottom: 2.5rem;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.hero .lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 1.5rem;
  line-height: 1.5;
}

.hero .cta-row { margin-top: 1.5rem; }

@media (max-width: 600px) {
  .hero h1 { font-size: 1.5rem; }
  .hero .lead { font-size: 1rem; }
}

/* Page intro (less prominent than hero) */
.intro {
  text-align: center;
  margin-bottom: 2.5rem;
}

.intro h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.intro .lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-style: italic;
  max-width: 680px;
  margin: 0 auto;
}

/* Section headings */
h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.3rem;
  margin: 2rem 0 0.75rem;
}

h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-light);
  margin: 1.25rem 0 0.4rem;
}

h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
  margin: 1rem 0 0.3rem;
}

p { margin-bottom: 0.75rem; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0.5rem 0 0.75rem 1.5rem; }
li { margin-bottom: 0.3rem; }

strong { font-weight: 700; color: var(--text); }

code, kbd {
  font-family: 'Consolas', 'Menlo', 'SF Mono', monospace;
  font-size: 0.92em;
  background: var(--bg-mute);
  padding: 0.1rem 0.35rem;
  border-radius: 2px;
  color: var(--navy);
}

/* Quick Facts table */
.quick-facts {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0 1.25rem;
  font-size: 0.95rem;
}

.quick-facts td {
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid var(--rule-light);
  vertical-align: top;
}

.quick-facts td:first-child {
  font-weight: 600;
  color: var(--navy);
  width: 38%;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .quick-facts td:first-child { width: 45%; }
  .quick-facts td { padding: 0.4rem 0.4rem; font-size: 0.9rem; }
}

/* Quick Facts as 4-column grid (alternative compact display) */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.25rem 0 2rem;
  border-top: 2px solid var(--navy);
  border-bottom: 1px solid var(--rule);
  padding: 1rem 0;
}

.facts-grid .fact {
  text-align: center;
}

.facts-grid .fact .label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.facts-grid .fact .value {
  font-size: 0.92rem;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.3;
  font-family: 'Consolas', 'Menlo', 'SF Mono', monospace;
  letter-spacing: 0.02em;
}

@media (max-width: 700px) {
  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

/* Certifications callout */
.certs {
  background: var(--bg-soft);
  border-left: 3px solid var(--navy);
  padding: 1rem 1.25rem;
  margin: 1rem 0 1.5rem;
}

.certs h3 {
  margin: 0 0 0.6rem;
  color: var(--navy);
}

.certs ul {
  list-style: none;
  margin: 0;
}

.certs li {
  margin-bottom: 0.4rem;
  padding-left: 0.25rem;
}

.check { color: var(--green); font-weight: 700; margin-right: 0.4rem; }
.pending { color: var(--amber); font-weight: 700; margin-right: 0.4rem; }

/* Capability tile grid */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 1rem 0 2rem;
}

.capability-tile {
  border: 1px solid var(--rule-light);
  border-top: 3px solid var(--navy);
  padding: 1rem 1.1rem;
  background: var(--bg);
}

.capability-tile h3 {
  margin-top: 0;
  font-size: 1rem;
}

.capability-tile p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

@media (max-width: 700px) {
  .capability-grid { grid-template-columns: 1fr; }
}

/* Differentiators — numbered, scannable */
.diff-list {
  counter-reset: diff;
  list-style: none;
  margin: 0;
  padding: 0;
}

.diff-list li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1rem;
  counter-increment: diff;
}

.diff-list li::before {
  content: counter(diff, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: 'Consolas', 'Menlo', 'SF Mono', monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  width: 2.4rem;
  text-align: left;
}

.diff-list li strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

/* CTA buttons */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.5rem 0 2rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--navy);
  background: var(--bg);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.15s, color 0.15s;
}

.btn:hover {
  background: var(--navy);
  color: var(--bg);
  text-decoration: none;
}

.btn.primary {
  background: var(--navy);
  color: var(--bg);
}

.btn.primary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
}

.btn.small {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

/* Tables — federal style */
.fed-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0 1.25rem;
  font-size: 0.95rem;
}

.fed-table th {
  background: var(--navy);
  color: var(--bg);
  text-align: left;
  padding: 0.6rem 0.75rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.fed-table td {
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--rule-light);
  vertical-align: top;
}

.fed-table tr:nth-child(even) td {
  background: #f9fafb;
}

.fed-table .label-col {
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

@media (max-width: 600px) {
  .fed-table { font-size: 0.85rem; }
  .fed-table th, .fed-table td { padding: 0.4rem 0.5rem; }
}

/* Compliance translation table (legacy class kept for compatibility) */
.compliance-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0 1.25rem;
  font-size: 0.95rem;
}

.compliance-table th {
  background: var(--navy);
  color: var(--bg);
  text-align: left;
  padding: 0.55rem 0.7rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.compliance-table td {
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--rule-light);
  vertical-align: top;
}

.compliance-table tr:nth-child(even) td {
  background: #f9fafb;
}

@media (max-width: 600px) {
  .compliance-table { font-size: 0.88rem; }
  .compliance-table th, .compliance-table td { padding: 0.4rem 0.5rem; }
}

/* Project cards (Past Performance) */
.project-card {
  border-left: 3px solid var(--navy);
  background: var(--bg-soft);
  padding: 1rem 1.25rem;
  margin: 1rem 0;
}

.project-card .project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule-light);
}

.project-card .project-meta .meta-item strong {
  color: var(--navy);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 0.1rem;
}

.project-card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.project-card .project-detail {
  margin: 0.5rem 0;
  font-size: 0.95rem;
}

.project-card .project-tech {
  margin-top: 0.6rem;
  font-size: 0.85rem;
}

.project-card .project-tech strong {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
}

.project-card .badge {
  display: inline-block;
  background: var(--bg);
  border: 1px solid var(--rule);
  color: var(--text-muted);
  padding: 0.15rem 0.5rem;
  font-size: 0.78rem;
  border-radius: 2px;
  margin: 0.1rem 0.2rem 0.1rem 0;
  font-family: 'Consolas', 'Menlo', 'SF Mono', monospace;
}

.project-card .status-active {
  display: inline-block;
  background: var(--green);
  color: white;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  font-weight: 700;
}

.project-card .status-pipeline {
  display: inline-block;
  background: var(--amber);
  color: white;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  font-weight: 700;
}

/* Callout boxes */
.callout {
  border-left: 3px solid var(--navy);
  background: var(--bg-soft);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}

.callout.alert {
  border-left-color: var(--amber);
  background: #fdf6e7;
}

.callout.success {
  border-left-color: var(--green);
  background: #eaf6ec;
}

.callout h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.callout p:last-child { margin-bottom: 0; }

/* Procurement info banner — appears in Capabilities + Contact */
.procurement-banner {
  background: var(--bg-banner);
  color: white;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  border-radius: 2px;
}

.procurement-banner h3 {
  margin: 0 0 0.5rem;
  color: white;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
}

.procurement-banner p {
  margin: 0.4rem 0 0;
  font-size: 0.92rem;
  opacity: 0.9;
}

.procurement-banner ul {
  margin: 0.5rem 0 0 1.25rem;
  font-size: 0.92rem;
}

.procurement-banner code {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

.procurement-banner strong {
  color: white;
  font-weight: 700;
}

.procurement-banner a,
.procurement-banner a:visited,
.procurement-banner a:hover,
.procurement-banner a:focus {
  color: white;
  text-decoration: underline;
}

.procurement-banner a:hover {
  text-decoration-thickness: 2px;
}

/* Contact list */
.contact-info {
  list-style: none;
  margin: 1rem 0;
}

.contact-info li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--rule-light);
  font-size: 1.05rem;
}

.contact-info li:last-child { border-bottom: none; }

.contact-info .label {
  display: inline-block;
  font-weight: 600;
  color: var(--navy);
  width: 120px;
}

@media (max-width: 600px) {
  .contact-info .label { display: block; width: auto; margin-bottom: 0.15rem; }
}

/* Methodology / architecture diagram (CSS-based, no images) */
.diagram-flow {
  background: var(--bg-mute);
  border: 1px solid var(--rule-light);
  padding: 1.5rem 1rem;
  margin: 1.25rem 0;
  font-family: 'Consolas', 'Menlo', 'SF Mono', monospace;
  font-size: 0.85rem;
  line-height: 1.7;
  white-space: pre;
  overflow-x: auto;
  color: var(--navy);
}

@media (max-width: 600px) {
  .diagram-flow { font-size: 0.7rem; padding: 1rem 0.5rem; }
}

/* Site footer */
.site-footer {
  border-top: 2px solid var(--navy);
  margin-top: 3rem;
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  background: var(--bg-soft);
}

.site-footer .ids {
  margin-top: 0.4rem;
  font-family: 'Consolas', 'Menlo', 'SF Mono', monospace;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--navy);
}

.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--navy); }

.site-footer .footer-row {
  margin-top: 0.5rem;
  font-size: 0.78rem;
}

.site-footer .footer-row a {
  margin: 0 0.5rem;
}

/* Print adjustments — keep cap statement page printable */
@media print {
  .id-strip, .site-header, .site-nav, .site-footer, .cta-row,
  .procurement-banner, .skip-link { display: none; }
  main { max-width: 100%; padding: 0; }
  body { font-size: 10pt; }
  h1, h2, h3 { color: black; }
  a { color: black; text-decoration: none; }
  .project-card, .callout, .certs { break-inside: avoid; }
  .fed-table, .compliance-table, .quick-facts { break-inside: avoid; }
}
