/* ============================================================
   Blue Collective Ventures, LLC
   Design tokens pulled from the mark: deep navy, working blue,
   compass-ring steel gray, and a wave motif that recurs as the
   section divider throughout the site.
   ============================================================ */

:root {
  --navy: #0B1E3F;
  --navy-deep: #071527;
  --blue: #1D5FBF;
  --blue-bright: #2E6FE0;
  --steel: #6B7785;
  --steel-light: #AEB8C4;
  --paper: #F6F7F9;
  --white: #FFFFFF;
  --ink: #1B2430;
  --ink-soft: #48505C;
  --line: #DBE0E6;

  --serif: "Source Serif 4", Georgia, serif;
  --sans: "IBM Plex Sans", -apple-system, "Segoe UI", sans-serif;

  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ink-soft); max-width: 62ch; }

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

.eyebrow {
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 0.6em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-bright); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-outline:hover { border-color: var(--white); }

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand img { height: 46px; width: auto; }

.nav-brand .brand-text {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.15;
}
.nav-brand .brand-text span {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  color: var(--steel);
  font-weight: 500;
  letter-spacing: 0.04em;
}

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

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--navy);
  border-bottom-color: var(--blue);
}

.nav-cta {
  margin-left: 8px;
  padding: 10px 20px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
}
.nav-cta:hover { background: var(--blue); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  background: radial-gradient(120% 140% at 80% -10%, #12305e 0%, var(--navy) 45%, var(--navy-deep) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 96px 0 130px;
}

.hero-mark {
  position: absolute;
  right: -140px;
  top: -80px;
  width: 620px;
  opacity: 0.14;
  pointer-events: none;
}

.hero-inner { max-width: 640px; position: relative; }

.hero .eyebrow { color: var(--steel-light); }

.hero h1 { color: var(--white); }

.hero p.lead {
  color: rgba(255,255,255,0.82);
  font-size: 1.12rem;
  max-width: 54ch;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* wave divider, echoing the mark */
.wave {
  display: block;
  width: 100%;
  height: 64px;
  margin-top: -2px;
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 70px 0 96px;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.3em; }
.page-hero p { color: rgba(255,255,255,0.78); font-size: 1.05rem; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-tight { padding: 64px 0; }
.bg-paper { background: var(--paper); }

.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}

/* ---------- Pillars / service grid ---------- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.pillar {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 28px 38px;
}

.pillar .glyph { margin-bottom: 20px; }
.pillar .glyph svg { width: 34px; height: 34px; }

.pillar h3 { margin-bottom: 0.5em; }
.pillar p { font-size: 0.94rem; margin-bottom: 0.7em; }
.pillar a.more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  border-bottom: 1px solid var(--blue);
  padding-bottom: 1px;
}

/* ---------- Stat strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 30px 28px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat .num {
  font-family: var(--serif);
  font-size: 2.1rem;
  color: var(--navy);
  display: block;
}
.stat .label { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- Two column ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  padding: 12px 0 12px 30px;
  position: relative;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.96rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 9px;
  height: 9px;
  background: var(--blue);
}
.checklist li:last-child { border-bottom: none; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--navy);
  color: var(--white);
  padding: 62px 0;
  text-align: left;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.cta-banner h2 { color: var(--white); margin-bottom: 0.2em; }
.cta-banner p { color: rgba(255,255,255,0.75); margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h4 {
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  margin-bottom: 1em;
}
.footer-grid a, .footer-grid p {
  display: block;
  color: rgba(255,255,255,0.62);
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.footer-grid a:hover { color: var(--white); }
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.footer-brand img { height: 40px; }
.footer-brand span { font-family: var(--serif); color: var(--white); font-size: 1.05rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-grid .full { grid-column: 1 / -1; }
label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
}
textarea { resize: vertical; min-height: 130px; }

.contact-info-block {
  border-top: 3px solid var(--blue);
  background: var(--paper);
  padding: 34px 30px;
}
.contact-info-block .row {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.contact-info-block .row:last-child { border-bottom: none; }
.contact-info-block .row .k {
  font-size: 0.78rem;
  text-transform: none;
  color: var(--steel);
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-info-block .row .v { color: var(--navy); font-weight: 600; }

/* ---------- Focus visibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .pillar-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 70px 0 100px; }
  .hero-mark { display: none; }
  .cta-banner-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Mobile nav panel */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 74px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 18px 28px 26px;
  gap: 16px;
}
