/* OLEN / ARC & ITO — shared stylesheet
   Design tokens, layout primitives, and components for a static
   public-sector / GovCon site. No external fonts, no framework. */

:root {
  --navy-900: #0B2447;
  --navy-700: #19376D;
  --navy-500: #335C95;
  --teal-600: #1B5BA0;
  --teal-500: #2E7AC8;
  --teal-100: #E7F0FA;
  --gray-50:  #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --ink:      #0F172A;
  --white:    #FFFFFF;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.06);

  --container: 1140px;
  --gutter: 24px;
  --section-y: 80px;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (max-width: 720px) {
  :root { --section-y: 56px; --gutter: 20px; }
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--gray-700);
  background: var(--gray-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a {
  color: var(--navy-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--teal-600); }

h1, h2, h3, h4, h5 {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 2vw + 1rem, 2.125rem); }
h3 { font-size: 1.375rem; font-weight: 700; }

/* Reading-measure cap for running prose. WCAG/Baymard sweet spot 50–75 ch. */
.prose, .prose > p, .prose > li { max-width: 68ch; }

/* Sticky-header offset for in-page anchor jumps so the heading clears the header. */
:target,
section[id],
article[id],
[id].case,
[id].module,
[id].page-header { scroll-margin-top: 88px; }
p  { margin: 0 0 1em; }

:focus-visible {
  outline: 3px solid var(--teal-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 12px;
  background: var(--navy-900);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 6px;
  z-index: 100;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section { padding: var(--section-y) 0; }
section.tight { padding: calc(var(--section-y) * 0.6) 0; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal-600);
  margin-bottom: 12px;
}
.lead {
  font-size: 1.125rem;
  color: var(--gray-700);
  max-width: 65ch;
}

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--gray-200);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.brand-mark {
  width: 36px; height: 36px;
  display: inline-block;
  flex: 0 0 auto;
  background: url('/assets/img/logo-mark.svg') center/contain no-repeat;
}
.brand small {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--gray-500);
  text-transform: uppercase;
  margin-top: 2px;
}
.nav { margin-left: auto; }
.nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 22px;
  align-items: center;
}
.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--ink); }
.nav a.is-active {
  color: var(--ink);
  border-bottom-color: var(--teal-600);
}

/* Dropdown sub-menu under "About" */
.nav .has-sub { position: relative; }
.nav .has-sub > a .sub-arrow {
  display: inline-block;
  margin-left: 2px;
  font-size: 0.7em;
  transition: transform 0.15s ease;
}
.nav .has-sub:hover > a .sub-arrow,
.nav .has-sub:focus-within > a .sub-arrow {
  transform: rotate(-180deg);
}
.nav .sub-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(11, 36, 71, 0.10);
  padding: 6px;
  margin: 0;
  list-style: none;
  display: none;
  flex-direction: column;
  gap: 0;
  z-index: 100;
}
.nav .has-sub:hover .sub-menu,
.nav .has-sub:focus-within .sub-menu {
  display: flex;
}
.nav .sub-menu li { width: 100%; }
.nav .sub-menu a {
  display: block;
  padding: 9px 12px;
  font-size: 0.9rem;
  border-radius: 6px;
  border-bottom: 0;
  color: var(--gray-700);
}
.nav .sub-menu a:hover {
  background: var(--gray-50);
  color: var(--teal-600);
}
.sub-menu .nav-sub-divider { height: 0; margin: 6px 8px; padding: 0; border-top: 1px solid var(--gray-200); list-style: none; }

.header-cta { display: flex; gap: 10px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.9rem;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .header-cta .btn-secondary { display: none; }
}
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .nav, .header-cta { display: none; }
  .site-header.is-open .nav,
  .site-header.is-open .header-cta {
    display: flex;
    flex-basis: 100%;
    padding-top: 12px;
    border-top: 1px solid var(--gray-200);
    margin-top: 12px;
  }
  .site-header.is-open .nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
  }
  .site-header.is-open .nav a { padding: 10px 0; width: 100%; }
  .site-header.is-open .header-cta { flex-wrap: wrap; }
  /* Let the open menu drop to its own full-width row instead of being squeezed
     onto the brand row (which clipped the items on the right). */
  .site-header.is-open .container { flex-wrap: wrap; }
  .site-header.is-open .nav { margin-left: 0; max-height: calc(100vh - 72px); overflow-y: auto; }
  .site-header.is-open .nav .sub-menu { min-width: 0; }
  .site-header.is-open .nav .sub-menu a { white-space: normal; }
  /* Mobile: flatten the About sub-menu inline */
  .site-header.is-open .nav .sub-menu {
    display: flex;
    position: static;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0 0 0 16px;
    margin-top: 4px;
  }
  .site-header.is-open .nav .sub-menu a {
    padding: 6px 0;
    font-size: 0.85rem;
    color: var(--gray-500);
  }
  .site-header.is-open .nav .has-sub > a .sub-arrow { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.05s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--teal-600);
  color: var(--white);
}
.btn-primary:hover { background: var(--teal-500); color: var(--white); }
.btn-secondary {
  background: var(--white);
  color: var(--navy-700);
  border-color: var(--gray-300);
}
.btn-secondary:hover { border-color: var(--navy-700); color: var(--navy-900); }
.btn-ghost {
  background: transparent;
  color: var(--gray-500);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 8px 0;
}
.btn-ghost:hover { color: var(--teal-600); }
.btn-on-dark {
  background: var(--white);
  color: var(--navy-900);
}
.btn-on-dark:hover { background: var(--teal-100); color: var(--navy-900); }
.btn-outline-on-dark {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.btn-outline-on-dark:hover {
  border-color: var(--white);
  color: var(--white);
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
  border-bottom: 1px solid var(--gray-200);
  padding: 72px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, var(--gray-200) 1px, transparent 0);
  background-size: 32px 32px;
  opacity: 0.5;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 70%);
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  position: relative;
}
.hero-copy h1 { color: var(--ink); }
.hero-copy .lead { font-size: 1.1875rem; }
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px dashed var(--gray-300);
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  font-size: 0.85rem;
  color: var(--gray-500);
}
.hero-meta strong { color: var(--ink); font-weight: 600; }

@media (max-width: 880px) {
  .hero { padding: 48px 0 56px; }
  .hero .container { grid-template-columns: 1fr; gap: 32px; }
}

/* Hero dashboard mockup (CSS only) */
.dashboard-mock {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 18px;
  position: relative;
}
.dashboard-mock::before {
  content: "";
  position: absolute;
  top: -10px; left: -10px; right: 30%; bottom: 40%;
  border-radius: 14px;
  background: var(--teal-100);
  z-index: -1;
}
.dashboard-mock::after {
  content: "";
  position: absolute;
  bottom: -10px; right: -10px; left: 40%; top: 50%;
  border-radius: 14px;
  background: rgba(11, 36, 71, 0.05);
  z-index: -1;
}
.dashboard-mock .window-dots {
  display: flex; gap: 6px; margin-bottom: 14px;
}
.dashboard-mock-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gray-500);
  background: var(--gray-100);
  padding: 3px 8px;
  border-radius: 4px;
}
.dashboard-mock .window-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gray-200);
}
.dashboard-mock .mock-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 78px 78px 78px;
  gap: 10px;
}
.mock-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 10px;
  font-size: 0.7rem;
  color: var(--gray-500);
  display: flex; flex-direction: column; justify-content: space-between;
}
.mock-card .mock-label {
  font-weight: 600; color: var(--ink); font-size: 0.72rem;
  display: flex; align-items: center; gap: 6px;
}
.mock-card .mock-label::before {
  content: ""; width: 8px; height: 8px; border-radius: 2px;
  background: var(--teal-600);
}
.mock-card .mock-value {
  font-size: 1.25rem; font-weight: 700; color: var(--ink);
}
.mock-card.dash    { grid-column: span 4; grid-row: span 2; }
.mock-card.upload  { grid-column: span 2; grid-row: span 1; }
.mock-card.intake  { grid-column: span 2; grid-row: span 1; }
.mock-card.portal  { grid-column: span 3; grid-row: span 1; }
.mock-card.hub     { grid-column: span 3; grid-row: span 1; }
.mock-bars {
  display: flex; align-items: flex-end; gap: 4px;
  height: 36px; margin-top: 8px;
}
.mock-bars i {
  flex: 1;
  background: linear-gradient(180deg, var(--teal-500), var(--teal-600));
  border-radius: 2px;
  display: block;
}
.mock-bars i:nth-child(1){height:30%}
.mock-bars i:nth-child(2){height:55%}
.mock-bars i:nth-child(3){height:42%}
.mock-bars i:nth-child(4){height:78%}
.mock-bars i:nth-child(5){height:64%}
.mock-bars i:nth-child(6){height:88%}
.mock-bars i:nth-child(7){height:54%}

/* Redesigned hero mock — federal-grant-program impact dashboard */
.dashboard-mock .mock-titlebar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-100);
}
.mock-titlebar-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.mock-titlebar-meta {
  font-size: 0.7rem;
  color: var(--gray-500);
  margin-top: 2px;
}
.mock-titlebar-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-600);
  background: var(--teal-100);
  padding: 3px 8px;
  border-radius: 4px;
}
.dashboard-mock .mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px 0 10px;
}
.mock-stat {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 6px;
  padding: 8px 10px;
}
.mock-stat-label {
  font-size: 0.62rem;
  color: var(--gray-500);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.mock-stat-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}
.dashboard-mock .mock-body {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 10px;
  padding-bottom: 10px;
}
.mock-chart {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 6px;
  padding: 10px;
}
.mock-chart-title {
  font-size: 0.62rem;
  color: var(--gray-500);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.mock-chart-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 32px;
  gap: 6px;
  align-items: center;
  margin-bottom: 5px;
  font-size: 0.66rem;
}
.mock-chart-row:last-child { margin-bottom: 0; }
.mock-chart-label {
  color: var(--gray-700);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-chart-bar {
  background: var(--gray-200);
  border-radius: 3px;
  height: 8px;
  display: block;
  overflow: hidden;
}
.mock-chart-bar i {
  display: block;
  height: 100%;
  border-radius: 3px;
}
.mock-chart-pct {
  text-align: right;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.mock-summary {
  background: var(--teal-100);
  border-left: 3px solid var(--teal-600);
  border-radius: 0 6px 6px 0;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mock-summary-title {
  font-size: 0.62rem;
  color: var(--teal-600);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mock-summary-text {
  font-size: 0.7rem;
  color: var(--ink);
  line-height: 1.4;
}
.mock-summary-meta {
  font-size: 0.6rem;
  color: var(--gray-500);
  margin-top: auto;
  font-style: italic;
}
.dashboard-mock .mock-footer-strip {
  display: flex;
  gap: 14px;
  justify-content: center;
  padding-top: 10px;
  border-top: 1px solid var(--gray-100);
  font-size: 0.62rem;
  color: var(--gray-500);
  letter-spacing: 0.04em;
}
.mock-footer-strip span {
  position: relative;
}
.mock-footer-strip span + span::before {
  content: "·";
  position: absolute;
  left: -10px;
  color: var(--gray-300);
}

/* ─── Diagram library — CSS-only schematic diagrams ───
   Base .diagram wrapper + variants (.diagram-far-split, etc.).
   Future diagrams reuse .diagram, .diagram-frame, .diagram-header,
   .diagram-eyebrow, .diagram-total, .diagram-legend, .diagram-legend-row.
*/
.diagram {
  margin: 22px 0 8px;
}
.diagram-frame {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 20px 22px 22px;
}
.diagram-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.diagram-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gray-500);
}
.diagram-total {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.005em;
}
.diagram > figcaption {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.55;
  font-style: normal;
}
.diagram-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin-top: 14px;
}
.diagram-legend-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  line-height: 1.45;
}
.diagram-legend-row strong {
  display: block;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 1px;
}
.diagram-legend-row span {
  color: var(--gray-600);
}
.diagram-legend-swatch {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  margin-top: 4px;
}
.diagram-legend-row.is-prime .diagram-legend-swatch { background: var(--navy-700); }
.diagram-legend-row.is-sub   .diagram-legend-swatch { background: var(--teal-600); }

