/* Secure Smart Solutions, Design 9 (Google gemini-frontend-design skill + Client Feedback) */

@font-face {
  font-family: "PlusJakartaVar";
  src: url("/fonts/plus-jakarta-sans-latin-wght.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "InterVar";
  src: url("/fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  /* Tailored Marine Navy + California Forest Green + Light-Blue Surface System */
  --navy: #082a43;
  --navy-deep: #051c2e;
  --navy-mid: #103f60;
  --ink: #0e283b;
  --ink-muted: #466072;

  --accent: #146b3a;
  --accent-hover: #0f562e;
  --mint: #8ee3a6;
  --mint-hover: #a9ecbc;
  --mint-tint: #e8f6ec;

  --surface: #ffffff;
  --surface-subtle: #f4f8fa;
  --surface-blue: #dfedf4;
  --line: #cfdce4;
  --line-strong: #94b1c2;
  --error: #b42318;
  --error-tint: #fef3f2;

  /* Strict 2-family pairing */
  --font-display: "PlusJakartaVar", system-ui, -apple-system, sans-serif;
  --font-body: "InterVar", system-ui, -apple-system, sans-serif;

  /* Strict 3-size body scale below hero (hero H1 and navbar brand exempt) */
  --text-heading: clamp(1.75rem, 3vw, 2.5rem);
  --text-body: 1.0625rem; /* 17px: uniform across prose, lists, and subheadings */
  --text-sm: 0.875rem;    /* 14px: nav, captions, labels, metadata (never < 13px) */

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.58;
  color: var(--ink);
  background: var(--surface);
  font-variant-numeric: tabular-nums;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }

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

.hero :focus-visible,
.site-header.is-transparent :focus-visible,
.showcase-stage :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--mint);
}

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 1000;
  background: var(--navy);
  color: var(--surface);
  padding: 10px 18px;
  border-radius: 9999px;
  font-size: var(--text-sm);
  font-weight: 600;
}
.skip-link:focus { top: 14px; }

.wrap {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
}

/* Strict Typography Hierarchy */
h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0;
  color: var(--navy);
  text-wrap: balance;
}

h2 {
  font-size: var(--text-heading);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

/* Subheadings differentiated via family, weight, and color at --text-body (3-size discipline) */
h3 {
  font-size: var(--text-body);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
  font-size: var(--text-body);
  max-width: 64ch;
  color: var(--ink);
}

.muted {
  color: var(--ink-muted);
}

.small-text {
  font-size: var(--text-sm);
  line-height: 1.5;
}

/* Primary Buttons (at most one primary CTA per content section) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 9999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  max-width: 100%;
  text-align: center;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--navy);
  color: var(--surface);
}
.btn-primary:hover {
  background: var(--navy-mid);
  color: var(--surface);
}

.btn-mint {
  background: var(--mint);
  color: var(--navy-deep);
}
.btn-mint:hover {
  background: var(--mint-hover);
  color: var(--navy-deep);
}

.btn-subtle {
  background: transparent;
  color: var(--navy);
  border-color: var(--line-strong);
  font-size: var(--text-sm);
  min-height: 42px;
  padding: 9px 18px;
}
.btn-subtle:hover {
  background: var(--surface-subtle);
  border-color: var(--navy);
  color: var(--navy);
}

.btn-nav {
  min-height: 40px;
  padding: 8px 18px;
  font-size: var(--text-sm);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--accent);
}
.text-link:hover { color: var(--accent-hover); }

/* Header: borderless over full-bleed hero at y=0, clean solid surface when scrolled */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}

body[data-hero="full"] .site-header {
  position: fixed;
  left: 0;
  right: 0;
}

body[data-hero="full"] .site-header.is-transparent {
  background: transparent;
  border-bottom-color: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
  padding: 5px 10px 5px 8px;
  border-radius: 8px;
  transition: background-color 200ms var(--ease-out);
}
.brand:hover { text-decoration: none; }

body[data-hero="full"] .site-header.is-transparent .brand {
  background: rgba(255, 255, 255, 0.95);
}

