/* ============================================
   STRATEGIC CAPABILITIES GROUP
   Primary mark: Diamond with stacked wordmark
   Palette: Deep navy, warm off-white, brass gold
   Typography: Lora (display) + Poppins (body/UI)
   ============================================ */

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

:root {
  --navy:       #0f1b2d;
  --navy-mid:   #1a2d45;
  --navy-light: #243d5c;
  --gold:       #b8964a;
  --gold-light: #d4af6e;
  --gold-bright:#f5dca0;
  --cream:      #f7f4ee;
  --cream-dark: #ede9e0;
  --white:      #ffffff;
  --text-primary:   #0f1b2d;
  --text-secondary: #3d4f64;
  --text-light:     #7a8a9a;
  --border:         #ddd8ce;
  --font-display: 'Lora', Georgia, serif;
  --font-body:    'Poppins', sans-serif;
  --container: 1100px;
  --section-pad: 6rem 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.5rem 2.5rem;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(15,27,45,0.08); }

.nav-logo {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none;
}
.nav-logo img { height: 64px; width: auto; }
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 400;
  color: var(--navy); letter-spacing: 0.02em;
  display: block;
}

.nav-links { display: flex; align-items: center; gap: 2.5rem; }
.nav-links a {
  font-size: 0.8rem; font-weight: 400;
  color: var(--text-secondary); text-decoration: none;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-cta {
  padding: 0.6rem 1.4rem;
  background: var(--navy) !important; color: var(--white) !important;
  border-radius: 2px; font-size: 0.78rem !important;
  letter-spacing: 0.06em !important; transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--navy-light) !important; }

.nav-hamburger {
  display: none; background: none; border: none;
  font-size: 1.4rem; color: var(--navy); cursor: pointer;
}
.nav-mobile-menu {
  display: none; position: fixed; inset: 0;
  background: var(--navy); z-index: 200;
  flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  font-family: var(--font-display); font-size: 2rem;
  color: var(--cream); text-decoration: none; transition: color 0.2s;
}
.nav-mobile-menu a:hover { color: var(--gold); }
.nav-mobile-close {
  position: absolute; top: 1.5rem; right: 2rem;
  background: none; border: none; font-size: 1.5rem;
  color: var(--cream); cursor: pointer;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-block; padding: 0.85rem 2.2rem;
  background: var(--gold); color: var(--white);
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  border-radius: 2px; transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-secondary {
  display: inline-block; padding: 0.85rem 2.2rem;
  background: transparent; color: var(--navy);
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  border: 1.5px solid var(--navy); border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}
.btn-secondary:hover { background: var(--navy); color: var(--white); }

/* ============================================
   SECTION LABELS & HEADLINES
   ============================================ */
.section-label {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
  font-family: var(--font-body);
}
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 400;
  line-height: 1.15; color: var(--navy); margin-bottom: 2rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; background: var(--navy);
  padding: 8rem 2rem 6rem; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(184,150,74,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 2rem;
  opacity: 0; transform: translateY(24px);
  animation: fadeUp 0.9s ease forwards 0.2s;
}
.hero-eyebrow {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem;
  font-family: var(--font-body);
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.2rem); font-weight: 400;
  line-height: 1.2; color: var(--cream); margin-bottom: 2rem; max-width: 760px;
}
.hero-headline em { font-style: italic; color: var(--gold-bright); display: block; margin-top: 0.25rem; }
.hero-sub {
  font-size: 1rem; font-weight: 300;
  color: rgba(247,244,238,0.7); max-width: 560px;
  margin-bottom: 2.5rem; line-height: 1.8;
}
.hero-rule {
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 60%);
}

/* ============================================
   PROBLEM
   ============================================ */
.problem { padding: var(--section-pad); background: var(--cream); }
.problem-body { max-width: 680px; }
.problem-body p { margin-bottom: 1.25rem; color: var(--text-secondary); font-size: 1.02rem; }
.problem-emphasis {
  font-family: var(--font-display);
  font-size: 1.4rem !important; font-style: italic;
  color: var(--navy) !important; line-height: 1.4;
  margin: 2rem 0 !important; padding-left: 1.5rem;
  border-left: 2px solid var(--gold);
}

/* ============================================
   ANSWER
   ============================================ */