/* Variant: diagram-far-split — horizontal stacked bar (e.g. FAR 52.219-14) */
.diagram-bar {
  display: flex;
  width: 100%;
  height: 62px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.04);
}
.diagram-bar-segment {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8px 12px;
  color: var(--white);
  text-align: center;
}
.diagram-bar-segment.is-prime { background: var(--navy-700); }
.diagram-bar-segment.is-sub   { background: var(--teal-600); }
.diagram-bar-amount {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.005em;
}
.diagram-bar-pct {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 2px;
}
@media (max-width: 640px) {
  .diagram-legend { grid-template-columns: 1fr; }
  .diagram-bar { height: 56px; }
  .diagram-bar-amount { font-size: 0.95rem; }
}

/* Variant: diagram-flow-3node — horizontal 3-step flow (e.g. agency → prime → sub) */
.diagram-flow {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
}
.diagram-flow-node {
  flex: 1 1 0;
  min-width: 0;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.diagram-flow-node.is-sub {
  background: var(--teal-100);
  border-color: var(--teal-500);
}
.diagram-flow-role {
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gray-500);
}
.diagram-flow-node.is-sub .diagram-flow-role { color: var(--teal-600); }
.diagram-flow-node strong {
  font-size: 1rem;
  color: var(--ink);
  font-weight: 700;
}
.diagram-flow-meta {
  font-size: 0.78rem;
  color: var(--gray-600);
  line-height: 1.45;
  margin-top: 2px;
}
.diagram-flow-arrow {
  flex: 0 0 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  gap: 6px;
}
.diagram-flow-arrow::before {
  content: "\2192";
  font-size: 1.5rem;
  color: var(--gray-300);
  line-height: 1;
}
.diagram-flow-arrow-label {
  font-size: 0.66rem;
  color: var(--gray-500);
  text-align: center;
  line-height: 1.3;
  letter-spacing: 0.02em;
}
@media (max-width: 720px) {
  .diagram-flow { flex-direction: column; }
  .diagram-flow-arrow {
    flex: 0 0 auto;
    flex-direction: row;
    padding: 6px 0;
    gap: 10px;
  }
  .diagram-flow-arrow::before { content: "\2193"; }
  .diagram-flow-arrow-label { text-align: left; }
}

/* Variant: diagram-naics-coverage — module x NAICS chip matrix */
.diagram-naics-grid {
  display: grid;
  gap: 8px;
}
.diagram-naics-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.5fr);
  gap: 16px;
  align-items: center;
  padding: 11px 14px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
}
.diagram-naics-module {
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 600;
}
.diagram-naics-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.diagram-naics-chip {
  font-size: 0.72rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--teal-100);
  border: 1px solid var(--teal-500);
  color: var(--teal-600);
  padding: 4px 9px;
  border-radius: 4px;
  letter-spacing: 0.02em;
  font-weight: 600;
}
.diagram-naics-footer {
  margin-top: 10px;
  padding: 11px 14px;
  border: 1px dashed var(--gray-300);
  border-radius: 8px;
  font-size: 0.82rem;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  .diagram-naics-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .diagram-naics-chips { justify-content: flex-start; }
}

/* Variant: diagram-deployment — pinned-location grid (e.g. 8 villages) */
.diagram-deployment {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.diagram-deployment-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px 8px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  text-align: center;
}
.diagram-deployment-pin {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal-600);
  box-shadow: 0 0 0 4px var(--teal-100);
  flex: 0 0 12px;
}
.diagram-deployment-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
@media (max-width: 720px) {
  .diagram-deployment { grid-template-columns: repeat(2, 1fr); }
}

/* Page header (for non-home pages) */
.page-header {
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
  border-bottom: 1px solid var(--gray-200);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 64px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='56' viewBox='0 0 160 56' fill='none'><path d='M0,56 Q80,-10 160,56' stroke='%230B2447' stroke-width='1' opacity='0.14'/><path d='M0,56 Q80,8 160,56' stroke='%230B2447' stroke-width='1' opacity='0.09'/><path d='M0,56 Q80,28 160,56' stroke='%230B2447' stroke-width='1' opacity='0.06'/></svg>");
  background-repeat: repeat-x;
  background-position: bottom center;
  background-size: 160px 56px;
  pointer-events: none;
}
.page-header .container { position: relative; z-index: 1; }

/* ─── Section background rhythm ───
   Modifier classes for major <section> backgrounds. Default is body
   gray-50; these create the navy / wash / light rotation that breaks
   text-heavy pages into scannable chapters (Nava-style poster sections).
*/
.section-light {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.section-wash {
  background: var(--teal-100);
}
.section-navy {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  overflow: hidden;
}
.section-navy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(27, 91, 160, 0.18), transparent 55%),
    radial-gradient(circle at 85% 80%, rgba(25, 55, 109, 0.38), transparent 55%);
  pointer-events: none;
}
.section-navy .container { position: relative; }
.section-navy h2,
.section-navy h3 { color: var(--white); }
.section-navy p,
.section-navy .lead { color: rgba(255, 255, 255, 0.82); }
.section-navy .eyebrow { color: var(--teal-100); }
.section-navy a:not(.btn) { color: var(--teal-100); }
.section-navy a:not(.btn):hover { color: var(--white); }
.section-navy strong { color: var(--white); }
.section-navy .feature-list li { color: rgba(255, 255, 255, 0.85); }
.section-navy .feature-list li strong { color: var(--white); }
.section-navy .btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}
.section-navy .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

/* Card grid */
.grid {
  display: grid;
  gap: 20px;
}
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) {
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card h3 { margin: 4px 0 4px; font-size: 1.0625rem; }
.card p { margin: 0 0 6px; color: var(--gray-700); font-size: 0.95rem; }
.card p:last-child { margin-bottom: 0; }
.card-meta {
  font-size: 0.78rem;
  color: var(--gray-500);
  letter-spacing: 0.01em;
  padding-top: 8px;
  border-top: 1px solid var(--gray-100);
  margin-top: 10px;
}
.card-meta strong { color: var(--ink); font-weight: 600; }

/* ─── Card icon block — Pattern 4 image-top variant ───
   Tinted top panel on cards (Nava case-card pattern adapted). Pure CSS
   data-URL SVG glyphs — no external assets, no HTTP requests. Each
   variant gets a stroke-only icon centered on a teal-100 wash, used to
   give Solution Module cards distinct visual identity.
*/
.card-icon-block {
  height: 96px;
  background-color: var(--teal-100);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 48px 48px;
  border-radius: 11px 11px 0 0;
  margin: -24px -24px 0;
  border-bottom: 1px solid var(--teal-500);
}
.card-icon-block.is-dashboard {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48' fill='none' stroke='%2314746F' stroke-width='2.5' stroke-linecap='round'><line x1='10' y1='40' x2='10' y2='28'/><line x1='20' y1='40' x2='20' y2='18'/><line x1='30' y1='40' x2='30' y2='24'/><line x1='40' y1='40' x2='40' y2='12'/></svg>");
}
.card-icon-block.is-aidoc {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48' fill='none' stroke='%2314746F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M14 8h14l6 6v24a2 2 0 0 1-2 2H14a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2z'/><path d='M28 8v6h6'/><circle cx='23' cy='26' r='4'/><line x1='26' y1='29' x2='30' y2='33'/></svg>");
}
.card-icon-block.is-calendar {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48' fill='none' stroke='%2314746F' stroke-width='2.5' stroke-linecap='round'><rect x='8' y='12' width='32' height='28' rx='2'/><line x1='8' y1='20' x2='40' y2='20'/><line x1='16' y1='8' x2='16' y2='14'/><line x1='32' y1='8' x2='32' y2='14'/><circle cx='17' cy='28' r='1.5' fill='%2314746F' stroke='none'/><circle cx='24' cy='28' r='1.5' fill='%2314746F' stroke='none'/><circle cx='32' cy='34' r='1.5' fill='%2314746F' stroke='none'/></svg>");
}
.card-icon-block.is-hub {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48' fill='none' stroke='%2314746F' stroke-width='2.5' stroke-linecap='round'><circle cx='24' cy='24' r='5'/><circle cx='10' cy='10' r='3.5'/><circle cx='38' cy='10' r='3.5'/><circle cx='10' cy='38' r='3.5'/><circle cx='38' cy='38' r='3.5'/><line x1='13' y1='13' x2='21' y2='21'/><line x1='35' y1='13' x2='27' y2='21'/><line x1='13' y1='35' x2='21' y2='27'/><line x1='35' y1='35' x2='27' y2='27'/></svg>");
}
.card-icon-block.is-intake {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48' fill='none' stroke='%2314746F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><rect x='10' y='10' width='28' height='32' rx='2'/><rect x='18' y='6' width='12' height='6' rx='1.5' fill='%2314746F' stroke='none'/><line x1='17' y1='22' x2='31' y2='22'/><line x1='17' y1='30' x2='31' y2='30'/><polyline points='16,37 19,40 25,34'/></svg>");
}
.card-icon-block.is-integration {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48' fill='none' stroke='%2314746F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><rect x='5' y='14' width='14' height='20' rx='2'/><rect x='29' y='14' width='14' height='20' rx='2'/><polyline points='22,20 27,20 25,17'/><polyline points='27,20 25,23'/><polyline points='26,28 21,28 23,31'/><polyline points='21,28 23,25'/></svg>");
}
.card-icon-block.is-capture {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48' fill='none' stroke='%2314746F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M24 8a10 10 0 0 0-6 18c1.6 1.1 2 2.2 2 3.8V32h8v-2.2c0-1.6.4-2.7 2-3.8a10 10 0 0 0-6-18z'/><line x1='20' y1='36' x2='28' y2='36'/><line x1='21' y1='40' x2='27' y2='40'/><line x1='24' y1='4' x2='24' y2='6'/><line x1='12' y1='18' x2='14' y2='18'/><line x1='34' y1='18' x2='36' y2='18'/></svg>");
}
.module-sow {
  font-size: 0.85rem;
  color: var(--gray-600);
  background: var(--gray-50);
  border-left: 3px solid var(--teal-600);
  padding: 10px 12px;
  margin-top: 10px !important;
  margin-bottom: 0 !important;
  border-radius: 0 6px 6px 0;
  line-height: 1.45;
}
.module-sow em { color: var(--teal-600); font-style: normal; font-weight: 600; }

/* Founder note — editorial prose block for /about */
.founder-note {
  max-width: 760px;
  margin: 0 auto 12px;
  padding: 32px 36px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--teal-600);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.founder-note h2 { margin: 4px 0 6px; line-height: 1.25; }
.founder-note h3 { margin: 22px 0 8px; font-size: 1.05rem; color: var(--navy-900); }
.founder-note p { line-height: 1.65; margin: 0 0 12px; color: var(--ink); }
.founder-note ul.feature-list { margin: 6px 0 12px; }
.founder-byline {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-600);
  font-weight: 600;
  margin: 0 0 18px !important;
}
.founder-signature {
  margin-top: 22px !important;
  padding-top: 14px;
  border-top: 1px dashed var(--gray-300);
  font-style: italic;
  color: var(--gray-700);
  font-size: 0.92rem;
}