.brand img {
  height: 44px;
  width: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink);
  padding: 6px 0;
  white-space: nowrap;
  transition: color 180ms var(--ease-out);
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--accent);
  text-decoration: none;
}

.nav-list a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--accent);
}

body[data-hero="full"] .site-header.is-transparent .nav-list a {
  color: rgba(255, 255, 255, 0.92);
}

body[data-hero="full"] .site-header.is-transparent .nav-list a:hover {
  color: var(--mint);
}

.header-cta {
  display: flex;
  align-items: center;
}

body[data-hero="full"] .site-header.is-transparent .btn-nav {
  background: var(--mint);
  color: var(--navy-deep);
}

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--navy);
  cursor: pointer;
}

.mobile-menu {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 16px 20px 24px;
}

.mobile-menu ul {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
}

.mobile-menu li a {
  display: block;
  padding: 12px 0;
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
}

@media (max-width: 860px) {
  .nav-list, .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
}

/* Full-Bleed Monumental Hero bleeding cleanly to y = 0 (NO 50/50 split) */
.hero {
  position: relative;
  min-height: clamp(580px, 86dvh, 760px);
  display: flex;
  align-items: flex-end;
  padding: 124px 0 clamp(56px, 8vw, 96px);
  background: var(--navy-deep);
  color: var(--surface);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 28, 46, 0.52) 0%, rgba(5, 28, 46, 0.18) 38%, rgba(5, 28, 46, 0.88) 100%),
    linear-gradient(90deg, rgba(5, 28, 46, 0.72) 0%, rgba(5, 28, 46, 0.25) 68%, rgba(5, 28, 46, 0.08) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 24px;
}

.hero h1 {
  font-size: clamp(3.15rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--surface);
  max-width: 14ch;
}

.hero-bottom-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.hero-copy {
  font-size: var(--text-body);
  line-height: 1.55;
  color: #e2eff6;
  max-width: 44ch;
}

/* Compact Subpage Opening */
.page-opening {
  background: var(--navy);
  color: var(--surface);
  padding: clamp(56px, 7vw, 84px) 0 clamp(44px, 5.5vw, 64px);
}

.page-opening h1 {
  font-size: clamp(2.25rem, 4.6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--surface);
  max-width: 22ch;
}

.page-opening p {
  margin-top: 16px;
  color: #d9eaf4;
}

.page-opening .back-link {
  display: inline-block;
  margin-bottom: 18px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--mint);
}

/* Sections & Surfaces */
.section {
  padding: clamp(56px, 7.5vw, 96px) 0;
}

.section-subtle {
  background: var(--surface-subtle);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-blue {
  background: var(--surface-blue);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}

/* Certifications & Contract Vehicles: Clean Architectural Rules (Zero Badge Clutter) */
.certs-section {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.certs-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.certs-header h2 {
  font-size: var(--text-body);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.certs-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

@media (max-width: 1060px) {
  .certs-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 580px) {
  .certs-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.certs-list li {
  padding: 18px 18px 8px 0;
  border-right: 1px solid var(--line);
  padding-left: 18px;
}

.certs-list li:first-child { padding-left: 0; }
.certs-list li:last-child { border-right: 0; }

@media (max-width: 1060px) {
  .certs-list li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 16px 14px 16px 0;
  }
}

.cert-title {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-body);
  font-weight: 700;
  color: var(--navy);
}

.cert-detail {
  display: block;
  margin-top: 4px;
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

/* ConsultPro-Inspired Full-Width Interactive Solutions Stage */
.showcase-stage {
  position: relative;
  min-height: clamp(460px, 60vh, 560px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 4.5vw, 52px);
  background: var(--navy-deep);
  color: var(--surface);
  overflow: hidden;
  border-radius: 12px;
}

.showcase-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 240ms var(--ease-out);
}

.showcase-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(5, 28, 46, 0.90) 0%, rgba(8, 42, 67, 0.56) 54%, rgba(8, 42, 67, 0.14) 100%),
    linear-gradient(180deg, rgba(5, 28, 46, 0.18) 0%, rgba(5, 28, 46, 0.72) 100%);
  pointer-events: none;
}