.answer { padding: var(--section-pad); background: var(--white); }
.answer-inner { max-width: 680px; }
.answer-inner p { color: var(--text-secondary); margin-bottom: 1.25rem; font-size: 1.02rem; }

/* Logo display in answer section */
.answer-logo {
  margin-bottom: 2.5rem;
}
.answer-logo img { height: 280px; width: auto; }

/* Bio photo */
.bio-photo-wrap {
  float: right; margin: 0 0 2rem 2.5rem;
}
.bio-photo-wrap img {
  width: 260px; height: 260px;
  object-fit: cover; object-position: 45% 15%;
  border-radius: 50%;
  border: 3px solid var(--gold);
  display: block;
}
.bio-body::after { content: ''; display: table; clear: both; }

/* ============================================
   SERVICES
   ============================================ */
.services { padding: var(--section-pad); background: var(--navy); }
.services .section-label { color: var(--gold); }
.services .section-headline { color: var(--cream); margin-bottom: 3rem; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.service-card {
  background: var(--navy-mid); padding: 2.5rem;
  transition: background 0.3s;
}
.service-card:hover { background: var(--navy-light); }
.service-number {
  font-family: var(--font-display); font-size: 3.5rem; font-weight: 300;
  color: rgba(184,150,74,0.2); line-height: 1; margin-bottom: 1rem;
}
.service-card h3 {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 400;
  color: var(--cream); margin-bottom: 1.25rem; line-height: 1.2;
}
.service-card p {
  color: rgba(247,244,238,0.65); font-size: 0.92rem;
  margin-bottom: 0.75rem; line-height: 1.75; font-weight: 300;
}

/* ============================================
   CREDENTIALS
   ============================================ */
.credentials { padding: var(--section-pad); background: var(--cream); }
.credentials-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 2rem; margin-bottom: 3rem;
}
.stat-block {
  text-align: center; padding: 2rem 1rem;
  border-top: 2px solid var(--gold);
}
.stat-number {
  font-family: var(--font-display); font-size: 3.5rem; font-weight: 300;
  color: var(--navy); line-height: 1; margin-bottom: 0.5rem;
}
.stat-label { font-size: 0.82rem; color: var(--text-light); line-height: 1.4; font-weight: 300; }
.credentials-notable { max-width: 760px; margin-bottom: 2rem; }
.credentials-notable p { color: var(--text-secondary); margin-bottom: 1rem; font-size: 1rem; font-weight: 300; }
.credentials-closer {
  font-family: var(--font-display); font-size: 1.3rem !important;
  font-style: italic; color: var(--navy) !important;
}

/* ============================================
   CONTACT
   ============================================ */
.contact { padding: var(--section-pad); background: var(--navy); }
.contact-inner { max-width: 680px; }
.contact .section-headline { color: var(--cream); margin-bottom: 1.5rem; }
.contact p { color: rgba(247,244,238,0.7); margin-bottom: 1.25rem; font-size: 1.02rem; font-weight: 300; }
.contact .btn-primary { margin-top: 1rem; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #080f19; padding: 3rem 0;
  border-top: 1px solid rgba(184,150,74,0.2);
}
.footer-inner {
  display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 1rem;
}
.footer-logo { margin-bottom: 0.5rem; }
.footer-logo img { height: 100px; width: auto; }
.footer-tagline {
  font-size: 0.82rem; color: rgba(247,244,238,0.4);
  font-style: italic; max-width: 480px; font-weight: 300;
}
.footer-links { display: flex; gap: 2rem; margin-top: 0.5rem; }
.footer-links a {
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(247,244,238,0.5); text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 0.72rem; color: rgba(247,244,238,0.25); margin-top: 0.5rem; }

/* ============================================
   PAGE HERO (interior pages)
   ============================================ */
