/* CKH Consulting — shared stylesheet */

:root {
  /* Ambition Water inspired palette: orange (acidic) -> olive -> teal -> deep blue (basic) */
  --navy: #0f3c5f;
  --navy-light: #1a5580;
  --navy-lighter: #2a7a94;
  --teal: #2f9aa6;
  --teal-light: #7fcdd6;
  --gold: #e08d3c;      /* warm accent, formerly gold */
  --gold-light: #f0b06a;
  --olive: #a99a66;
  --cream: #f6f9fa;
  --white: #ffffff;
  --text-dark: #1a1d22;
  --text-gray: #57626b;
  --text-light: #93a3ac;
  --border: #dce6ea;
  --wave-light: #a9dcf0;
  --wave-mid: #3fa9e0;
  --wave-deep: #0f3c5f;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Header / Nav ---------- */

header.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: none;
}

.gradient-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--olive) 33%, var(--teal) 66%, var(--navy) 100%);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--white);
  letter-spacing: 0.5px;
}

.logo span { color: var(--gold); }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 36px;
}

nav.main-nav a {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: color 0.2s;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--gold-light);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover { background: var(--gold-light); }

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
}

.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }

.btn-outline-dark {
  background: transparent;
  border: 1px solid var(--navy);
  color: var(--navy);
}

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

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-light) 55%, var(--teal) 100%);
  color: var(--white);
  padding: 110px 0 90px;
}

/* Wave divider, echoing the Ambition Water mark */
.wave-divider { line-height: 0; margin-top: -6px; }
.wave-divider svg { width: 100%; height: 64px; display: block; }

.eyebrow {
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1.2;
  max-width: 780px;
  margin-bottom: 24px;
  font-weight: 600;
}

.hero p.lead {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  max-width: 620px;
  margin-bottom: 36px;
}

/* ---------- Page header (for interior pages) ---------- */

.page-header {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-light) 60%, var(--teal) 100%);
  color: var(--white);
  padding: 80px 0 60px;
}

.page-header .eyebrow { color: var(--gold-light); }

.page-header h1 {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 600;
  max-width: 700px;
}

.page-header p.lead {
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  max-width: 640px;
  margin-top: 18px;
}

/* ---------- Stats bar ---------- */

.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 48px 0;
}

.stat h3 {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--navy);
  margin-bottom: 6px;
}

.stat p {
  font-size: 13px;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---------- Sections ---------- */

section { padding: 90px 0; }

.section-tight { padding: 70px 0; }

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

.section-head .eyebrow { color: var(--gold); }
.section-head .eyebrow { color: #9a7943; }

.section-head h2 {
  font-family: var(--serif);
  font-size: 34px;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 16px;
}

.section-head p { color: var(--text-gray); font-size: 16px; }

.bg-navy { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-lighter) 100%); color: var(--white); }
.bg-navy .section-head h2 { color: var(--white); }
.bg-navy .section-head p { color: rgba(255,255,255,0.7); }
.bg-white { background: var(--white); }

/* ---------- Cards ---------- */

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

.card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 36px;
  border-radius: 3px;
}

.card .num {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 1px;
}

.card h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 600;
}

.card p { color: var(--text-gray); font-size: 15px; }

.card .for-tag {
  display: inline-block;
  margin-top: 18px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  border-top: 1px solid var(--border);
  padding-top: 14px;
  width: 100%;
}

/* ---------- Juta teaser ---------- */

.juta-teaser {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-lighter) 100%);
  color: var(--white);
  border-radius: 4px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.juta-teaser .eyebrow { color: var(--gold-light); }

.juta-teaser h2 {
  font-family: var(--serif);
  font-size: 30px;
  margin-bottom: 18px;
  font-weight: 600;
}

.juta-teaser p { color: rgba(255,255,255,0.72); margin-bottom: 24px; font-size: 15px; }

.juta-panel {
  background: var(--navy-lighter);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 28px;
}

.juta-panel .juta-logo {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.juta-panel ul { list-style: none; }

.juta-panel li {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.juta-panel li:last-child { border-bottom: none; }

.juta-panel li strong { color: var(--gold-light); }

/* ---------- Timeline (About page) ---------- */

.timeline { border-left: 2px solid var(--border); margin-left: 4px; }

.timeline-item {
  position: relative;
  padding: 0 0 36px 32px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--cream);
}

.timeline-item .role {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--navy);
  font-weight: 600;
}

.timeline-item .org { color: var(--gold); font-size: 14px; font-weight: 600; margin: 2px 0 6px; }

.timeline-item .dates { color: var(--text-light); font-size: 13px; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.4px; }

.timeline-item p { color: var(--text-gray); font-size: 15px; }

/* ---------- About hero / avatar ---------- */

.avatar-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--navy-lighter);
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 48px;
  color: var(--gold-light);
  margin: 0 auto 28px;
}

/* ---------- Playbook list (Juta page) ---------- */

.playbook-list { display: flex; flex-direction: column; gap: 0; }

.playbook-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}

.playbook-item h4 {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 19px;
  font-weight: 600;
}

.playbook-item p { color: var(--text-gray); font-size: 15px; }

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(100deg, var(--navy) 0%, var(--navy-light) 50%, var(--teal) 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.cta-band h2 {
  font-family: var(--serif);
  font-size: 32px;
  margin-bottom: 16px;
  font-weight: 600;
}

.cta-band p { color: rgba(255,255,255,0.7); margin-bottom: 30px; }

.cta-band .btn-row { justify-content: center; }

/* ---------- Contact page ---------- */

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 56px;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

.contact-card .avatar-circle { margin-bottom: 24px; }

.contact-card h2 {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 14px;
}

.contact-card p { color: var(--text-gray); margin-bottom: 30px; }

.contact-email {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy);
  display: inline-block;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 4px;
}

.contact-meta {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 14px;
  color: var(--text-gray);
  margin-top: 20px;
}

/* ---------- Footer ---------- */

footer.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 50px 0 30px;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--white);
  margin-bottom: 10px;
}

.footer-links { display: flex; gap: 30px; list-style: none; }

.footer-links a:hover { color: var(--gold-light); }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--text-light);
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  nav.main-nav ul { gap: 18px; }
  nav.main-nav a { font-size: 12px; }
  .hero h1 { font-size: 34px; }
  .page-header h1 { font-size: 30px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: 1fr; }
  .juta-teaser { grid-template-columns: 1fr; padding: 36px; }
  .playbook-item { grid-template-columns: 1fr; gap: 8px; }
  .footer-inner { flex-direction: column; }
}