/* Per-module artifact accordions — capabilities.html */
.module-artifact {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.module-artifact > summary {
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
  font-size: 0.98rem;
  color: var(--navy-900);
  border-radius: var(--radius-sm);
  position: relative;
}
.module-artifact > summary::-webkit-details-marker { display: none; }
.module-artifact > summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 12px;
  font-size: 1.4rem;
  color: var(--teal-600);
  font-weight: 400;
  line-height: 1;
}
.module-artifact[open] > summary::after { content: "−"; }
.module-artifact[open] > summary {
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-50);
}
.module-artifact-body {
  padding: 18px 22px 20px;
}
.module-artifact-body h4 {
  margin: 14px 0 8px;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-600);
}
.module-artifact-body h4:first-child { margin-top: 0; }
.module-artifact-body p { line-height: 1.6; margin: 0 0 10px; }

/* ─── /about visual rhythm fixes — 2026-05-16 ─── */

/* Pull-quote inside founder note */
.founder-note .pull-quote {
  margin: 18px -8px;
  padding: 14px 22px;
  background: var(--gray-50);
  border-left: 4px solid var(--teal-600);
  border-radius: 0 8px 8px 0;
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--navy-900);
  font-weight: 600;
  font-style: normal;
}

/* Our Story mini-timeline */
.story-timeline {
  margin: 18px 0 0;
  padding: 0;
}
.story-timeline > div {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--gray-200);
}
.story-timeline > div:last-child { border-bottom: 1px solid var(--gray-200); }
.story-timeline dt {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal-600);
  line-height: 1;
  letter-spacing: -0.01em;
}
.story-timeline dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.5;
}

/* "How we staff" 3-cell stat grid */
.staff-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.staff-stat {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--teal-600);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.staff-stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal-600);
  line-height: 1;
}
.staff-stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--navy-900);
  margin-top: 4px;
}
.staff-stat-note {
  font-size: 0.85rem;
  color: var(--gray-700);
  line-height: 1.45;
  margin-top: 4px;
}
@media (max-width: 720px) {
  .staff-stats { grid-template-columns: 1fr; }
}

/* Team card avatar disc + chips */
.team-card .avatar-disc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.team-card ul.team-chips {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.team-card ul.team-chips li {
  font-size: 0.78rem;
  padding: 4px 10px;
  background: var(--teal-100);
  color: var(--teal-600);
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Sub-Ready Sprint Frame — horizontal step strip with collapsible detail */
.sprint-frame {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.sprint-step {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--gray-200);
}
.sprint-step:last-child { border-bottom: 1px solid var(--gray-200); }
.sprint-num {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--teal-600);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.sprint-step > details > summary {
  list-style: none;
  cursor: pointer;
  font-size: 1.02rem;
  color: var(--navy-900);
  padding-right: 28px;
  position: relative;
  line-height: 1.45;
}
.sprint-step > details > summary::-webkit-details-marker { display: none; }
.sprint-step > details > summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 1.4rem;
  color: var(--teal-600);
  font-weight: 400;
  line-height: 1;
}
.sprint-step > details[open] > summary::after { content: "−"; }
.sprint-step > details > p {
  margin: 10px 0 0;
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.6;
}

/* FAQ page items */
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--teal-600);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 88px;
}
.faq-item:nth-of-type(even) { background: var(--gray-50); }
.faq-item h3 {
  font-size: 1.125rem;
  margin: 0 0 10px;
  color: var(--navy-900);
  line-height: 1.35;
}
.faq-item p { color: var(--gray-700); line-height: 1.6; margin: 0 0 10px; }
.faq-item p:last-child { margin-bottom: 0; }
.faq-item .faq-answer {
  font-size: 1.02rem;
  color: var(--ink);
  border-left: 3px solid var(--teal-600);
  padding-left: 14px;
  background: var(--gray-50);
  padding: 12px 14px;
  border-radius: 0 6px 6px 0;
}
.faq-item .faq-source {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--gray-200);
}
.faq-item .faq-source em { color: var(--gray-500); font-style: italic; }
.faq-item ul.feature-list { margin: 8px 0; }

/* Pending-client-approval testimonial blockquote */
.quote-pending {
  margin: 18px 0 0;
  padding: 14px 16px 12px;
  background: var(--gray-50);
  border-left: 3px solid var(--gray-300);
  border-radius: 0 6px 6px 0;
}
.quote-pending .quote-pending-lines {
  display: block;
  margin-bottom: 10px;
}
.quote-pending .quote-line {
  display: block;
  height: 1px;
  background: var(--gray-300);
  margin-bottom: 8px;
}
.quote-pending .quote-line:nth-child(1) { width: 92%; }
.quote-pending .quote-line:nth-child(2) { width: 100%; }
.quote-pending .quote-line:nth-child(3) { width: 68%; }
.quote-pending footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  font-size: 0.82rem;
  color: var(--gray-700);
}
.quote-pending cite {
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
}
.quote-pending .quote-pending-note {
  font-size: 0.7rem;
  color: var(--gray-500);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-style: italic;
}

.prime-bd-callout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}
.prime-bd-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (max-width: 880px) {
  .prime-bd-callout { grid-template-columns: 1fr; gap: 18px; }
  .prime-bd-actions { flex-direction: row; flex-wrap: wrap; }
}
.card.is-link {
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.1s, box-shadow 0.15s;
}
.card.is-link:hover {
  border-color: var(--navy-700);
  box-shadow: var(--shadow-md);
}
.card .icon {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--teal-100);
  color: var(--teal-600);
  border-radius: 8px;
  margin-bottom: 8px;
}
.card .icon svg { width: 22px; height: 22px; }
.tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: auto;
  padding-top: 12px;
}
.tag {
  font-size: 0.72rem;
  background: var(--gray-100);
  color: var(--gray-700);
  padding: 4px 8px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

/* Capability / feature item */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  list-style: none;
  padding: 0; margin: 0;
}
.feature-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.95rem;
  color: var(--gray-700);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 16px; height: 16px;
  background: var(--teal-100);
  border-radius: 4px;
}
.feature-list li::after {
  content: "";
  position: absolute;
  left: 4px; top: 10px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--teal-600);
  border-bottom: 2px solid var(--teal-600);
  transform: rotate(-45deg);
}
@media (max-width: 640px) {
  .feature-list { grid-template-columns: 1fr; }
}

/* Tile (smaller, for technical areas) */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 960px) { .tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tile {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 14px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
}
.workflow-tile {
  display: flex;
  align-items: center;
  gap: 10px;
}
.workflow-tile svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--teal-600);
}

/* Process timeline */
.process {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}
.process .step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--teal-600);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
}
.process .step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--teal-600);
  margin-bottom: 6px;
}
.process .step h3 {
  font-size: 0.95rem;
  margin: 0 0 4px;
}
.process .step p { font-size: 0.85rem; margin: 0; color: var(--gray-500); }
@media (max-width: 960px) {
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .process { grid-template-columns: 1fr; }
}

/* Tables */
.table-wrap {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow-x: auto;
  background: var(--white);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
th, td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--gray-200);
}
th {
  background: var(--gray-50);
  font-weight: 600;
  color: var(--ink);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
tr:last-child td { border-bottom: 0; }
.badge {
  display: inline-block;
  font-size: 0.75rem;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--gray-100);
  color: var(--gray-700);
  font-weight: 500;
}
.badge.is-progress { background: #FEF3C7; color: #92400E; }
.badge.is-available { background: var(--teal-100); color: var(--teal-600); }
.badge-meta {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-left: 6px;
  letter-spacing: 0.02em;
}

/* CTA band */
.cta-band {
  background: var(--navy-900);
  color: var(--white);
  text-align: center;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(27,91,160,0.25), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(25,55,109,0.6), transparent 50%);
  pointer-events: none;
}
.cta-band::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 72px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='56' viewBox='0 0 160 56' fill='none'><path d='M0,56 Q80,-10 160,56' stroke='%23E6F2F1' stroke-width='1' opacity='0.22'/><path d='M0,56 Q80,8 160,56' stroke='%23E6F2F1' stroke-width='1' opacity='0.14'/><path d='M0,56 Q80,28 160,56' stroke='%23E6F2F1' stroke-width='1' opacity='0.09'/></svg>");
  background-repeat: repeat-x;
  background-position: bottom center;
  background-size: 160px 56px;
  pointer-events: none;
}
.cta-band .container { position: relative; }
.cta-band h2 { color: var(--white); max-width: 720px; margin: 0 auto 24px; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto 28px; }
.cta-band .hero-actions { justify-content: center; margin-top: 0; }

