/* ============================================================
   The Phazed Catalyst Collective — Site Styles
   Brand palette pulled from the capabilities white paper
   ============================================================ */

:root {
  /* Three-color brand palette pulled from the new Phazed Catalyst Collective logo */
  /* Purple — hexagon, fragments, structural anchor */
  --plum-deep: #2d1240;
  --plum-anchor: #4a1968;
  --plum-mid: #6b2685;
  --plum: #7e2a93;
  --plum-bright: #a045bb;

  /* Electric blue — "Phazed" wordmark, primary action energy */
  --blue: #00b4ff;
  --blue-bright: #38c8ff;
  --blue-deep: #0085c2;

  /* Mojito green — "Catalyst" wordmark, veteran-owned, success accents */
  --mojito: #4ade80;
  --mojito-bright: #6ee89c;
  --mojito-deep: #22a85c;

  /* Legacy aliases — keep existing rules working without a rename */
  --navy: var(--plum-anchor);
  --navy-deep: var(--plum-deep);
  --navy-soft: var(--plum-mid);
  --teal: var(--mojito);
  --teal-bright: var(--mojito-bright);
  --teal-deep: var(--mojito-deep);

  --bg: #fbfafd;
  --bg-alt: #f4eef7;
  --surface: #ffffff;
  --border: #e7dfee;
  --text: #2a1f33;
  --text-muted: #5e526a;
  --text-faint: #9088a0;
  --shadow-sm: 0 1px 2px rgba(74, 25, 104, 0.06);
  --shadow-md: 0 4px 16px rgba(74, 25, 104, 0.10);
  --shadow-lg: 0 12px 40px rgba(74, 25, 104, 0.14);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --max-width: 1180px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--navy); }

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 0.6em;
  line-height: 1.2;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* ===== Navigation ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 20, 29, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy);
  font-size: 1.05rem;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--plum-bright) 0%, var(--plum-anchor) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: var(--shadow-sm);
}

.brand-logo {
  display: block;
  height: 56px;
  width: auto;
  max-width: 360px;
}
.site-nav .brand-logo { height: 56px; }
.site-footer .brand-logo { height: 50px; max-width: 360px; margin-bottom: 6px; }
a.brand:has(.brand-logo) { gap: 0; }
.footer-brand .brand { display: inline-flex; }

.brand-text { line-height: 1; }
.brand-text small {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.15s ease;
}

.nav-links a:hover { color: var(--blue-bright); }

.nav-links a.active { color: var(--blue); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -28px;
  height: 2px;
  background: var(--blue);
}

.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem !important;
  transition: background 0.15s ease, transform 0.15s ease;
}
.nav-cta:hover {
  background: var(--blue);
  color: #fff !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 0;
  transition: all 0.18s ease;
  font-family: inherit;
  text-decoration: none;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--navy);
}
.btn-light:hover {
  background: var(--blue);
  color: #fff;
}

.btn-arrow::after { content: "→"; font-size: 1.05em; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(180deg, #5c1e7a 0%, #3a1452 100%);
  color: #fff;
  padding: 110px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(160,68,187,0.22) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -180px; left: -120px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(160,68,187,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }

.hero-mark {
  position: absolute;
  top: 50%;
  right: -90px;
  transform: translateY(-50%);
  width: 580px;
  height: auto;
  opacity: 0.10;
  pointer-events: none;
  z-index: 1;
  user-select: none;
}

.page-header-mark {
  position: absolute;
  top: 50%;
  right: -50px;
  transform: translateY(-50%);
  width: 320px;
  height: auto;
  opacity: 0.10;
  pointer-events: none;
  z-index: 1;
  user-select: none;
}
.page-header .container { position: relative; z-index: 2; }

@media (max-width: 960px) {
  .hero-mark { width: 380px; right: -120px; opacity: 0.08; }
  .page-header-mark { width: 220px; right: -80px; opacity: 0.08; }
}
@media (max-width: 560px) {
  .hero-mark, .page-header-mark { display: none; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(74, 222, 128, 0.16);
  color: var(--mojito-bright);
  border-color: rgba(74, 222, 128, 0.38);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  border: 1px solid rgba(74, 222, 128, 0.32);
}
.hero-eyebrow .star { color: var(--teal-bright); }

.hero h1 {
  color: #fff;
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.05;
  max-width: 920px;
  margin-bottom: 24px;
}
.hero h1 .accent { color: var(--teal-bright); }

.hero-tagline {
  font-size: 1.3rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.82);
  max-width: 760px;
  margin-bottom: 36px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}

/* ===== Stat strip ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 12px;
}
.stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 18px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: all 0.2s ease;
}
.stat:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}
.stat.veteran {
  background: var(--teal);
  border-color: var(--teal);
}
.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-bright);
  line-height: 1;
  margin-bottom: 6px;
}
.stat.veteran .stat-value { color: #fff; font-size: 1.8rem; }
.stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  line-height: 1.35;
}
.stat.veteran .stat-label { color: #fff; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.72rem; }

/* ===== Sections ===== */
section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0;
}

/* ===== Page header (interior pages) ===== */
.page-header {
  background: linear-gradient(180deg, #5c1e7a 0%, #4a1968 100%);
  color: #fff;
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(160,68,187,0.22) 0%, transparent 65%);
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 {
  color: #fff;
  font-size: 2.8rem;
  margin-bottom: 12px;
}
.page-header p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.78);
  max-width: 720px;
  margin: 0;
}