.page-hero { background: var(--navy); padding: 10rem 0 5rem; }
.page-hero .section-label { color: var(--gold); }
.page-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 400;
  color: var(--cream); line-height: 1.1; margin-top: 0.5rem;
}
.page-hero-sub {
  font-size: 1rem; font-weight: 300;
  color: rgba(247,244,238,0.65); max-width: 560px;
  margin-top: 1.5rem; line-height: 1.8;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-intro { padding: var(--section-pad); background: var(--cream); }
.about-intro-inner { max-width: 760px; }
.about-lead {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 400;
  font-style: italic; color: var(--navy); line-height: 1.4; margin-bottom: 1.5rem;
}
.about-intro-inner p { color: var(--text-secondary); font-size: 1.02rem; margin-bottom: 1rem; font-weight: 300; }

.bio { padding: var(--section-pad); background: var(--white); }
.bio-inner { max-width: 760px; }
.bio-header { margin-bottom: 2rem; }
.bio-header h2 { font-family: var(--font-display); font-size: 2.2rem; font-weight: 400; color: var(--navy); }
.bio-title { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-top: 0.25rem; font-family: var(--font-body); }
.bio-body p { color: var(--text-secondary); font-size: 1rem; margin-bottom: 1.25rem; line-height: 1.8; font-weight: 300; }
.bio-stats { display: flex; gap: 3rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.bio-stat { text-align: center; }
.bio-stat-num { display: block; font-family: var(--font-display); font-size: 2.5rem; font-weight: 300; color: var(--navy); line-height: 1; }
.bio-stat-label { display: block; font-size: 0.75rem; color: var(--text-light); margin-top: 0.25rem; text-transform: uppercase; letter-spacing: 0.06em; }

.team { padding: var(--section-pad); background: var(--cream); }
.team-inner { max-width: 760px; }
.team-inner p { color: var(--text-secondary); font-size: 1rem; margin-bottom: 1.25rem; font-weight: 300; }

.why-midmarket { padding: var(--section-pad); background: var(--navy); }
.why-inner { max-width: 680px; }
.why-midmarket .section-label { color: var(--gold); }
.why-midmarket .section-headline { color: var(--cream); }
.why-inner p { color: rgba(247,244,238,0.7); font-size: 1.02rem; margin-bottom: 1.25rem; font-weight: 300; }
.why-inner .btn-primary { margin-top: 1rem; }

/* ============================================
   CASE STUDIES
   ============================================ */
.case-study { padding: var(--section-pad); background: var(--white); }
.case-study:nth-child(even) { background: var(--cream); }
.cs-header { margin-bottom: 2rem; }
.cs-category { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; font-family: var(--font-body); }
.cs-client { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; color: var(--navy); line-height: 1.3; }
.cs-result-block { background: var(--navy); padding: 2rem 2.5rem; margin-bottom: 3rem; border-left: 3px solid var(--gold); }
.cs-result-label { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; font-family: var(--font-body); }
.cs-result-text { font-family: var(--font-display); font-size: 1.3rem; font-style: italic; color: var(--cream); line-height: 1.5; }
.cs-body { max-width: 760px; }
.cs-section { margin-bottom: 2.5rem; }
.cs-section h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; color: var(--navy); margin-bottom: 1rem; }
.cs-section p { color: var(--text-secondary); margin-bottom: 0.9rem; font-size: 1rem; line-height: 1.8; font-weight: 300; }
.cs-workstream { margin-bottom: 1.5rem; padding-left: 1.25rem; border-left: 2px solid var(--cream-dark); }
.cs-ws-label { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; font-family: var(--font-body); }
.cs-workstream p { color: var(--text-secondary); font-size: 0.97rem; margin: 0; font-weight: 300; }
.cs-outcome { margin-top: 2rem; padding: 1.5rem 2rem; background: var(--cream); border-left: 3px solid var(--gold); }
.case-study:nth-child(even) .cs-outcome { background: var(--white); }
.cs-outcome p { font-family: var(--font-display); font-size: 1.2rem; font-style: italic; color: var(--navy); line-height: 1.5; margin: 0; }
.cs-divider { height: 1px; background: var(--border); margin: 0 2rem; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .credentials-grid { grid-template-columns: repeat(2,1fr); }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .bio-stats { flex-wrap: wrap; gap: 1.5rem; }
}
@media (max-width: 600px) {
  :root { --section-pad: 4rem 0; }
  .credentials-grid { grid-template-columns: 1fr 1fr; }
  .hero-headline { font-size: 2.2rem; }
  .cs-result-block { padding: 1.5rem; }
  .nav { padding: 1rem 1.25rem; }
  .container { padding: 0 1.25rem; }
}