/* Case study (Work page) */
.case {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 880px) {
  .case { grid-template-columns: 1fr; padding: 22px; }
}
.case h2 { font-size: 1.375rem; margin-bottom: 4px; line-height: 1.25; }
.case .case-sector {
  font-size: 0.85rem;
  color: var(--teal-600);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.case dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.case dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.case dd {
  margin: 4px 0 0;
  font-size: 0.95rem;
  color: var(--gray-700);
}
.case-art {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 16px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.case-art .mini-bar {
  height: 8px;
  background: var(--gray-200);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.case-art .mini-bar i {
  position: absolute; top: 0; left: 0; bottom: 0;
  background: var(--teal-600);
}
.case-art .mini-row {
  display: flex; gap: 8px; align-items: center;
  font-size: 0.75rem; color: var(--gray-500);
}
.case-art .mini-row span:first-child { flex: 1; }

/* Work page: case with a full-width row below the two-column row (e.g. wide dashboard) */
.case.case-has-fullbleed {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
}
.case.case-has-fullbleed > .case-body {
  grid-column: 1;
  grid-row: 1;
}
.case.case-has-fullbleed > .case-art.is-screenshot {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
}
.case.case-has-fullbleed > .case-fullbleed {
  grid-column: 1 / -1;
  grid-row: 2;
}
.case-fullbleed {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 22px 18px;
  margin-top: 4px;
}
.case-fullbleed.is-screenshot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.screenshot-figure-wide {
  max-width: 960px;
  width: 100%;
}
.case-fullbleed .screenshot.screenshot-wide {
  max-height: none;
  max-width: 100%;
  width: 100%;
  height: auto;
}

/* Progressive disclosure for case studies on work.html — summary always visible, full content inside a native <details> */
.case-progressive {
  display: block;
  grid-template-columns: none;
}
.case-progressive .case-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
@media (max-width: 880px) {
  .case-progressive .case-summary { grid-template-columns: 1fr; }
}
.case-progressive .case-summary-body { min-width: 0; }
.case-progressive .case-summary-line {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.55;
  margin: 8px 0 14px;
}
.case-progressive .case-summary-art {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.case-progressive .case-summary-art img,
.case-progressive .case-summary-art .case-hero-mock {
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 4px 14px rgba(11, 36, 71, 0.08);
}
.case-progressive .case-summary-art img {
  object-fit: cover;
  display: block;
}
.case-progressive .case-summary .tags { margin-top: 6px; }

details.case-full {
  margin-top: 18px;
  border-top: 1px solid var(--gray-100);
  padding-top: 16px;
}
details.case-full > summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal-600);
  padding: 8px 14px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  user-select: none;
  transition: background 0.15s, border-color 0.15s;
}
details.case-full > summary:hover {
  background: var(--teal-100);
  border-color: var(--teal-600);
}
details.case-full > summary:focus-visible {
  outline: 2px solid var(--teal-600);
  outline-offset: 2px;
}
details.case-full > summary::-webkit-details-marker { display: none; }
details.case-full > summary::marker { content: ""; }
details.case-full > summary .case-toggle-icon {
  display: inline-block;
  transition: transform 0.18s;
  font-size: 0.7em;
}
details.case-full[open] > summary .case-toggle-icon { transform: rotate(90deg); }
details.case-full[open] > summary .case-toggle-label::before { content: "Hide"; }
details.case-full > summary .case-toggle-label::before { content: "View"; }
details.case-full[open] {
  margin-top: 18px;
}
.case-full-content { margin-top: 20px; }
.case-full-content dl { margin-top: 0; }
.case-full-content .case-fullbleed { margin-top: 22px; }
@media (max-width: 880px) {
  .case.case-has-fullbleed > .case-body,
  .case.case-has-fullbleed > .case-art.is-screenshot,
  .case.case-has-fullbleed > .case-fullbleed {
    grid-column: 1;
    grid-row: auto;
  }
}

/* Solutions (large modules) */
.module {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 880px) {
  .module { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
}
.module h2 { font-size: 1.625rem; margin-bottom: 4px; }
.module .module-sub {
  font-size: 1rem;
  color: var(--teal-600);
  font-weight: 500;
  margin-bottom: 18px;
}
.module-art {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 22px;
  min-height: 240px;
}
.module-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 14px;
}

/* Diagram (Where We Fit) */
.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.flow .node {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 22px 18px;
  box-shadow: var(--shadow-sm);
}
.flow .node.is-center {
  border-color: var(--teal-600);
  border-width: 2px;
  background: var(--teal-100);
}
.flow .node h4 {
  font-size: 0.95rem;
  margin: 0 0 4px;
  color: var(--ink);
}
.flow .node p { font-size: 0.8rem; margin: 0; color: var(--gray-500); }
.flow .arrow {
  color: var(--gray-300);
  font-size: 1.5rem;
  user-select: none;
}
@media (max-width: 880px) {
  .flow {
    grid-template-columns: 1fr;
  }
  .flow .arrow { transform: rotate(90deg); }
}

/* Forms */
.form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .form { padding: 22px; }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.field .hint {
  font-size: 0.78rem;
  color: var(--gray-500);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 11px 12px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal-600);
  outline: 2px solid var(--teal-100);
  outline-offset: 0;
}
.honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form-actions {
  display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px;
}
.form-status {
  font-size: 0.9rem;
  padding: 12px 14px;
  border-radius: 8px;
  display: none;
}
.form-status.is-ok    { display: block; background: var(--teal-100); color: var(--teal-600); }
.form-status.is-error { display: block; background: #FEE2E2; color: #991B1B; }

/* Contact aside */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-aside {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px;
}
.contact-aside h3 { color: var(--white); margin-top: 0; }
.contact-aside p, .contact-aside li { color: rgba(255,255,255,0.85); }
.contact-aside ul { list-style: none; padding: 0; margin: 0 0 18px; }
.contact-aside li { padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.contact-aside li:last-child { border-bottom: 0; }
.contact-aside a:not(.btn) { color: var(--white); }

/* Footer */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 28px;
  margin-top: 40px;
}
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--teal-100); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.site-footer h4 {
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.site-footer ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 8px;
}
.footer-brand .brand { color: var(--white); }
.footer-brand .brand small { color: rgba(255,255,255,0.6); }
.footer-brand .brand-mark {
  /* White chip so the TRUE black-stroke mark (same as the header) shows on the
     navy footer — instead of the off-vibe white-stroke recolor. */
  background: #ffffff url('/assets/img/logo-mark.svg') center / 70% no-repeat;
  border-radius: 8px;
}
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.7); margin-top: 14px; max-width: 32ch; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}

/* Two-column "Why work with us" */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 24px; }
}

/* Project / module screenshots */
.case-art.is-screenshot,
.module-art.is-screenshot {
  padding: 18px;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  gap: 20px;
  display: flex;
}
.screenshot {
  display: block;
  max-width: 100%;
  max-height: 520px;
  height: auto;
  width: auto;
  margin: 0 auto;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 6px 18px rgba(11, 36, 71, 0.10);
}
.screenshot.is-phone {
  max-height: 440px;
}
@media (max-width: 880px) {
  .screenshot { max-height: 460px; }
}
.screenshot-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.screenshot-caption {
  font-size: 0.78rem;
  color: var(--gray-500);
  letter-spacing: 0.04em;
  font-style: italic;
  text-align: center;
  max-width: 28ch;
}
.screenshot-disclaimer {
  margin: 8px 0 0;
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--gray-600);
  font-style: normal;
  text-align: center;
  max-width: 36rem;
}

/* Credibility strip */
.credibility-strip {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 22px 0;
}
.cred-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: center;
  font-size: 0.92rem;
  color: var(--gray-700);
  letter-spacing: 0.02em;
}
.cred-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cred-list li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-600);
  flex: 0 0 auto;
}
.cred-list a { color: inherit; text-decoration: underline; }
.cred-source {
  font-size: 0.9rem;
  color: var(--gray-600);
  text-align: center;
  margin: 4px 0 0;
}
.cred-source a { color: var(--navy-700); }

/* Footer locale note */
.footer-locale {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-top: 8px;
  font-style: italic;
  max-width: 32ch;
}
.footer-address {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  margin-top: 10px;
  font-style: normal;
  line-height: 1.5;
}

/* Recognition / origin callout */
.recognition {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.recognition h2 { margin-top: 0; }
.recognition .recognition-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.recognition-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}
.recognition-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--gray-700);
}
.recognition-facts .fact-tag {
  display: inline-block;
  background: var(--teal-600);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 3px 8px;
  border-radius: 4px;
  min-width: 36px;
  text-align: center;
}

.recognition-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.recognition-more-head {
  margin-top: 32px;
  margin-bottom: 12px;
  font-size: 0.78rem;
  color: var(--gray-500);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 600;
}
.recognition-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 880px) {
  .recognition-featured { grid-template-columns: 1fr; }
  .recognition-grid { grid-template-columns: 1fr; }
}

.media-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
a.media-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(11, 36, 71, 0.10);
  border-color: var(--gray-300);
}
.media-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.media-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-card-thumb-article {
  background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-900) 100%);
}
.media-card-thumb-placeholder {
  background:
    repeating-linear-gradient(45deg, var(--gray-100), var(--gray-100) 10px, var(--gray-200) 10px, var(--gray-200) 20px);
}
.media-card-pub {
  color: rgba(255,255,255,0.95);
  font-size: 1.35rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.01em;
  text-align: center;
  padding: 0 12px;
}
.media-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(11,36,71,0.85);
  color: var(--white);
  padding: 4px 8px;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  font-weight: 700;
}
.media-card-badge-yt { background: #c4302b; }
.media-card-badge-tba { background: var(--gray-500); }
.media-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(196, 48, 43, 0.92);
  color: var(--white);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  padding-left: 4px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.media-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.media-card-kicker {
  font-size: 0.7rem;
  color: var(--teal-600);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}
.media-card h3,
.media-card h4 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--ink);
}
.media-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.45;
}
.media-card-cta {
  margin-top: auto;
  padding-top: 10px;
  font-size: 0.88rem;
  color: var(--teal-600);
  font-weight: 600;
}
.media-card-placeholder {
  background: var(--gray-50);
  border-style: dashed;
}
.media-card-placeholder h4 { color: var(--gray-500); }

/* Soul of the Name two-column */
.soul-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 880px) { .soul-grid { grid-template-columns: 1fr; } }
.soul-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 26px;
}
.soul-card h3 { margin-top: 0; }
.soul-card .soul-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 8px;
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 960px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 20px;
}
.team-card h3 { margin: 0 0 4px; font-size: 1.0625rem; }
.team-card .role {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 8px;
}
.team-card p { margin: 0; color: var(--gray-700); font-size: 0.92rem; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ─── Hero media (photo/video band sitting above .page-header on select pages) ─── */
.hero-media {
  position: relative;
  width: 100%;
  height: clamp(260px, 38vw, 480px);
  overflow: hidden;
  background-color: var(--navy-900);
  background-size: cover;
  background-position: center;
}
.hero-media > img,
.hero-media > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 36, 71, 0) 65%, rgba(11, 36, 71, 0.18) 100%);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero-media > video { display: none; }
}
@media print {
  .hero-media { display: none; }
}

/* ─── Audit placeholders ─────────────────────────────────────────────
   Used during the 2026-05-16 content audit to mark spots where we
   plan to add new content. Visible in the dev browser, hidden in
   print so binder copies look clean. Remove the block (or the class)
   when the placeholder ships as real content. */
.placeholder-block {
  position: relative;
  border: 2px dashed #C99A2E;
  background: #FFF8E6;
  border-radius: var(--radius);
  padding: 22px 20px 18px;
  margin: 16px 0;
  color: #5B4310;
  font-size: 0.95rem;
  line-height: 1.55;
}
.placeholder-block::before {
  content: "PLACEHOLDER";
  position: absolute;
  top: -10px;
  left: 16px;
  background: #C99A2E;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
}
.placeholder-block .ph-title {
  display: block;
  font-weight: 700;
  color: #3F2E08;
  margin-bottom: 6px;
  font-size: 1rem;
}
.placeholder-block .ph-why {
  display: block;
  margin-top: 8px;
  font-style: italic;
  color: #6B5113;
  font-size: 0.88rem;
}
.placeholder-block .ph-effort {
  display: inline-block;
  margin-top: 8px;
  margin-right: 8px;
  padding: 2px 8px;
  background: rgba(201, 154, 46, 0.18);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6B5113;
}
@media print { .placeholder-block { display: none !important; } }

/* ============================================================
   Visual-rhythm components added 2026-05-17 (text-wall reduction
   pass for 40–60 yo decision-makers). Cited research: NN/G F-pattern,
   Frontiers 2022 older-reader, Section 508, Baymard.
   ============================================================ */

/* Large 3-cell stat strip — replaces credibility text-lists.
   Pattern lifted from Nava PBC, Ad Hoc, GovCIO homepages. */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin: 28px 0;
  background: var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}