/* ===== Card grids ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.2s ease;
}
.card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}
.card-icon {
  width: 50px;
  height: 56px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border-radius: 0;
  color: var(--plum);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.card-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.card-icon-plum { color: var(--plum); }
.card-icon-blue { color: var(--blue-deep); }
.card-icon-mojito { color: var(--mojito-deep); }
.card:hover .card-icon { transform: translateY(-2px); }

.card p { color: var(--text-muted); margin: 0; }
.card ul { padding-left: 18px; margin: 12px 0 0; color: var(--text-muted); }
.card ul li { margin-bottom: 6px; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-weight: 600;
  color: var(--blue);
}
.card-link:hover { gap: 10px; color: var(--navy); }

/* ===== Capability cards (full grid) ===== */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.capability-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
  transition: all 0.2s ease;
  border-top: 3px solid var(--blue);
}
.capability-card:hover {
  border-color: var(--border);
  border-top-color: var(--teal);
  box-shadow: var(--shadow-md);
}
.capability-card h3 {
  margin-bottom: 16px;
  font-size: 1.1rem;
  color: var(--navy);
}
.capability-card ul {
  padding-left: 0;
  margin: 0;
  list-style: none;
}
.capability-card ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.capability-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

/* ===== Founders ===== */
.founders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}
.founder-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  text-align: center;
  transition: all 0.2s ease;
}
.founder-card:hover { box-shadow: var(--shadow-md); }

.founder-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--plum-bright) 0%, var(--plum-anchor) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 3.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  position: relative;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 8px 30px rgba(74,25,104,0.22);
}
.founder-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.founder-card h3 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.founder-role {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.founder-veteran {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-left: 8px;
  vertical-align: middle;
}
.founder-bio {
  color: var(--text-muted);
  font-size: 0.98rem;
  text-align: left;
  line-height: 1.7;
}
.founder-bio p { margin-bottom: 1em; }
.founder-bio p:last-child { margin-bottom: 0; }

/* ===== Differentiators ===== */
.differentiators {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.diff-item {
  background: var(--surface);
  border-left: 4px solid var(--blue);
  padding: 24px 28px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
}
.diff-item:nth-child(odd) { border-left-color: var(--blue); }
.diff-item:nth-child(even) { border-left-color: var(--teal); }
.diff-item h3 {
  font-size: 1.05rem;
  color: var(--blue);
  margin-bottom: 8px;
}
.diff-item:nth-child(even) h3 { color: var(--teal); }
.diff-item p { color: var(--text); margin: 0; font-size: 0.96rem; }

/* ===== Engagement entries ===== */
.engagement-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.engagement {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 30px;
  transition: all 0.2s ease;
}
.engagement:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}
.engagement-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}
.engagement-head h3 {
  margin: 0;
  font-size: 1.15rem;
}
.engagement-author {
  font-style: italic;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 600;
}
.engagement p { margin: 0; color: var(--text-muted); font-size: 0.97rem; }

.engagement-models {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 30px;
}
.model {
  background: var(--surface);
  padding: 26px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.model h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--navy);
}
.model p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