.showcase-copy {
  position: relative;
  z-index: 2;
  max-width: 540px;
  display: grid;
  gap: 14px;
}

.showcase-copy h3 {
  font-size: var(--text-heading);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--surface);
}

.showcase-copy p {
  color: #e4f1f8;
}

.showcase-footer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
}

.showcase-nav {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.showcase-arrow {
  appearance: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(5, 28, 46, 0.45);
  color: var(--surface);
  font-size: var(--text-body);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 180ms var(--ease-out), border-color 180ms var(--ease-out);
}

.showcase-arrow:hover {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--navy-deep);
}

.showcase-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.showcase-detail-link {
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--surface);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.showcase-detail-link:hover { color: var(--mint); }

/* Connected Tab Rail (non-button selection control, zero pill-button walls) */
.showcase-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0 8px;
  margin-top: 18px;
  border-bottom: 1px solid var(--line);
}

.showcase-tab {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 12px 10px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-muted);
  white-space: nowrap;
  cursor: pointer;
  margin-bottom: -1px;
  transition: color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}

.showcase-tab:hover { color: var(--navy); }

.showcase-tab[aria-selected="true"] {
  color: var(--navy);
  font-weight: 600;
  border-bottom-color: var(--accent);
}

/* Option 5 Approach Split (Genuine 1-2-3 Sequence, Hairline Rules) */
.split-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.45fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

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

.approach-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}

@media (max-width: 780px) {
  .approach-list { grid-template-columns: 1fr; gap: 22px; }
}

.approach-list li {
  padding-top: 18px;
  border-top: 2px solid var(--navy);
  display: grid;
  gap: 8px;
}

.approach-step-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
}

/* Capabilities Two-Column Architectural Index (Homepage) */
.cap-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

@media (max-width: 760px) {
  .cap-index { grid-template-columns: 1fr; }
}

.cap-index li {
  border-bottom: 1px solid var(--line);
}

.cap-index a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 0;
  color: var(--ink);
  text-decoration: none;
  transition: transform 180ms var(--ease-out);
}

.cap-index a:hover {
  text-decoration: none;
  transform: translateX(4px);
}

.cap-index-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.cap-index-title {
  font-family: var(--font-display);
  font-size: var(--text-body);
  font-weight: 700;
  color: var(--navy);
}

.cap-index-arrow {
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
}

.cap-index-desc {
  font-size: var(--text-body);
  color: var(--ink-muted);
}

/* Option 3 Light-Blue Founder Section WITH Stephanie's Portrait */
.founder-grid {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

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

.founder-figure {
  margin: 0;
}

.founder-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: 8px;
}

.founder-figure figcaption {
  margin-top: 14px;
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

.founder-figure strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-body);
  color: var(--navy);
}

.founder-prose {
  display: grid;
  gap: 18px;
}

.founder-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
  margin: 8px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line-strong);
}

@media (max-width: 560px) {
  .founder-facts { grid-template-columns: 1fr; }
}

.founder-facts dt {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
}

.founder-facts dd {
  margin: 4px 0 0;
  font-size: var(--text-body);
  color: var(--ink);
}

.note-rule {
  padding-left: 14px;
  border-left: 3px solid var(--accent);
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

/* Option 3 Simple Bottom "Start a conversation" Inquiry Section */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

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

.contact-meta {
  display: grid;
  gap: 18px;
}

.contact-dl {
  margin: 8px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
}

.contact-dl dt {
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

.contact-dl dd {
  margin: 2px 0 0;
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--navy);
  overflow-wrap: anywhere;
}

.contact-dl a { color: var(--navy); }
.contact-dl a:hover { color: var(--accent); }

.inquiry-surface {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(22px, 3.5vw, 38px);
}

.intent-fieldset {
  border: 0;
  margin: 0 0 24px;
  padding: 0;
}

.intent-fieldset legend {
  font-family: var(--font-display);
  font-size: var(--text-body);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  padding: 0;
}

/* Connected 3-option segmented radio group (zero separate bordered buttons) */
.segmented-radios {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}

@media (max-width: 680px) {
  .segmented-radios { grid-template-columns: 1fr; }
}

.segmented-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 14px;
  min-height: 48px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  border-right: 1px solid var(--line);
  transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out);
}