.stat-strip > div {
  background: var(--white);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-strip-num {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--teal-600);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-strip-label {
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--gray-700);
  font-weight: 500;
}
.stat-strip.on-dark { background: rgba(255,255,255,0.12); border-color: transparent; }
.stat-strip.on-dark > div { background: var(--navy-700); }
.stat-strip.on-dark .stat-strip-num { color: var(--white); }
.stat-strip.on-dark .stat-strip-label { color: rgba(255,255,255,0.85); }
@media (max-width: 720px) {
  .stat-strip { grid-template-columns: 1fr; }
}

/* Compact 3-stat deploy strip — sits inline above a deployment-fact
   paragraph. Smaller than .stat-strip; used inside case-study cards. */
.deploy-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 4px 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal-600);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.deploy-stats > span {
  padding: 4px 14px 4px 0;
  position: relative;
}
.deploy-stats > span + span {
  padding-left: 14px;
  border-left: 1px solid var(--gray-300);
}

/* Posture badge row — horizontal chip strip for compliance/posture facts.
   Replaces 5–7 bullet compliance lists. */
.posture-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 22px;
}
.posture-badges .badge,
.posture-badges > span {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--teal-100);
  color: var(--teal-600);
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.posture-badges > span.is-outline {
  background: transparent;
  border: 1px solid var(--gray-300);
  color: var(--gray-700);
}
.posture-badges > span.is-proof {
  background: var(--navy-700);
  color: var(--white);
}

/* Boundary table — Yes/No 2-column grid that replaces dense
   "what we do / don't do" lists. */
.boundary-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin: 18px 0 24px;
  background: var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}
.boundary-table h3 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 10px;
}
.boundary-table .yes,
.boundary-table .no {
  padding: 18px 20px;
}
.boundary-table .yes {
  background: var(--teal-100);
}
.boundary-table .yes h3 { color: var(--teal-600); }
.boundary-table .no {
  background: var(--white);
}
.boundary-table .no h3 { color: var(--navy-900); }
.boundary-table ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.boundary-table li {
  font-size: 0.92rem;
  line-height: 1.45;
  padding: 6px 0 6px 22px;
  position: relative;
  color: var(--gray-700);
}
.boundary-table .yes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal-600);
  font-weight: 700;
}
.boundary-table .no li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gray-500);
  font-weight: 700;
}
@media (max-width: 720px) {
  .boundary-table { grid-template-columns: 1fr; }
}

/* Pull-quote callout — single large number/phrase used mid-page to
   anchor a Z-scan path. NN/G "pop" guidance. */
.pullquote {
  font-size: 1.375rem;
  line-height: 1.45;
  color: var(--ink);
  border-left: 4px solid var(--teal-600);
  padding: 12px 0 12px 22px;
  margin: 28px 0;
  max-width: 56ch;
  font-weight: 500;
}
.pullquote-num {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--teal-600);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

/* At-a-glance / executive summary box — top-of-page summary block.
   Federal procurement readers Z-scan in ~6 seconds; this gives them
   the answer before the body. Print-friendly. */
.exec-summary-box {
  border: 2px solid var(--teal-600);
  background: var(--teal-100);
  border-radius: var(--radius);
  padding: 18px 22px 16px;
  margin: 24px 0 32px;
  break-inside: avoid;
}
.exec-summary-box .exec-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 10px;
}
.exec-summary-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
.exec-summary-box li {
  font-size: 0.96rem;
  line-height: 1.45;
  color: var(--ink);
  padding-left: 16px;
  position: relative;
}
.exec-summary-box li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal-600);
  font-weight: 700;
}
@media print {
  .exec-summary-box { background: var(--white); border-color: #000; }
}

/* Quick-answer card grid — 2x2 for FAQ "if you only have 30 seconds"
   block, replaces dense bullet/heading prose. */
.quick-answer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0 32px;
}
.quick-answer-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--teal-600);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}
a.quick-answer-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-500);
  color: inherit;
}
.quick-answer-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--navy-900);
}
.quick-answer-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--gray-700);
}
@media (max-width: 720px) {
  .quick-answer-grid { grid-template-columns: 1fr; }
}

/* Yes/No comparison helper inside FAQ body for short answers. */
.faq-quickbar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--teal-100);
  color: var(--teal-600);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.faq-quickbar.is-no { background: var(--gray-100); color: var(--gray-700); }

/* ─── Prototype mockup cards — CSS-only schematic product previews ─── */
.mockup-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.mockup-chrome {
  display: flex;
  gap: 6px;
  padding: 9px 12px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.mockup-chrome i { width: 9px; height: 9px; border-radius: 50%; background: var(--gray-300); display: block; }
.mockup-body {
  padding: 18px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--white);
}
.mockup-caption {
  padding: 10px 14px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  font-size: 0.78rem;
  color: var(--gray-700);
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.02em;
}
.mockup-caption strong { color: var(--ink); }
/* Portal variant */
.mockup-portal-brand {
  display: flex; align-items: center; gap: 8px; margin-bottom: 6px;
}
.mockup-portal-brand b {
  width: 24px; height: 24px; border-radius: 6px;
  background: linear-gradient(135deg, var(--teal-600), var(--navy-700));
  display: block;
}
.mockup-portal-brand i {
  height: 10px; width: 80px; background: var(--gray-300); border-radius: 3px; display: block;
}
.mockup-portal-h {
  font-size: 1rem; font-weight: 700; color: var(--ink); margin: 14px 0 4px;
}
.mockup-portal-sub { font-size: 0.78rem; color: var(--gray-500); margin-bottom: 12px; }
.mockup-portal-cta {
  display: inline-block; padding: 7px 16px;
  background: var(--teal-600); color: var(--white);
  border-radius: 6px; font-size: 0.78rem; font-weight: 600;
  align-self: flex-start;
}
.mockup-portal-faq {
  margin-top: 14px; display: flex; flex-direction: column; gap: 6px;
}
.mockup-portal-faq span {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 10px; background: var(--gray-50); border-radius: 5px;
  font-size: 0.72rem; color: var(--gray-700);
}
.mockup-portal-faq span::after {
  content: "+"; color: var(--gray-400); font-weight: 700;
}
/* Dashboard variant */
.mockup-dash-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 6px;
}
.mockup-dash-stat {
  background: var(--gray-50); border: 1px solid var(--gray-100);
  border-radius: 5px; padding: 8px 9px;
}
.mockup-dash-stat span {
  display: block; font-size: 0.6rem; color: var(--gray-500);
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 2px;
}
.mockup-dash-stat b {
  display: block; font-size: 0.98rem; font-weight: 700; color: var(--ink);
}
.mockup-dash-chart-title {
  font-size: 0.68rem; color: var(--gray-500); text-transform: uppercase;
  letter-spacing: 0.05em; margin: 8px 0 4px;
}
.mockup-dash-bars {
  display: flex; align-items: flex-end; gap: 5px; height: 64px;
  padding: 6px 4px 0; border-bottom: 1px solid var(--gray-200);
}
.mockup-dash-bars b {
  flex: 1; border-radius: 3px 3px 0 0; display: block;
  background: var(--teal-600);
}
.mockup-dash-bars b:nth-child(1) { height: 72%; background: var(--navy-700); }
.mockup-dash-bars b:nth-child(2) { height: 22%; background: var(--teal-600); }
.mockup-dash-bars b:nth-child(3) { height: 8%; background: #C4A02F; }
.mockup-dash-bars b:nth-child(4) { height: 14%; background: var(--gray-400); }
.mockup-dash-labels {
  display: flex; gap: 5px; font-size: 0.62rem; color: var(--gray-500);
}
.mockup-dash-labels span { flex: 1; text-align: center; }
/* AI report variant */
.mockup-report-h {
  font-size: 0.92rem; font-weight: 700; color: var(--ink); margin-bottom: 8px;
}
.mockup-report-line {
  height: 7px; background: var(--gray-200); border-radius: 2px;
}
.mockup-report-line.l2 { width: 96%; }
.mockup-report-line.l3 { width: 88%; }
.mockup-report-line.l4 { width: 70%; }
.mockup-report-row {
  display: flex; gap: 14px; align-items: center; margin-top: 10px;
}
.mockup-report-pie {
  flex: 0 0 80px; width: 80px; height: 80px; border-radius: 50%;
  background: conic-gradient(var(--navy-700) 0% 45%, var(--teal-600) 45% 75%, #C4A02F 75% 90%, var(--gray-300) 90% 100%);
}
.mockup-report-legend {
  flex: 1; display: flex; flex-direction: column; gap: 4px;
  font-size: 0.7rem; color: var(--gray-700);
}
.mockup-report-legend span { display: flex; align-items: center; gap: 6px; }
.mockup-report-legend span i {
  width: 9px; height: 9px; border-radius: 2px; display: inline-block;
}
.mockup-report-tag {
  display: inline-block; padding: 3px 8px;
  background: var(--teal-100); color: var(--teal-600);
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; border-radius: 4px; margin-bottom: 4px;
  align-self: flex-start;
}

/* ─── Agile process flow — linear pre/post with a visible build loop ─── */
.agile-flow {
  display: grid;
  grid-template-columns: 1fr 20px 1fr 20px minmax(0, 2.4fr) 20px 1fr;
  gap: 6px;
  align-items: stretch;
  margin: 32px 0 8px;
}
.agile-step {
  text-align: center;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.agile-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-700);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 10px;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--teal-500);
}
.agile-step-num.is-loop {
  background: var(--teal-600);
  box-shadow: 0 0 0 1px var(--teal-600);
}
.agile-step-title {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.3;
  margin-bottom: 4px;
}
.agile-step-meta {
  font-size: 0.78rem;
  color: var(--gray-700);
  line-height: 1.45;
}
.agile-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-500);
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 300;
  padding-top: 18px;
}
.agile-loop {
  position: relative;
  border: 2px dashed var(--teal-500);
  border-radius: 10px;
  background: var(--teal-100);
  padding: 22px 14px 14px;
}
.agile-loop-label {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  padding: 2px 12px;
  border-radius: 4px;
  color: var(--teal-600);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid var(--teal-500);
}
.agile-loop-grid {
  display: grid;
  grid-template-columns: 1fr 20px 1fr 20px 1fr;
  align-items: center;
  gap: 4px;
}
.agile-loop-back {
  margin-top: 10px;
  text-align: center;
  font-size: 0.74rem;
  color: var(--teal-600);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.agile-loop-back::before {
  content: "↺ ";
  display: inline-block;
  margin-right: 4px;
  font-size: 1.1rem;
  vertical-align: -2px;
}
@media (max-width: 880px) {
  .agile-flow {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .agile-flow > .agile-arrow {
    height: 20px;
    padding: 0;
    transform: rotate(90deg);
  }
  .agile-loop-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .agile-loop-grid > .agile-arrow {
    height: 16px;
    padding: 0;
    transform: rotate(90deg);
  }
  .agile-step {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 12px;
    text-align: left;
    align-items: center;
    padding: 8px 6px;
  }
  .agile-step-num { margin-bottom: 0; }
  .agile-step-title { margin-bottom: 2px; }
}

/* ─── 4–12 week sprint timeline (Gantt-like bar) ─── */
.timeline-bar { margin: 28px 0 12px; }
.timeline-weeks {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2px;
  font-size: 0.66rem;
  color: var(--gray-500);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  text-align: center;
}
.timeline-weeks span::before { content: "w"; opacity: 0.6; }
.timeline-phases {
  display: grid;
  grid-template-columns: 2fr 2fr 5fr 1fr 2fr;
  gap: 3px;
  height: 42px;
  border-radius: 7px;
  overflow: hidden;
}
.timeline-phase {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.timeline-phase.discovery { background: var(--teal-600); }
.timeline-phase.design { background: var(--teal-500); }
.timeline-phase.build { background: var(--navy-700); }
.timeline-phase.ship { background: #C4A02F; color: var(--navy-900); }
.timeline-phase.iterate { background: var(--gray-400); }
.timeline-legend {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--gray-700);
  text-align: center;
  line-height: 1.55;
}

/* ─── Us vs typical comparison grid ─── */
.compare-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 0;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 8px;
  font-size: 0.88rem;
}
.compare-grid > div {
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-100);
  border-right: 1px solid var(--gray-100);
  color: var(--gray-700);
  line-height: 1.5;
}
.compare-grid > div:nth-child(4n+4) { border-right: 0; }
.compare-grid > div:nth-last-child(-n+4) { border-bottom: 0; }
.compare-grid > .compare-h {
  background: var(--gray-50);
  font-weight: 700;
  color: var(--ink);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.compare-grid > .compare-us {
  background: var(--teal-100);
  font-weight: 600;
  color: var(--navy-900);
}
.compare-grid > .compare-col-h.compare-us {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
@media (max-width: 760px) {
  .compare-grid { grid-template-columns: 1fr 1fr; }
  .compare-grid > div:nth-child(4n+4) { border-right: 1px solid var(--gray-100); }
  .compare-grid > div:nth-child(2n) { border-right: 0; }
  .compare-grid > div:nth-last-child(-n+4) { border-bottom: 1px solid var(--gray-100); }
  .compare-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
}

/* ─── RFP-shape cards — map RFP language → what we ship → reference ─── */
.rfp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 4px;
}
.rfp-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 20px 22px 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rfp-band {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--teal-100);
  color: var(--teal-600);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.rfp-card h3 {
  margin: 0 90px 8px 0;
  font-size: 1.02rem;
  color: var(--ink);
}
.rfp-card p {
  font-size: 0.88rem;
  color: var(--gray-700);
  margin: 0;
  line-height: 1.5;
}
.rfp-card p em {
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.7rem;
  text-transform: uppercase;
  display: inline-block;
  margin-right: 4px;
  color: var(--gray-500);
}
.rfp-card .rfp-rfp em { color: var(--navy-700); }
.rfp-card .rfp-ship em { color: var(--teal-600); }
.rfp-card .rfp-proof {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--gray-100);
  font-size: 0.82rem;
}
@media (max-width: 760px) {
  .rfp-grid { grid-template-columns: 1fr; }
  .rfp-band { position: static; display: inline-block; margin-bottom: 4px; }
  .rfp-card h3 { margin-right: 0; }
}

/* ─── Native Public Systems — service-specific mockup variants ─── */
/* All three share the .nps-mock shell (browser-card chrome + caption) */
.nps-mock {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.nps-mock-caption {
  padding: 10px 14px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  font-size: 0.78rem;
  color: var(--gray-700);
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.02em;
}
.nps-mock-caption strong { color: var(--ink); }

/* ▸ Variant 1 — Services finder · two-pane village + services */
.nps-finder-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.68rem;
}
.nps-finder-tab {
  color: var(--gray-500);
  padding-bottom: 2px;
}
.nps-finder-tab.is-active {
  color: var(--navy-700);
  font-weight: 700;
  border-bottom: 2px solid var(--teal-600);
}
.nps-finder-search {
  margin-left: auto;
  flex: 0 0 70px;
  height: 18px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 3px;
}
.nps-finder-body {
  display: grid;
  grid-template-columns: 100px 1fr;
  min-height: 218px;
}
.nps-finder-villages {
  background: var(--gray-50);
  border-right: 1px solid var(--gray-200);
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nps-finder-village {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 6px;
  font-size: 0.68rem;
  color: var(--gray-700);
  border-radius: 3px;
}
.nps-finder-village::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-500);
  flex: 0 0 6px;
}
.nps-finder-village.is-active {
  background: var(--white);
  color: var(--navy-700);
  font-weight: 700;
}
.nps-finder-village.is-active::before { background: var(--teal-600); box-shadow: 0 0 0 2px rgba(27, 91, 160, 0.2); }
.nps-finder-services {
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  align-content: start;
}
.nps-finder-service {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 5px;
  padding: 7px 8px;
}
.nps-finder-service b {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}
.nps-finder-service span {
  display: block;
  font-size: 0.62rem;
  color: var(--gray-500);
}

