/* ══════════════════════════════════════════════════════════
   SOCIAL LEDGER — Website Design System (Brand Refresh)
   Occams Group LLC
   Deep Navy #0E273D · Olive Green #6E7F2E · Dark Teal #20484A
   Steel Blue #407395 · Warm Cream #F4F2EA · Sage #E7E9DC
   Lora (display / wordmark) · Montserrat (UI / body) · DM Mono (data)
   Tagline: Impact you can trust, change that lasts.
══════════════════════════════════════════════════════════ */

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

:root {
  --navy: #0E273D;
  --navy-mid: #17344F;
  --navy-light: #24405C;
  --teal: #20484A;
  --teal-light: #2C6360;
  --teal-pale: rgba(32,72,74,0.08);
  --blue: #407395;
  --blue-light: #5A88A6;
  /* accent (kept the --gold token names so inline styles remap cleanly) */
  --gold: #6E7F2E;
  --gold-light: #889752;
  --gold-pale: rgba(110,127,46,0.12);
  --parchment: #F4F2EA;
  --parchment-deep: #E7E9DC;
  --sage: #BBC7BC;
  --white: #FFFFFF;
  --ink: #14202B;
  --mid: #5C6672;
  --slate: #38434F;
  --border: rgba(14,39,61,0.10);
  --border-strong: rgba(14,39,61,0.18);
  --maxw: 1140px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  color: var(--slate);
  background: var(--parchment);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ── Typography ── */
h1, h2, h3, .display {
  font-family: 'Lora', Georgia, serif;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(34px, 4.8vw, 56px); }
h2 { font-size: clamp(26px, 3.3vw, 40px); }
h3 { font-size: clamp(19px, 2vw, 24px); }
p { font-size: 16px; }

.eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow.on-dark { color: var(--gold-light); }

.lead { font-size: 18.5px; color: var(--slate); line-height: 1.7; font-weight: 400; }

.mono {
  font-family: 'DM Mono', 'Courier New', monospace;
  letter-spacing: 0.01em;
}

/* ══════════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════════ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244,242,234,0.90);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 28px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-logo { height: 38px; width: auto; max-width: 100%; flex-shrink: 0; display: block; }
.brand-word {
  font-family: 'Lora', serif; font-weight: 600; font-size: 23px;
  color: var(--navy); letter-spacing: -0.005em; line-height: 1;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 600;
  color: var(--slate); text-decoration: none; letter-spacing: 0.01em; transition: color .18s;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--teal); }
.nav-links a.active::after {
  content: ""; display: block; height: 2px; background: var(--gold);
  margin-top: 3px; border-radius: 1px;
}
.nav-cta {
  background: var(--navy); color: var(--white) !important;
  padding: 9px 18px; font-size: 13px !important; font-weight: 700;
  letter-spacing: 0.02em; transition: background .18s; border-radius: 4px;
}
.nav-cta:hover { background: var(--navy-mid); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }

/* ══════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14px;
  letter-spacing: 0.02em; text-decoration: none; cursor: pointer;
  padding: 13px 26px; border: 1.5px solid transparent; transition: all .18s;
  border-radius: 5px;
}
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.10); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--navy); background: rgba(14,39,61,0.04); }
.btn .arw { transition: transform .18s; }
.btn:hover .arw { transform: translateX(3px); }

/* ══════════════════════════════════════════════════════════
   SECTIONS / LAYOUT
══════════════════════════════════════════════════════════ */
.section { padding: 84px 0; }
.section.tight { padding: 60px 0; }
.section.dark { background: var(--navy); color: rgba(255,255,255,0.82); }
.section.dark h1, .section.dark h2, .section.dark h3 { color: var(--white); }
.section.teal { background: var(--teal); color: rgba(255,255,255,0.9); }
.section.teal h1, .section.teal h2, .section.teal h3 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section.dark p, .section.teal p { color: rgba(255,255,255,0.82); }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ── Light Hero (Home) ── */
.hero-light {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 380px at 82% -30%, rgba(32,72,74,0.10), transparent 60%),
    radial-gradient(700px 340px at 6% 120%, rgba(110,127,46,0.10), transparent 55%),
    var(--white);
  padding: 0 0 84px;
  border-bottom: 1px solid var(--border);
}
/* brand banner across the top — centered lockup, tight taglines */
.hero-eyebrow { text-align: left; padding-top: 30px; margin-bottom: 2px; }
.hero-banner { width: 100%; padding: 12px 0 24px; margin: 0 0 40px; border-bottom: 1px solid var(--border); }
.hb-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: flex-start; gap: 40px;
}
.hb-text { flex: 0 1 auto; }
.hb-brand { display: flex; align-items: center; gap: 14px; }
.hb-logo { height: clamp(38px, 5vw, 58px); width: auto; max-width: 100%; display: block; }
.hb-word { font-family: 'Lora', serif; font-weight: 600; font-size: clamp(34px, 4.4vw, 52px); color: var(--navy); line-height: 1; letter-spacing: -0.01em; }
.hb-tag1 { font-family: 'Montserrat', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; font-size: 14px; color: var(--navy); margin-top: 0; }
.hb-tag2 { font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 14px; color: var(--mid); margin-top: 5px; }
.hb-art { flex: 0 0 auto; width: min(42vw, 430px); height: auto; }
.hb-icons { display: block; width: min(560px, 100%); height: auto; margin: 20px 0 0; }
@media (max-width: 900px) {
  .hb-inner { flex-direction: column; align-items: flex-start; text-align: left; gap: 24px; }
  .hb-brand { justify-content: flex-start; }
  .hb-art { width: 78%; max-width: 380px; }
}
.hero-light .hero-copy { max-width: 720px; }
.hero-light h1 { color: var(--navy); }
.hero-light .lead { color: var(--slate); margin-top: 18px; max-width: 640px; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-note-light {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--mid); font-weight: 700; line-height: 1.9;
}
.hero-note-light strong { color: var(--teal); font-weight: 700; }