.segmented-option:last-child { border-right: 0; }

@media (max-width: 680px) {
  .segmented-option {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .segmented-option:last-child { border-bottom: 0; }
}

.segmented-option:has(input:checked) {
  background: var(--mint-tint);
  color: var(--navy);
}

.segmented-option input {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

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

.field {
  display: grid;
  gap: 6px;
}

.field-wide { grid-column: 1 / -1; }

.field label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  transition: border-color 150ms var(--ease-out);
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(20, 107, 58, 0.14);
}

.call-toggle {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  font-size: var(--text-sm);
  color: var(--ink-muted);
  cursor: pointer;
}

.call-toggle input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.form-submit-row {
  margin-top: 22px;
  display: grid;
  gap: 10px;
  justify-items: start;
}

.form-error {
  margin-bottom: 18px;
  padding: 14px 16px;
  background: var(--error-tint);
  border-left: 4px solid var(--error);
  color: #7a271a;
  font-size: var(--text-sm);
}
.form-error ul { margin: 6px 0 0; padding-left: 18px; }
.form-error a { color: #7a271a; text-decoration: underline; }

.draft-box {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
}

.draft-status {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  min-height: 1.2em;
}

.draft-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* Capabilities Hub & Detail Pages (Option 4 & 5 Thorough Organization) */
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.anchor-nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: #e2eff6;
  padding: 4px 0;
}

.anchor-nav a:hover { color: var(--mint); }

.cap-chapter-list {
  display: grid;
  gap: 0;
}

.cap-chapter {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 20px;
  scroll-margin-top: 86px;
}

.cap-chapter:first-child { padding-top: 0; }
.cap-chapter:last-child { border-bottom: 0; }

.cap-chapter-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.cap-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  padding-top: 6px;
}

@media (max-width: 720px) {
  .cap-two-col { grid-template-columns: 1fr; gap: 20px; }
}

.cap-col {
  display: grid;
  gap: 10px;
  align-content: start;
}

.cap-col ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  font-size: var(--text-body);
}

.cap-chapter-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding-top: 6px;
}

/* Procurement Table (Clean Hairlines, Sentence Case) */
.proc-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--navy);
}

.proc-table th,
.proc-table td {
  text-align: left;
  padding: 18px 20px 18px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.proc-table thead th {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-muted);
}

.proc-table tbody th {
  width: 28%;
  font-size: var(--text-body);
  font-weight: 700;
  color: var(--navy);
}

.proc-table tbody td {
  font-size: var(--text-body);
  color: var(--ink);
}

@media (max-width: 620px) {
  .proc-table thead { display: none; }
  .proc-table, .proc-table tbody, .proc-table tr, .proc-table th, .proc-table td {
    display: block;
    width: 100%;
  }
  .proc-table tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .proc-table tbody th, .proc-table tbody td { padding: 3px 0; border: 0; }
}

/* Prose (Privacy Policy & Story) */
.prose-stack {
  max-width: 65ch;
  display: grid;
  gap: 24px;
}

.prose-stack ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  font-size: var(--text-body);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #d0e2ec;
  padding: 56px 0 36px;
  font-size: var(--text-sm);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 32px;
  margin-bottom: 36px;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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

.footer-logo {
  display: inline-block;
  background: var(--surface);
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.footer-logo img { height: 38px; width: auto; }

.footer-col { overflow-wrap: anywhere; }

.footer-col h3 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--mint);
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-col a { color: #e5f1f8; }
.footer-col a:hover { color: var(--mint); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #b4ccd9;
}

.footer-bottom a { color: #d8e9f2; }
.footer-bottom a:hover { color: var(--mint); }

.split-grid > *,
.founder-grid > *,
.contact-grid > *,
.cap-two-col > * {
  min-width: 0;
}