/* ▸ Variant 2 — Case management · data table with status chips */
.nps-cases-chips {
  display: flex;
  gap: 5px;
  padding: 10px 12px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.64rem;
  align-items: center;
}
.nps-cases-chips i {
  color: var(--gray-500);
  font-style: normal;
  margin-right: 2px;
}
.nps-cases-chip {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 2px 8px;
  color: var(--gray-700);
}
.nps-cases-chip.is-active {
  background: var(--teal-100);
  color: var(--teal-600);
  border-color: var(--teal-500);
  font-weight: 700;
}
.nps-cases-table {
  display: flex;
  flex-direction: column;
}
.nps-cases-row {
  display: grid;
  grid-template-columns: 50px 1fr 76px;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.7rem;
}
.nps-cases-row.is-h {
  background: var(--gray-50);
  font-size: 0.6rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}
.nps-cases-row .case-num {
  color: var(--gray-500);
  font-variant-numeric: tabular-nums;
  font-size: 0.68rem;
}
.nps-cases-row .case-name {
  color: var(--ink);
  font-weight: 600;
}
.nps-cases-row .case-sub {
  font-size: 0.62rem;
  color: var(--gray-500);
  margin-top: 1px;
}
.nps-cases-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
}
.nps-cases-badge.is-open { background: rgba(27, 91, 160, 0.15); color: var(--teal-600); }
.nps-cases-badge.is-court { background: rgba(196, 160, 47, 0.22); color: #8a6f15; }
.nps-cases-badge.is-closed { background: var(--gray-100); color: var(--gray-700); }
.nps-cases-footer {
  padding: 10px 12px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.66rem;
}
.nps-cases-footer span { color: var(--gray-500); }
.nps-cases-cta {
  background: var(--navy-700);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.66rem;
}

/* ▸ Variant 3 — GPRA / 638 metric entry · rows with progress bars + AI panel */
.nps-metrics-header {
  padding: 10px 12px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nps-metrics-period {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ink);
}
.nps-metrics-status {
  background: rgba(196, 160, 47, 0.22);
  color: #8a6f15;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nps-metrics-body {
  display: flex;
  flex-direction: column;
}
.nps-metric-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 36px 36px 60px;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.7rem;
}
.nps-metric-row.is-h {
  background: var(--gray-50);
  font-size: 0.56rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  padding: 6px 12px;
}
.nps-metric-name {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.72rem;
}
.nps-metric-target,
.nps-metric-actual {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--gray-700);
  font-size: 0.68rem;
}
.nps-metric-bar {
  position: relative;
  height: 7px;
  background: var(--gray-100);
  border-radius: 4px;
  overflow: hidden;
}
.nps-metric-bar > i {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  background: var(--teal-600);
  border-radius: 4px;
}
.nps-metric-bar.is-under > i { background: #C4A02F; }
.nps-metrics-ai {
  margin: 8px 10px 12px;
  padding: 9px 11px;
  background: var(--teal-100);
  border-left: 3px solid var(--teal-600);
  border-radius: 0 6px 6px 0;
}
.nps-metrics-ai b {
  display: block;
  color: var(--teal-600);
  font-size: 0.56rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  font-weight: 700;
}
.nps-metrics-ai p {
  color: var(--gray-700);
  margin: 0;
  line-height: 1.4;
  font-size: 0.7rem;
}

/* ─── Document-to-Dashboard — service-specific mockup variants ─── */
.d2d-mock {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.d2d-mock-caption {
  padding: 10px 14px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  font-size: 0.78rem;
  color: var(--gray-700);
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.02em;
}
.d2d-mock-caption strong { color: var(--ink); }

/* ▸ Variant 1 — Processing queue: drop zone + job list with status */
.d2d-queue-drop {
  margin: 12px;
  padding: 18px 12px;
  border: 2px dashed var(--teal-500);
  border-radius: 7px;
  background: rgba(27, 91, 160, 0.04);
  text-align: center;
  font-size: 0.72rem;
  color: var(--gray-700);
}
.d2d-queue-drop b {
  display: block;
  color: var(--navy-700);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 3px;
}
.d2d-queue-drop b::before {
  content: "↑ ";
  display: inline-block;
  margin-right: 4px;
  font-size: 0.9rem;
  color: var(--teal-600);
}
.d2d-queue-chips {
  display: flex;
  gap: 6px;
  padding: 0 12px 8px;
  font-size: 0.62rem;
}
.d2d-queue-chip {
  padding: 3px 9px;
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.d2d-queue-chip.is-processing {
  background: rgba(27, 91, 160, 0.18);
  color: var(--teal-600);
}
.d2d-queue-chip.is-processing::before {
  content: "● ";
  animation: d2d-pulse 1.4s ease-in-out infinite;
}
@keyframes d2d-pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
.d2d-queue-chip.is-review {
  background: rgba(196, 160, 47, 0.22);
  color: #8a6f15;
}
.d2d-queue-chip.is-approved {
  background: var(--gray-100);
  color: var(--gray-700);
}
.d2d-queue-list {
  border-top: 1px solid var(--gray-100);
}
.d2d-queue-item {
  display: grid;
  grid-template-columns: 18px 1fr 70px;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.7rem;
}
.d2d-queue-item:last-child { border-bottom: 0; }
.d2d-queue-icon {
  width: 14px;
  height: 16px;
  background: var(--gray-200);
  border-radius: 1px;
  position: relative;
  display: block;
}
.d2d-queue-icon::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 5px; height: 5px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-300);
  border-left: 1px solid var(--gray-300);
}
.d2d-queue-name {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.72rem;
}
.d2d-queue-sub {
  display: block;
  color: var(--gray-500);
  font-size: 0.6rem;
  margin-top: 1px;
}
.d2d-queue-badge {
  font-size: 0.58rem;
  font-weight: 700;
  text-align: center;
  padding: 3px 7px;
  border-radius: 10px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.d2d-queue-badge.is-processing {
  background: rgba(27, 91, 160, 0.18);
  color: var(--teal-600);
}
.d2d-queue-badge.is-review {
  background: rgba(196, 160, 47, 0.22);
  color: #8a6f15;
}
.d2d-queue-badge.is-approved {
  background: var(--gray-100);
  color: var(--gray-700);
}

/* ▸ Variant 2 — Side-by-side extraction review */
.d2d-extract-toolbar {
  padding: 9px 12px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.66rem;
}
.d2d-extract-toolbar b {
  color: var(--ink);
  font-weight: 700;
  font-size: 0.72rem;
}
.d2d-extract-toolbar span {
  color: var(--gray-500);
}
.d2d-extract-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 180px;
}
.d2d-extract-doc {
  padding: 10px;
  background: var(--gray-50);
  border-right: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.d2d-extract-doc-h {
  height: 8px;
  width: 60%;
  background: var(--ink);
  border-radius: 2px;
  margin-bottom: 6px;
}
.d2d-extract-doc-line {
  height: 5px;
  background: var(--gray-300);
  border-radius: 1px;
}
.d2d-extract-doc-line.s { width: 70%; }
.d2d-extract-doc-line.m { width: 88%; }
.d2d-extract-doc-line.l { width: 95%; }
.d2d-extract-doc-line.hl {
  background: rgba(27, 91, 160, 0.35);
  height: 6px;
}
.d2d-extract-fields {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.d2d-extract-field {
  display: grid;
  grid-template-columns: 60px 1fr 34px;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: var(--gray-50);
  border-radius: 5px;
  border-left: 2px solid var(--teal-600);
  font-size: 0.66rem;
}
.d2d-extract-field.is-low { border-left-color: #C4A02F; }
.d2d-extract-field-label {
  color: var(--gray-500);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}
.d2d-extract-field-value {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.68rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.d2d-extract-field-conf {
  font-size: 0.58rem;
  font-weight: 700;
  text-align: right;
  color: var(--teal-600);
}
.d2d-extract-field.is-low .d2d-extract-field-conf { color: #8a6f15; }
.d2d-extract-footer {
  padding: 9px 12px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.66rem;
}
.d2d-extract-footer span { color: var(--gray-500); }
.d2d-extract-cta {
  background: var(--teal-600);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.64rem;
}

/* ▸ Variant 3 — AI-drafted narrative with citation panel */
.d2d-narrative-header {
  padding: 9px 12px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.d2d-narrative-title {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ink);
}
.d2d-narrative-status {
  background: rgba(196, 160, 47, 0.22);
  color: #8a6f15;
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 4px;
}
.d2d-narrative-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.d2d-narrative-line {
  height: 6px;
  background: var(--gray-200);
  border-radius: 2px;
  position: relative;
}
.d2d-narrative-line.l1 { width: 96%; }
.d2d-narrative-line.l2 { width: 88%; }
.d2d-narrative-line.l3 { width: 92%; }
.d2d-narrative-line.l4 { width: 70%; }
.d2d-narrative-cite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  width: 13px; height: 13px;
  margin-left: 4px;
  font-size: 0.52rem;
  font-weight: 700;
  background: var(--teal-100);
  color: var(--teal-600);
  border-radius: 50%;
  position: absolute;
  right: -16px;
  top: -3px;
}
.d2d-narrative-sources {
  margin: 4px 12px 12px;
  border-top: 1px solid var(--gray-100);
  padding-top: 10px;
}
.d2d-narrative-sources-h {
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  margin-bottom: 6px;
}
.d2d-narrative-source {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 8px;
  align-items: center;
  margin-bottom: 4px;
  font-size: 0.66rem;
}
.d2d-narrative-source-num {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-600);
  font-size: 0.62rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.d2d-narrative-source-name {
  color: var(--gray-700);
  font-size: 0.66rem;
}
.d2d-narrative-source-name b {
  color: var(--ink);
  font-weight: 600;
  margin-right: 4px;
}
.d2d-narrative-footer {
  padding: 9px 12px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.66rem;
}
.d2d-narrative-footer span { color: var(--gray-500); }
.d2d-narrative-cta {
  background: var(--navy-700);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.64rem;
}

/* ─── State HHS Program Software — service-specific mockup variants ─── */
.shhs-mock {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.shhs-mock-caption {
  padding: 10px 14px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  font-size: 0.78rem;
  color: var(--gray-700);
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.02em;
}
.shhs-mock-caption strong { color: var(--ink); }

/* ▸ Variant 1 — Eligibility & Enrollment wizard */
.shhs-wiz-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 12px 14px 10px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  position: relative;
}
.shhs-wiz-steps::before {
  content: "";
  position: absolute;
  left: 24px; right: 24px;
  top: 21px;
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
}
.shhs-wiz-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.shhs-wiz-num {
  display: inline-block;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--white);
  color: var(--gray-500);
  font-size: 0.6rem;
  line-height: 20px;
  font-weight: 700;
  margin-bottom: 4px;
  border: 1px solid var(--gray-200);
}
.shhs-wiz-step.is-done .shhs-wiz-num {
  background: var(--teal-600);
  color: var(--white);
  border-color: var(--teal-600);
}
.shhs-wiz-step.is-done .shhs-wiz-num::before { content: "✓"; }
.shhs-wiz-step.is-done .shhs-wiz-num span { display: none; }
.shhs-wiz-step.is-active .shhs-wiz-num {
  background: var(--navy-700);
  color: var(--white);
  border-color: var(--teal-500);
  box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--teal-500);
}
.shhs-wiz-step b {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--gray-500);
}
.shhs-wiz-step.is-active b {
  color: var(--ink);
  font-weight: 700;
}
.shhs-wiz-body {
  padding: 14px;
}
.shhs-wiz-field {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 8px;
  align-items: center;
  padding: 5px 0;
  font-size: 0.7rem;
  border-bottom: 1px solid var(--gray-100);
}
.shhs-wiz-field:last-of-type { border-bottom: 0; }
.shhs-wiz-field-label {
  color: var(--gray-500);
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.shhs-wiz-field-value {
  color: var(--ink);
  font-weight: 600;
  padding: 5px 8px;
  background: var(--gray-50);
  border-radius: 3px;
  font-size: 0.68rem;
}
.shhs-wiz-ai {
  margin: 10px 14px 0;
  padding: 9px 11px;
  background: var(--teal-100);
  border-left: 3px solid var(--teal-600);
  border-radius: 0 6px 6px 0;
}
.shhs-wiz-ai b {
  display: block;
  color: var(--teal-600);
  font-size: 0.56rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  font-weight: 700;
}
.shhs-wiz-ai p {
  margin: 0;
  font-size: 0.68rem;
  color: var(--gray-700);
  line-height: 1.45;
}
.shhs-wiz-ai p i {
  font-style: normal;
  background: var(--white);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--teal-600);
  margin-right: 4px;
}
.shhs-wiz-footer {
  padding: 9px 12px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.66rem;
  margin-top: 10px;
}
.shhs-wiz-footer > span { color: var(--gray-500); }
.shhs-wiz-cta {
  background: var(--teal-600);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.64rem;
}

/* ▸ Variant 2 — Prior Authorization decision card */
.shhs-pa-summary {
  padding: 10px 12px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.shhs-pa-summary > b {
  display: block;
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 700;
  margin-bottom: 5px;
}
.shhs-pa-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.62rem;
}
.shhs-pa-meta span {
  color: var(--gray-500);
}
.shhs-pa-meta span b {
  color: var(--gray-700);
  font-weight: 700;
  margin-right: 3px;
}
.shhs-pa-section-h {
  padding: 8px 12px 4px;
  font-size: 0.58rem;
  color: var(--gray-500);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.shhs-pa-criteria {
  padding: 0 12px 4px;
}
.shhs-pa-criterion {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: start;
  padding: 5px 0;
  font-size: 0.66rem;
  color: var(--gray-700);
  line-height: 1.4;
  border-bottom: 1px solid var(--gray-100);
}
.shhs-pa-criterion:last-child { border-bottom: 0; }
.shhs-pa-mark {
  width: 16px; height: 16px;
  border-radius: 50%;
  text-align: center;
  line-height: 16px;
  font-size: 0.56rem;
  font-weight: 700;
  flex: 0 0 16px;
  margin-top: 1px;
}
.shhs-pa-criterion.is-met .shhs-pa-mark {
  background: rgba(27, 91, 160, 0.18);
  color: var(--teal-600);
}
.shhs-pa-criterion.is-miss .shhs-pa-mark {
  background: rgba(196, 160, 47, 0.22);
  color: #8a6f15;
}
.shhs-pa-ai {
  margin: 6px 12px 10px;
  padding: 9px 11px;
  background: var(--teal-100);
  border-left: 3px solid var(--teal-600);
  border-radius: 0 6px 6px 0;
}
.shhs-pa-ai b {
  display: block;
  color: var(--teal-600);
  font-size: 0.56rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  font-weight: 700;
}
.shhs-pa-ai p {
  margin: 0;
  font-size: 0.68rem;
  color: var(--gray-700);
  line-height: 1.45;
}
.shhs-pa-actions {
  padding: 9px 12px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 5px;
}
.shhs-pa-action {
  text-align: center;
  padding: 5px 0;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
}
.shhs-pa-action.is-approve {
  background: var(--teal-600);
  color: var(--white);
}
.shhs-pa-action.is-pend {
  background: rgba(196, 160, 47, 0.22);
  color: #8a6f15;
}
.shhs-pa-action.is-deny {
  background: var(--white);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
}

/* ▸ Variant 3 — CCWIS case timeline */
.shhs-tl-header {
  padding: 10px 12px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.shhs-tl-case {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ink);
}
.shhs-tl-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6rem;
  color: var(--gray-500);
  margin-top: 4px;
}
.shhs-tl-sub i {
  display: inline-block;
  padding: 1px 6px;
  background: rgba(196, 160, 47, 0.22);
  color: #8a6f15;
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-style: normal;
  border-radius: 3px;
}
.shhs-tl-body {
  padding: 12px 12px 8px 20px;
  position: relative;
}
.shhs-tl-body::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: var(--gray-200);
}
.shhs-tl-event {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 8px;
  padding-left: 3px;
}
.shhs-tl-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--teal-600);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1px var(--teal-500);
  margin-top: 4px;
  position: relative;
  z-index: 1;
}
.shhs-tl-event.is-court .shhs-tl-dot {
  background: #C4A02F;
  box-shadow: 0 0 0 1px #C4A02F;
}
.shhs-tl-event.is-icwa .shhs-tl-dot {
  background: var(--navy-700);
  box-shadow: 0 0 0 1px var(--navy-700);
}
.shhs-tl-event.is-next .shhs-tl-dot {
  background: var(--white);
  border: 2px dashed var(--navy-700);
  box-shadow: none;
}
.shhs-tl-date {
  display: block;
  font-size: 0.56rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}
