/* Brigade Consulting Group — mockup stylesheet
   Near-black + brass, crisp serif headlines, fine-dining restraint. */

:root {
  --ink: #100e0b;
  --ink-soft: #1a1712;
  --paper: #faf7f1;
  --paper-dim: #f1ebe0;
  --brass: #c08a3e;
  --brass-deep: #8a5f1f; /* darkened 2026-10-05 for WCAG AA on paper (was #9a6c2a, 4.31:1) */
  --cream: #f4eee2;
  --text: #221e18;
  --muted: #6f675b;
  --line: #e3d9c6;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--paper);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, .serif {
  font-family: Georgia, "Times New Roman", "Nimbus Roman", serif;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--ink);
  color: var(--cream);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(192, 138, 62, 0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); }
.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.brand-name em { color: var(--brass); font-style: normal; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--brass); }
.nav a.active { border-bottom-color: var(--brass); color: var(--brass); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--cream); overflow: hidden; min-height: clamp(380px, 62vh, 560px); }
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,14,11,0.55) 0%, rgba(16,14,11,0.25) 45%, rgba(16,14,11,0.88) 100%);
}
.hero-text {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: clamp(40px, 8vh, 84px);
}
.hero-kicker {
  color: var(--brass);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
  max-width: 14ch;
}
.hero p.lede {
  margin-top: 16px;
  font-size: clamp(17px, 2.2vw, 21px);
  color: #e8e0cf;
  max-width: 46ch;
}
.cta-row { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  text-decoration: none;
  padding: 14px 28px;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--brass);
  transition: background 0.2s, color 0.2s;
}
.btn-solid { background: var(--brass); color: var(--ink); }
.btn-solid:hover { background: var(--brass-deep); border-color: var(--brass-deep); color: #fff; }
.btn-ghost { color: var(--brass-deep); background: transparent; } /* WCAG AA 5.25:1 on paper (was --brass, 2.83:1) */
.btn-ghost:hover { background: rgba(192,138,62,0.15); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 9vw, 110px) 0; }
.section-dark { background: var(--ink); color: var(--cream); }
.section-dim { background: var(--paper-dim); }
.rule {
  width: 56px; height: 2px; background: var(--brass);
  margin: 0 0 22px 0;
}
.section-dark .rule { margin-left: 0; }
.kicker {
  color: var(--brass-deep);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 12px;
}
.section-dark .kicker { color: var(--brass); }
h2.section-title { font-size: clamp(28px, 4vw, 44px); line-height: 1.15; margin-bottom: 18px; max-width: 20ch; }
.section p.body-copy { max-width: 62ch; margin-bottom: 16px; }
.section-dark p.body-copy { color: #ddd3bf; }

/* pillar cards (home) */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.pillar {
  border-top: 2px solid var(--brass);
  padding-top: 22px;
}
.pillar h3 { font-size: 22px; margin-bottom: 10px; }
.pillar p { font-size: 15.5px; color: var(--muted); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.about-grid img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--line);
}
.caption { font-size: 13.5px; color: var(--muted); margin-top: 10px; font-style: italic; }

/* ---------- Services ---------- */
.service {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
}
.service:last-of-type { border-bottom: 1px solid var(--line); }
.service-num {
  font-family: Georgia, serif;
  font-size: 40px;
  color: var(--brass-deep); /* was --brass; AA-large needs 3:1 on paper */
  line-height: 1;
}
.service h3 { font-size: 26px; margin-bottom: 8px; }
.service .tagline { color: var(--brass-deep); font-style: italic; margin-bottom: 14px; font-size: 16px; }
.service p { max-width: 62ch; margin-bottom: 14px; }
.deliverables { list-style: none; margin-top: 6px; }
.deliverables li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 9px;
  font-size: 15.5px;
}
.deliverables li::before {
  content: "";
  position: absolute; left: 2px; top: 10px;
  width: 12px; height: 2px; background: var(--brass);
}
.deliverables strong { color: var(--text); }
.deliverables-label {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); margin: 18px 0 10px 0;
}