/* ===== Domains grid (engagements page "What we bring") ===== */
.domains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 16px;
}
.domain-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.2s ease;
}
.domain-col:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.domain-head {
  padding: 14px 24px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
}
.domain-casey .domain-head {
  background: linear-gradient(135deg, var(--plum) 0%, var(--plum-anchor) 100%);
}
.domain-chase .domain-head {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
}
.domain-collective .domain-head {
  background: linear-gradient(135deg, var(--mojito-deep) 0%, var(--mojito) 100%);
}
.domain-col ul {
  list-style: none;
  padding: 22px 28px 28px;
  margin: 0;
}
.domain-col ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.5;
}
.domain-col ul li:last-child { margin-bottom: 0; }
.domain-col ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.domain-casey ul li::before { background: var(--plum); }
.domain-chase ul li::before { background: var(--blue); }
.domain-collective ul li::before { background: var(--mojito-deep); }

/* ===== Historical engagements (2-column, row-aligned) ===== */
.historical-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(5, auto);
  grid-auto-flow: column;
  gap: 14px 40px;
  align-items: stretch;
}
.historical-author {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.historical-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}
.historical-item:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}
.historical-item h4 {
  font-size: 1rem;
  margin: 0 0 6px;
  color: var(--navy);
}
.historical-item p {
  font-size: 0.88rem;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ===== Process steps ===== */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 16px;
}
.process-step {
  background: var(--surface);
  padding: 28px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--border);
  position: relative;
}
.process-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 12px;
}
.process-step h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.process-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* ===== CTA band ===== */
.cta-band {
  background: linear-gradient(180deg, #5c1e7a 0%, #3a1452 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(160,68,187,0.18) 0%, transparent 70%);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 {
  color: #fff;
  font-size: 2.4rem;
  margin-bottom: 14px;
}
.cta-band p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 30px;
}
.cta-band .contact-line {
  margin-top: 24px;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}
.cta-band .contact-line a { color: #fff; font-weight: 500; }
.cta-band .contact-line a:hover { color: var(--blue-bright); }

/* ===== Contact page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info h3 { font-size: 1.3rem; margin-bottom: 16px; }
.contact-info .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.contact-info .contact-item:last-of-type { border-bottom: 0; }
.contact-info .contact-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: block;
  margin-bottom: 4px;
}
.contact-info .contact-value {
  color: var(--text);
  font-weight: 500;
  font-size: 1.02rem;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.contact-form h3 { margin-bottom: 6px; }
.contact-form .form-intro {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 22px;
}

.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.96rem;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: 0;
  border-color: var(--blue);
  background: #fff;
}
.form-row textarea { resize: vertical; min-height: 110px; }

.discovery-block {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  margin-bottom: 36px;
}
.discovery-block h3 { margin-bottom: 8px; }
.discovery-block p {
  color: var(--text-muted);
  margin: 0 auto 18px;
  max-width: 540px;
}
.discovery-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.site-footer {
  background: linear-gradient(180deg, #3a1452 0%, #2a0e3e 100%);
  color: rgba(255,255,255,0.78);
  padding: 60px 0 30px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand { color: #fff; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,0.65); margin: 0; max-width: 320px; }

.footer-col h4 {
  color: #fff;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col a { color: rgba(255,255,255,0.72); }
.footer-col a:hover { color: var(--blue-bright); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom .veteran-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal-bright);
  font-weight: 600;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  h1 { font-size: 2.2rem; }
  .hero h1 { font-size: 2.6rem; }
  .hero { padding: 80px 0 70px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats .stat:first-child { grid-column: 1 / -1; }
  .grid-3, .grid-2, .capability-grid, .founders, .engagement-models, .differentiators, .contact-grid, .domains-grid, .historical-grid {
    grid-template-columns: 1fr;
  }
  .historical-grid {
    grid-template-rows: none;
    grid-auto-flow: row;
  }
  .process { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links {
    display: none;
    position: absolute;
    top: 84px;
    left: 0; right: 0;
    background: #14141d;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 14px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .nav-links a.active::after { display: none; }
  .nav-links .nav-cta {
    margin: 12px 28px 4px;
    text-align: center;
  }
  .nav-toggle { display: block; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .stats { grid-template-columns: 1fr; }
  .stats .stat:first-child { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  section { padding: 60px 0; }
  .page-header { padding: 60px 0 50px; }
  .page-header h1 { font-size: 2.1rem; }
}