.shhs-tl-title {
  color: var(--ink);
  font-weight: 600;
  margin-top: 2px;
  font-size: 0.7rem;
}
.shhs-tl-meta {
  display: block;
  color: var(--gray-500);
  font-size: 0.62rem;
  margin-top: 2px;
}
.shhs-tl-footer {
  padding: 9px 12px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  font-size: 0.66rem;
  color: var(--gray-700);
  text-align: center;
}
.shhs-tl-footer b {
  color: var(--ink);
  font-weight: 700;
}

/* ─── Federal Subcontracting — trust builders (no product mockups) ─── */

/* ▸ Block A — "Compared to your other options" 4-col compare */
.fs-compare {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 12px 0 8px;
}
.fs-compare-col {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 18px 18px;
  display: flex;
  flex-direction: column;
}
.fs-compare-col.is-us {
  background: linear-gradient(180deg, var(--teal-100) 0%, var(--white) 80%);
  border-color: var(--teal-500);
  box-shadow: 0 6px 16px rgba(27, 91, 160, 0.12);
  position: relative;
}
.fs-compare-col.is-us::after {
  content: "Us";
  position: absolute;
  top: -10px;
  right: 12px;
  background: var(--teal-600);
  color: var(--white);
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.fs-compare-eyebrow {
  font-size: 0.62rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 4px;
}
.fs-compare-col.is-us .fs-compare-eyebrow { color: var(--teal-600); }
.fs-compare-name {
  font-size: 1rem;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}
.fs-compare-tag {
  display: inline-block;
  padding: 2px 8px;
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  margin-bottom: 14px;
  align-self: flex-start;
}
.fs-compare-col.is-us .fs-compare-tag {
  background: var(--teal-600);
  color: var(--white);
}
.fs-compare-attr {
  font-size: 0.8rem;
  color: var(--gray-700);
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-100);
  line-height: 1.45;
}
.fs-compare-attr:last-child { border-bottom: 0; }
.fs-compare-attr::before {
  content: "—";
  color: var(--gray-400);
  font-weight: 700;
  margin-right: 6px;
}
.fs-compare-col.is-us .fs-compare-attr::before {
  content: "✓";
  color: var(--teal-600);
  font-weight: 800;
}
@media (max-width: 1024px) { .fs-compare { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .fs-compare { grid-template-columns: 1fr; } }

/* ▸ Block B — Q&A trust cards */
.fs-qa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}
.fs-qa {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 18px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fs-qa-q {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 11px;
  align-items: start;
}
.fs-qa-q::before {
  content: "?";
  width: 24px; height: 24px;
  background: var(--navy-700);
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.84rem;
  margin-top: 1px;
}
.fs-qa-q span {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.4;
}
.fs-qa-a {
  font-size: 0.88rem;
  color: var(--gray-700);
  line-height: 1.55;
  padding-left: 37px;
  margin: 0;
}
.fs-qa-a strong { color: var(--ink); font-weight: 700; }
.fs-qa-a em {
  background: var(--teal-100);
  color: var(--teal-600);
  font-style: normal;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-right: 4px;
}
@media (max-width: 720px) {
  .fs-qa-grid { grid-template-columns: 1fr; }
}

/* ▸ Block C — first-engagement de-risking journey */
.fs-journey {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 16px 0 8px;
  position: relative;
}
.fs-journey-step {
  text-align: left;
  position: relative;
  padding: 16px 16px 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
}
.fs-journey-step.is-last {
  background: linear-gradient(180deg, var(--teal-100) 0%, var(--white) 90%);
  border-color: var(--teal-500);
}
.fs-journey-step:not(.is-last)::after {
  content: "→";
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--teal-500);
  font-weight: 300;
  z-index: 2;
  width: 16px;
  text-align: center;
}
.fs-journey-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--navy-700);
  color: var(--white);
  font-weight: 700;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.fs-journey-step.is-last .fs-journey-num {
  background: var(--teal-600);
}
.fs-journey-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.3;
}
.fs-journey-meta {
  font-size: 0.72rem;
  color: var(--gray-500);
  margin-bottom: 10px;
  line-height: 1.4;
}
.fs-journey-artifact {
  display: inline-block;
  padding: 3px 8px;
  background: var(--gray-50);
  border: 1px dashed var(--gray-300);
  border-radius: 4px;
  font-size: 0.66rem;
  color: var(--gray-700);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.fs-journey-step.is-last .fs-journey-artifact {
  background: var(--white);
  border-color: var(--teal-500);
  color: var(--teal-600);
}
@media (max-width: 1024px) {
  .fs-journey { grid-template-columns: 1fr 1fr; }
  .fs-journey-step:not(.is-last)::after { display: none; }
}
@media (max-width: 540px) {
  .fs-journey { grid-template-columns: 1fr; }
}

/* ─── Showcase rows — mockup paired with outcome copy, alternating L/R ─── */
.showcase-grid {
  display: flex;
  flex-direction: column;
  gap: 64px;
  margin-top: 8px;
}
.showcase-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.showcase-row.is-flip {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}
.showcase-row.is-flip .showcase-media { order: 2; }
.showcase-row.is-flip .showcase-text { order: 1; }
.showcase-media { min-width: 0; }
.showcase-text { min-width: 0; }
.showcase-eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--teal-600);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.showcase-text h3 {
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 14px;
  font-weight: 700;
}
.showcase-text > p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-700);
  margin: 0 0 18px;
}
.showcase-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}
.showcase-benefits li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 0.94rem;
  color: var(--gray-700);
  line-height: 1.5;
}
.showcase-benefits li:last-child { margin-bottom: 0; }
.showcase-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  background: var(--teal-100);
  color: var(--teal-600);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
}
.showcase-benefits li strong { color: var(--ink); font-weight: 700; }
@media (max-width: 880px) {
  .showcase-row,
  .showcase-row.is-flip {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .showcase-row.is-flip .showcase-media { order: unset; }
  .showcase-row.is-flip .showcase-text { order: unset; }
  .showcase-text h3 { font-size: 1.25rem; }
  .showcase-grid { gap: 48px; }
}

/* ─── RHTP page — visual components ─── */

/* Stat trio band */
.stat-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
}
.stat-trio-item {
  border-right: 1px solid var(--gray-200);
  padding: 4px 20px;
}
.stat-trio-item:last-child { border-right: 0; }
.stat-trio-num {
  display: block;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--navy-700);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-trio-label {
  display: block;
  font-size: 0.86rem;
  color: var(--gray-700);
  margin-top: 10px;
  line-height: 1.45;
}
.stat-trio-label strong { color: var(--ink); font-weight: 700; }
@media (max-width: 720px) {
  .stat-trio { grid-template-columns: 1fr; padding: 24px 20px; }
  .stat-trio-item { border-right: 0; border-bottom: 1px solid var(--gray-200); padding: 18px 0; }
  .stat-trio-item:last-child { border-bottom: 0; }
}