/* ── Legacy dark hero (kept for safety) ── */
.hero {
  background: linear-gradient(160deg, #0B2033 0%, var(--navy) 55%, #0B2033 100%);
  color: rgba(255,255,255,0.85); padding: 90px 0 96px;
}
.hero h1 { color: var(--white); }
.hero .lead { color: rgba(255,255,255,0.78); max-width: 640px; margin-top: 22px; }
.hero-note {
  margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); font-weight: 700;
}
.hero-note strong { color: var(--gold-light); }

/* ── Page banner (interior) ── */
.banner {
  position: relative; overflow: hidden;
  background:
    radial-gradient(760px 360px at 86% -30%, rgba(32,72,74,0.55), transparent 60%),
    radial-gradient(520px 300px at 12% 140%, rgba(110,127,46,0.28), transparent 60%),
    linear-gradient(155deg, #0B2033, var(--navy));
  color: rgba(255,255,255,0.82); padding: 72px 0 66px;
}
.banner h1 { color: var(--white); font-size: clamp(32px, 4.2vw, 50px); }
.banner .lead { color: rgba(255,255,255,0.80); max-width: 620px; margin-top: 16px; }

/* ── Cards ── */
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: 8px;
  padding: 30px 28px; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(14,39,61,0.10); }
.card .num {
  font-family: 'DM Mono', monospace; font-size: 12px; font-weight: 500;
  color: var(--gold); letter-spacing: 0.08em; margin-bottom: 14px;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--mid); }
.card-icon {
  width: 48px; height: 48px; background: var(--gold-pale); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; fill: var(--teal); }

