/* DiSabatino LLC — Federal Capability Site
   Tokens carried over from ops/studio-ops/company/federal/capability-style.css
   so the site and the capability-statement PDF read as one company. */

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/InterVariable.woff2") format("woff2-variations"),
       url("assets/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/InterVariable-Italic.woff2") format("woff2-variations"),
       url("assets/fonts/InterVariable-Italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --navy: #0b2e4f;
  --navy-ink: #082238;
  --ink: #1a1a1a;
  --muted: #555555;
  --border: #cfd8e0;
  --label-bg: #f4f7fa;
  --page-bg: #ffffff;
  --accent-bg: #f4f7fa;
  --focus: #1a63c9;
  --max-width: 7.5in;
  --font-stack: "Calibri", "Inter", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-stack);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--page-bg);
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.75em 1.25em;
  z-index: 1000;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus {
  left: 0.5em;
  top: 0.5em;
  border-radius: 4px;
}

/* ---------- Focus states (WCAG AA) ---------- */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- Links ---------- */
a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  overflow-wrap: anywhere;
  word-break: break-word;
}
a:hover { color: var(--navy-ink); }

/* ---------- Layout shell ---------- */
.wrap {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Top nav ---------- */
.topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(140%) blur(4px);
}
.topnav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  min-width: 0;
}
.topnav .brand {
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  font-size: 1.05rem;
  white-space: nowrap;
}
.topnav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
  min-width: 0;
}
.topnav a:not(.brand) {
  color: var(--ink);
  text-decoration: none;
  padding: 0.25rem 0.1rem;
  border-bottom: 2px solid transparent;
}
.topnav a:not(.brand):hover {
  border-bottom-color: var(--navy);
}

/* ---------- Masthead ---------- */
.masthead {
  padding: 3rem 0 2.25rem;
  border-bottom: 1px solid var(--border);
}
.masthead h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  color: var(--navy);
  margin: 0 0 0.4rem;
  letter-spacing: -0.01em;
}
.tagline {
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--navy);
  font-weight: 600;
  margin: 0 0 1rem;
}
.lead {
  font-size: 1.05rem;
  color: var(--ink);
  max-width: 62ch;
  margin: 0 0 1.5rem;
}
.masthead .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  min-width: 0;
  max-width: 100%;
}

.btn {
  display: inline-block;
  padding: 0.65em 1.25em;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  border: 2px solid var(--navy);
}
.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover { background: var(--navy-ink); border-color: var(--navy-ink); }
.btn-secondary {
  background: transparent;
  color: var(--navy);
}
.btn-secondary:hover { background: var(--accent-bg); }

/* ---------- Section rhythm ---------- */
section {
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--border);
}
section:last-of-type { border-bottom: none; }

h2 {
  font-size: 1.4rem;
  color: var(--navy);
  margin: 0 0 1.1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--navy);
  display: inline-block;
}

strong { color: var(--navy); }

/* ---------- Identifiers table ---------- */
.identifiers table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
  max-width: 100%;
  font-size: 0.95rem;
}
.identifiers td, .identifiers th {
  border: 1px solid var(--border);
  padding: 0.55em 0.8em;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.identifiers td:first-child,
.identifiers th:first-child {
  width: 34%;
  font-weight: 600;
  color: var(--navy);
  background: var(--label-bg);
}
.identifiers code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.95em;
  background: var(--label-bg);
  padding: 0.1em 0.35em;
  border-radius: 3px;
}
.identifiers-note {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 0.75rem;
}

/* ---------- Capability summary ---------- */
.summary blockquote {
  margin: 0;
  padding: 1.1rem 1.35rem;
  background: var(--accent-bg);
  border-left: 4px solid var(--navy);
  font-size: 1.02rem;
  line-height: 1.65;
}

/* ---------- Competency / differentiator lists ---------- */
.card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card-list li {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.1rem 1.25rem;
  background: #fff;
}
.card-list li strong {
  display: block;
  margin-bottom: 0.3rem;
}
.card-list.single-col {
  grid-template-columns: 1fr;
}

/* ---------- Past performance ---------- */
.pp-notice {
  padding: 1rem 1.25rem;
  background: var(--accent-bg);
  border-left: 4px solid var(--navy);
  margin: 0 0 1.25rem;
  font-style: italic;
  color: var(--ink);
}
.pp-notice p { margin: 0; }
ul.proof-points {
  margin: 0;
  padding-left: 1.35rem;
}
ul.proof-points li { margin: 0.5rem 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: 1.5rem 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: start;
}
.contact-block p {
  margin: 0.3rem 0;
}
.contact-block a { font-weight: 600; }
.download-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.4rem;
}

/* ---------- Footer ---------- */
footer.site-footer {
  padding: 1.75rem 0 2.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}
footer.site-footer .wrap {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}
footer.site-footer a { color: var(--muted); }
footer.site-footer a:hover { color: var(--navy); }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .topnav ul { font-size: 0.85rem; gap: 0.2rem 0.75rem; }
  section { padding: 2rem 0; }
  .identifiers td:first-child, .identifiers th:first-child { width: 42%; }
}

/* ---------- Print (aligns with the PDF capability statement) ---------- */
@media print {
  .topnav, .masthead .cta-row, .btn { display: none; }
  section { border-bottom: none; padding: 1rem 0; }
  body { font-size: 11pt; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