/* Money-flow infographic — CMS → State → Subrec → OlenArc */
.money-flow {
  display: grid;
  grid-template-columns: 1fr 24px 1fr 24px 1fr 24px 1fr;
  align-items: stretch;
  gap: 4px;
  margin: 24px 0 10px;
}
.money-node {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 18px 14px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.money-node.is-us {
  background: linear-gradient(180deg, var(--teal-100) 0%, var(--white) 90%);
  border-color: var(--teal-500);
  position: relative;
  box-shadow: 0 4px 12px rgba(27, 91, 160, 0.1);
}
.money-node.is-us::after {
  content: "We're here";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal-600);
  color: var(--white);
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.money-node-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gray-50);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--navy-700);
  letter-spacing: 0.04em;
}
.money-node.is-us .money-node-icon {
  background: var(--white);
  color: var(--teal-600);
  border: 2px solid var(--teal-500);
}
.money-node-name {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.3;
}
.money-node-meta {
  color: var(--gray-700);
  font-size: 0.78rem;
  line-height: 1.45;
}
.money-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-500);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
}
@media (max-width: 880px) {
  .money-flow {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .money-arrow {
    transform: rotate(90deg);
    padding: 0;
    height: 18px;
  }
}

/* "How we engage" 4-step workflow */
.engage-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 16px 0 8px;
  position: relative;
}
.engage-step {
  text-align: left;
  position: relative;
  padding: 18px 18px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
}
.engage-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--teal-500);
  font-weight: 300;
  z-index: 2;
  width: 16px;
  text-align: center;
  background: var(--gray-50);
  border-radius: 50%;
}
.engage-step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--navy-700);
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.engage-step-title {
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.3;
}
.engage-step-desc {
  font-size: 0.84rem;
  color: var(--gray-700);
  line-height: 1.5;
}
.engage-step-meta {
  display: block;
  margin-top: 8px;
  font-size: 0.7rem;
  color: var(--teal-600);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@media (max-width: 880px) {
  .engage-flow { grid-template-columns: 1fr 1fr; }
  .engage-step:not(:last-child)::after { display: none; }
}
@media (max-width: 540px) {
  .engage-flow { grid-template-columns: 1fr; }
}

/* Reporting workbench mockup */
.work-mock {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.work-mock-header {
  padding: 12px 14px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.work-mock-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
}
.work-mock-period {
  font-size: 0.62rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}
.work-mock-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) 80px 1fr 72px;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.72rem;
}
.work-mock-row.is-h {
  background: var(--gray-50);
  font-size: 0.56rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  padding: 7px 14px;
}
.work-mock-row:last-child { border-bottom: 0; }
.work-mock-name {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.74rem;
}
.work-mock-name span {
  display: block;
  color: var(--gray-500);
  font-size: 0.62rem;
  font-weight: 400;
  margin-top: 2px;
}
.work-mock-due {
  font-size: 0.66rem;
  color: var(--gray-700);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.work-mock-progress {
  height: 6px;
  background: var(--gray-100);
  border-radius: 3px;
  overflow: hidden;
}
.work-mock-progress > i {
  display: block;
  height: 100%;
  background: var(--teal-600);
  border-radius: 3px;
}
.work-mock-progress.is-late > i { background: #C4A02F; }
.work-mock-progress.is-done > i { background: var(--gray-400); }
.work-mock-pill {
  font-size: 0.56rem;
  padding: 3px 8px;
  border-radius: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
}
.work-mock-pill.is-on { background: rgba(27, 91, 160, 0.18); color: var(--teal-600); }
.work-mock-pill.is-late { background: rgba(196, 160, 47, 0.22); color: #8a6f15; }
.work-mock-pill.is-done { background: var(--gray-100); color: var(--gray-700); }
.work-mock-footer {
  padding: 11px 14px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.66rem;
  color: var(--gray-500);
}
.work-mock-export {
  background: var(--navy-700);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.03em;
}

/* Alaska deployment map (inline SVG container) */
.ak-map {
  display: block;
  max-width: 480px;
  margin: 24px auto 0;
  text-align: center;
}
.ak-map svg {
  width: 100%;
  height: auto;
  display: block;
}
.ak-map-caption {
  text-align: center;
  font-size: 0.82rem;
  color: var(--gray-700);
  margin-top: 10px;
  line-height: 1.5;
}
.ak-map-caption strong { color: var(--ink); }

/* ─── LinkedIn floating action button — bottom-right, fixed ─── */
.linkedin-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #0A66C2;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18), 0 2px 6px rgba(10, 102, 194, 0.35);
  z-index: 50;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.linkedin-fab:hover {
  background: #084e96;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22), 0 3px 10px rgba(10, 102, 194, 0.45);
  color: #FFFFFF;
}
.linkedin-fab svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.linkedin-fab::after {
  content: "Follow on LinkedIn";
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}
.linkedin-fab:hover::after { opacity: 1; }
@media (max-width: 720px) {
  .linkedin-fab { width: 46px; height: 46px; right: 14px; bottom: 14px; }
  .linkedin-fab svg { width: 22px; height: 22px; }
  .linkedin-fab::after { display: none; }
}
@media print { .linkedin-fab { display: none !important; } }