/* ── Stat row ── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 8px; }
.stat .big {
  font-family: 'Lora', serif; font-weight: 700;
  font-size: 48px; color: var(--gold-light); line-height: 1;
}
.section:not(.dark):not(.teal) .stat .big { color: var(--teal); }
.stat .lbl {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 700; margin-top: 10px; color: rgba(255,255,255,0.62);
}
.section:not(.dark):not(.teal) .stat .lbl { color: var(--mid); }

/* ── Capability pills ── */
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.pill {
  font-size: 12.5px; font-weight: 600; padding: 7px 15px;
  border: 1px solid var(--border-strong); color: var(--slate);
  background: var(--white); border-radius: 20px;
}
.pill.accent { background: var(--gold-pale); border-color: rgba(110,127,46,0.42); color: #4f5c1f; }

/* ── Feature list rows ── */
.feature-row {
  display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--border);
}
.feature-row:last-child { border-bottom: 0; }
.feature-row .fi {
  width: 46px; height: 46px; flex-shrink: 0; background: var(--navy); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.feature-row .fi svg { width: 22px; height: 22px; fill: var(--gold-light); }
.feature-row h3 { font-size: 20px; margin-bottom: 6px; }
.feature-row p { font-size: 15px; color: var(--mid); }

/* ── Quote / callout ── */
.callout {
  border-left: 3px solid var(--gold); padding: 6px 0 6px 26px;
  font-family: 'Lora', serif; font-size: 25px;
  color: var(--navy); font-style: italic; line-height: 1.4; font-weight: 500;
}
.section.dark .callout, .section.teal .callout { color: var(--white); }

/* ── Split ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

/* ── Clients ── */
.clients { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; }
.client-tag {
  font-family: 'DM Mono', monospace; font-size: 13px; letter-spacing: 0.02em;
  color: var(--slate); padding: 8px 0; font-weight: 500;
}

/* ══════════════════════════════════════════════════════════
   CTA STRIP
══════════════════════════════════════════════════════════ */
.cta-strip {
  background: linear-gradient(120deg, var(--teal) 0%, #163536 100%);
  color: var(--white); text-align: center; padding: 72px 0;
}
.cta-strip h2 { color: var(--white); }
.cta-strip p { color: rgba(255,255,255,0.86); max-width: 560px; margin: 14px auto 30px; }

/* ══════════════════════════════════════════════════════════
   FORM
══════════════════════════════════════════════════════════ */
.form-card {
  background: var(--white); border: 1px solid var(--border); padding: 38px; border-radius: 10px;
}
.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--slate); margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font-family: 'Montserrat', sans-serif; font-size: 15px;
  border: 1px solid var(--border-strong); background: var(--parchment); border-radius: 6px;
  color: var(--ink); transition: border-color .16s, background .16s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); background: var(--white);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 13px; color: var(--mid); margin-top: 4px; }
.contact-detail { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 26px; }
.contact-detail .ci {
  width: 42px; height: 42px; background: var(--gold-pale); flex-shrink: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.contact-detail .ci svg { width: 20px; height: 20px; fill: var(--gold); }
.contact-detail .lbl { font-size: 11px; letter-spacing: 0.10em; text-transform: uppercase; font-weight: 700; color: var(--mid); }
.contact-detail .val { font-size: 16px; color: var(--navy); font-weight: 600; }
.contact-detail a { color: var(--navy); text-decoration: none; }
.contact-detail a:hover { color: var(--teal); }

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.footer { background: var(--ink); color: rgba(255,255,255,0.62); padding: 56px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer h4 {
  font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}
.footer a { display: block; color: rgba(255,255,255,0.74); text-decoration: none; font-size: 14.5px; margin-bottom: 10px; transition: color .16s; }
.footer a:hover { color: var(--gold-light); }
.footer .brand-logo { height: 36px; }
.footer-tag { font-size: 14px; color: rgba(255,255,255,0.55); margin-top: 16px; max-width: 300px; line-height: 1.6; }
.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: 10px;
  font-size: 12.5px; color: rgba(255,255,255,0.42);
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
    position: absolute; top: 60px; left: 0; right: 0; background: var(--parchment);
    padding: 22px 28px; border-bottom: 1px solid var(--border);
  }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .split, .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .split { gap: 32px; }
  .section { padding: 60px 0; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .brand-logo { height: 32px; }
}