/* ---------- Approach steps ---------- */
.steps { counter-reset: step; margin-top: 40px; }
.step {
  display: grid; grid-template-columns: 120px 1fr; gap: 24px;
  padding: 32px 0;
  border-top: 1px solid rgba(192,138,62,0.28);
}
.step:last-child { border-bottom: 1px solid rgba(192,138,62,0.28); }
.step-no {
  font-family: Georgia, serif; font-size: 15px; letter-spacing: 0.2em;
  color: var(--brass); text-transform: uppercase; padding-top: 6px;
}
.step h3 { font-size: 24px; margin-bottom: 8px; color: var(--cream); }
.step p { color: #d8cfbc; max-width: 60ch; font-size: 16px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 13.5px; color: var(--muted); font-style: italic; margin-top: 14px; }
.phone-big {
  font-family: Georgia, serif; font-size: clamp(26px, 3.4vw, 38px);
  color: var(--text); text-decoration: none;
  border-bottom: 2px solid var(--brass);
}
.phone-big:hover { color: var(--brass-deep); }
.contact-card {
  background: var(--ink); color: var(--cream);
  padding: 36px; margin-top: 28px;
}
.contact-card h3 { color: var(--brass); font-size: 20px; margin-bottom: 10px; }
.contact-card p { color: #d8cfbc; font-size: 15.5px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9ae99; padding: 44px 0; border-top: 1px solid rgba(192,138,62,0.35); }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.site-footer a { color: var(--brass); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-small { font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .pillars { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 8px; }
  .service { grid-template-columns: 1fr; gap: 8px; }
  .header-inner { flex-direction: column; align-items: flex-start; }
  body { font-size: 16px; }
}

/* ---------- founder ---------- */
.founder-grid { display: flex; gap: 30px; align-items: flex-start; flex-wrap: wrap; }
img.founder-pic { width: 210px; max-width: 45vw; border-radius: 14px; flex: 0 0 auto; box-shadow: 0 6px 18px rgba(0,0,0,.14); }
.founder-grid > div { flex: 1 1 300px; }
.founder-grid p { font-size: 1.02rem; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 10000;
  background: var(--ink); color: var(--cream);
  padding: 12px 20px; font-size: 15px; font-weight: 700; text-decoration: none;
  border: 2px solid var(--brass);
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Focus visibility ---------- */
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.section-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: #e8c87e; }

/* ---------- Accessibility toolbar ---------- */
.a11y-toolbar {
  position: fixed; left: 16px; bottom: 16px; z-index: 9989;
  display: flex; gap: 6px; align-items: center;
  background: rgba(16,14,11,0.94); border: 1px solid rgba(192,138,62,0.5);
  border-radius: 999px; padding: 6px 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}
.a11y-toolbar button {
  background: transparent; border: 1px solid rgba(192,138,62,0.55); color: #f4eee2;
  border-radius: 999px; min-width: 38px; height: 34px; padding: 0 10px;
  font-size: 13px; font-weight: 700; cursor: pointer; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
}
.a11y-toolbar button:hover { background: rgba(192,138,62,0.22); }
.a11y-toolbar button[aria-pressed="true"] { background: var(--brass); color: var(--ink); border-color: var(--brass); }
.a11y-toolbar button:focus-visible { outline: 3px solid #e8c87e; outline-offset: 2px; }
@media (max-width: 520px) {
  .a11y-toolbar { left: 10px; bottom: 10px; padding: 4px 8px; }
  .a11y-toolbar button { min-width: 34px; height: 32px; font-size: 12px; }
}
/* High-contrast mode */
html.hc body { background: #fff; color: #000; }
html.hc .section, html.hc .section-dim { background: #fff !important; color: #000; }
html.hc p, html.hc li, html.hc .pillar p, html.hc .caption, html.hc .field label,
html.hc .form-note, html.hc .deliverables-label, html.hc .lede-big { color: #000 !important; }
html.hc .kicker, html.hc .tagline, html.hc .service-num { color: #6b4a12 !important; }
html.hc a { color: #0b4da2 !important; text-decoration: underline; }
html.hc .card, html.hc .step, html.hc .service, html.hc .form-wrap { border-color: #000 !important; }
html.hc .site-header, html.hc .site-footer, html.hc .section-dark, html.hc .hero, html.hc .contact-card {
  background: #000 !important; color: #fff !important; border-color: #fff !important;
}
html.hc .section-dark p, html.hc .section-dark h2, html.hc .section-dark h3,
html.hc .contact-card p, html.hc .hero p, html.hc .hero h1, html.hc .step p, html.hc .step h3 { color: #fff !important; }
html.hc .section-dark .kicker, html.hc .hero-kicker, html.hc .step-no, html.hc .contact-card h3 { color: #ffd97a !important; }
html.hc .btn-solid { background: #ffd97a !important; color: #000 !important; border-color: #ffd97a !important; }
html.hc .btn-ghost { color: #ffd97a !important; border-color: #ffd97a !important; }
html.hc :focus-visible { outline-color: #0b4da2 !important; }

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

/* ---------- India-esque whisper accents (PG 2026-10-05: felt, not seen) ----------
   Tricolor rule under the nav: saffron -> white -> India green at low opacity.
   Saffron #FF9933 appears ONLY here (and nowhere else) as the single warm accent. */
.site-header::after {
  content: ""; display: block; height: 2px; opacity: 0.4;
  background: linear-gradient(90deg, #FF9933 0%, #f6f4f0 50%, #138808 100%);
}

/* Simplified original India-outline watermark — discoverable only if looked for.
   Used once, in the creed section, at ~4% opacity. */
.india-watermark {
  position: absolute; right: -30px; bottom: -40px; width: min(460px, 60vw);
  height: auto; opacity: 0.04; pointer-events: none;
}
.creed-section { position: relative; overflow: hidden; }

/* ---------- Legal footer ---------- */
.legal-footer {
  max-width: 1180px; margin: 0 auto; padding: 0 24px 26px;
  font-size: 12.5px; color: #9d937f; line-height: 1.6;
}
.legal-footer p { margin: 6px 0; }
