/*
Theme Name: Altius Circle
Theme URI: https://altiuscircle.com
Author: Altius Circle
Author URI: https://altiuscircle.com
Description: Official WordPress theme for Altius Circle — Raising Africa's Next Generation of Leaders
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: altius-circle
*/

/* ============================================
   ALTIUS CIRCLE — WordPress Theme Stylesheet
   Brand: Navy #1A2B4A | Gold #C49A1E
   Font: Cormorant Garamond (display) + DM Sans (body)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

:root {
  --navy:       #1A2B4A;
  --navy-light: #243658;
  --navy-deep:  #0F1A2E;
  --gold:       #C49A1E;
  --gold-light: #D4AE3A;
  --gold-pale:  #F5EDD0;
  --cream:      #FAF8F2;
  --white:      #FFFFFF;
  --charcoal:   #2C2C2C;
  --mid:        #666666;
  --muted:      #999999;
  --border:     #E8E2D4;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NAVIGATION ───────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(26,43,74,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196,154,30,0.2);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 68px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark {
  width: 38px; height: 38px;
  border: 2px solid var(--gold); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
}
.logo-mark span {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700; color: var(--gold);
}
.logo-text { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--white); }
.logo-text small {
  display: block; font-size: 10px; font-weight: 300;
  color: rgba(196,154,30,0.8); letter-spacing: 1.5px;
  text-transform: uppercase; font-family: var(--font-body);
}
.main-navigation { display: flex; align-items: center; gap: 4px; }
.main-navigation ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.main-navigation ul li a {
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-size: 13.5px; font-weight: 400;
  padding: 6px 14px; border-radius: 4px;
  transition: color 0.2s, background 0.2s; display: block;
}
.main-navigation ul li a:hover { color: var(--gold); background: rgba(196,154,30,0.1); }
.main-navigation ul li.cta-nav a { background: var(--gold); color: var(--navy); font-weight: 500; margin-left: 8px; }
.main-navigation ul li.cta-nav a:hover { background: var(--gold-light); }

/* Mobile nav toggle */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--white);
  margin: 4px 0; transition: 0.3s;
}

/* ── PAGE WRAPPER ─────────────────────────── */
.site-content { padding-top: 68px; min-height: 100vh; }

/* ── HERO ─────────────────────────────────── */
.hero {
  background: var(--navy-deep); min-height: 92vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden; padding: 80px 48px;
}
.hero-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(196,154,30,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,154,30,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow {
  position: absolute; top: -20%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(ellipse, rgba(196,154,30,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold); font-size: 12px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 28px;
}
.hero-eyebrow::before { content: ''; display: block; width: 32px; height: 1px; background: var(--gold); }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 76px); font-weight: 600;
  line-height: 1.08; color: var(--white); margin-bottom: 28px; letter-spacing: -1px;
}
.hero h1 em { color: var(--gold); font-style: italic; }
.hero p {
  font-size: 18px; font-weight: 300; color: rgba(255,255,255,0.7);
  max-width: 520px; margin-bottom: 44px; line-height: 1.75;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(196,154,30,0.15);
  display: flex; z-index: 2;
}
.hero-stat { flex: 1; padding: 28px 48px; border-right: 1px solid rgba(196,154,30,0.1); }
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 4px;
}
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,0.5); letter-spacing: 0.5px; }

/* ── BUTTONS ──────────────────────────────── */
.btn-primary {
  background: var(--gold); color: var(--navy);
  padding: 14px 32px; border-radius: 4px;
  font-size: 14px; font-weight: 500;
  text-decoration: none; transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); color: var(--navy); }
.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.3); color: var(--white);
  padding: 14px 32px; border-radius: 4px;
  font-size: 14px; font-weight: 400;
  text-decoration: none; transition: border-color 0.2s, background 0.2s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--gold); background: rgba(196,154,30,0.08); color: var(--white); }

/* ── SECTIONS ─────────────────────────────── */
.site-section { padding: 96px 48px; }
.site-section.alt { background: var(--white); }
.site-section.dark { background: var(--navy); color: var(--white); }
.site-section.gold-bg { background: var(--gold-pale); }
.max-w { max-width: 1200px; margin: 0 auto; }
.section-eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px; display: block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px); font-weight: 600;
  line-height: 1.15; color: var(--navy); margin-bottom: 20px; letter-spacing: -0.5px;
}
.dark .section-title { color: var(--white); }
.section-lead {
  font-size: 17px; font-weight: 300; color: var(--mid);
  max-width: 600px; line-height: 1.75; margin-bottom: 56px;
}
.dark .section-lead { color: rgba(255,255,255,0.65); }

/* ── GRID ─────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

/* ── CARDS ────────────────────────────────── */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: 32px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 8px 32px rgba(26,43,74,0.08); transform: translateY(-2px); }
.card-icon {
  width: 44px; height: 44px; border-radius: 6px;
  background: var(--gold-pale); display: flex;
  align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 20px;
}
.card h3 {
  font-family: var(--font-display); font-size: 20px; font-weight: 600;
  color: var(--navy); margin-bottom: 10px;
}
.card p { font-size: 14px; color: var(--mid); line-height: 1.7; }

/* ── ARM CARDS ────────────────────────────── */
.arm-card { background: var(--navy); border-radius: 8px; overflow: hidden; display: grid; grid-template-columns: 80px 1fr; }
.arm-num {
  background: var(--gold); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 36px; font-weight: 700; color: var(--navy);
  writing-mode: vertical-lr; padding: 32px 0;
}
.arm-body { padding: 32px; }
.arm-body h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--gold); margin-bottom: 8px; }
.arm-body .arm-tag { font-size: 11px; color: rgba(255,255,255,0.4); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; display: block; }
.arm-body p { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.7; }

/* ── TESTIMONIALS ─────────────────────────── */
.testimonial { background: var(--navy); border-radius: 8px; padding: 32px; position: relative; }
.testimonial::before {
  content: '"'; font-family: var(--font-display); font-size: 80px; line-height: 0.8;
  color: rgba(196,154,30,0.25); position: absolute; top: 20px; left: 24px;
}
.testimonial p { font-size: 15px; color: rgba(255,255,255,0.8); line-height: 1.75; position: relative; z-index: 1; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gold); display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 14px; color: var(--navy); flex-shrink: 0;
}
.testimonial-name { font-size: 14px; font-weight: 500; color: var(--white); }
.testimonial-role { font-size: 12px; color: rgba(255,255,255,0.4); }

/* ── BLOG CARDS ───────────────────────────── */
.blog-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.blog-card:hover { box-shadow: 0 8px 32px rgba(26,43,74,0.08); transform: translateY(-2px); }
.blog-img { height: 200px; background: var(--navy); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.blog-img-pattern {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(196,154,30,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(196,154,30,0.06) 1px, transparent 1px);
  background-size: 30px 30px;
}
.blog-img-text { font-family: var(--font-display); font-size: 48px; font-weight: 700; color: rgba(196,154,30,0.3); position: relative; z-index: 1; }
.blog-body { padding: 24px; }
.blog-tag {
  display: inline-block; background: var(--gold-pale); color: var(--gold);
  font-size: 11px; font-weight: 500; letter-spacing: 0.5px;
  text-transform: uppercase; padding: 4px 10px; border-radius: 3px; margin-bottom: 12px;
}
.blog-body h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--navy); margin-bottom: 10px; line-height: 1.35; }
.blog-body p { font-size: 14px; color: var(--mid); line-height: 1.65; margin-bottom: 16px; }
.blog-meta { font-size: 12px; color: var(--muted); display: flex; gap: 12px; }

/* ── FORMS ────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13px; font-weight: 500; color: var(--navy); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--border); border-radius: 6px;
  font-family: var(--font-body); font-size: 14px; color: var(--charcoal);
  background: var(--white); transition: border-color 0.2s; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 4px; }
.btn-submit {
  background: var(--navy); color: var(--white);
  padding: 14px 36px; border: none; border-radius: 4px;
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: background 0.2s; margin-top: 8px;
}
.btn-submit:hover { background: var(--gold); color: var(--navy); }

/* ── PAGE HEADER ──────────────────────────── */
.page-header { background: var(--navy); padding: 80px 48px 60px; }
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px); font-weight: 600;
  color: var(--white); letter-spacing: -0.5px; line-height: 1.1; margin-bottom: 16px;
}
.page-header p { font-size: 17px; font-weight: 300; color: rgba(255,255,255,0.6); max-width: 540px; }

/* ── COURSES LIST ─────────────────────────── */
.courses-list { list-style: none; }
.courses-list li {
  display: grid; grid-template-columns: 48px 1fr;
  align-items: stretch; border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.courses-list li:first-child { border-top: 1px solid var(--border); }
.courses-list li:hover { background: var(--gold-pale); }
.course-num {
  background: var(--navy); color: var(--gold);
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.course-content { padding: 20px 24px; }
.course-content strong { display: block; font-size: 15px; font-weight: 500; color: var(--navy); margin-bottom: 4px; }
.course-content span { font-size: 13px; color: var(--mid); }

/* ── GOVERNANCE TABLE ─────────────────────── */
.governance-row { display: grid; grid-template-columns: 180px 1fr; border-bottom: 1px solid var(--border); align-items: stretch; }
.governance-row:first-child { border-top: 1px solid var(--border); }
.governance-key {
  background: var(--navy); color: var(--gold);
  font-size: 12px; font-weight: 500; padding: 16px 20px; display: flex; align-items: center;
}
.governance-val { padding: 16px 20px; font-size: 14px; color: var(--mid); line-height: 1.6; }

/* ── CONTACT ──────────────────────────────── */
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--border); }
.contact-icon { width: 40px; height: 40px; border-radius: 6px; background: var(--gold-pale); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contact-label { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.contact-val { font-size: 15px; font-weight: 500; color: var(--navy); }

/* ── PERSON CARD ──────────────────────────── */
.person-card { display: grid; grid-template-columns: 160px 1fr; gap: 32px; align-items: start; background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 32px; }
.person-avatar {
  width: 160px; height: 160px; border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.person-avatar span { font-family: var(--font-display); font-size: 48px; font-weight: 700; color: var(--gold); }
.person-body h3 { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.person-role { font-size: 13px; color: var(--gold); font-weight: 500; margin-bottom: 16px; display: block; }

/* ── VALUES ───────────────────────────────── */
.value-item { display: flex; gap: 20px; align-items: flex-start; padding: 24px 0; border-bottom: 1px solid var(--border); }
.value-item:last-child { border-bottom: none; }
.value-num { font-family: var(--font-display); font-size: 40px; font-weight: 700; color: var(--gold-pale); line-height: 1; flex-shrink: 0; width: 48px; }
.value-content h4 { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.value-content p { font-size: 14px; color: var(--mid); line-height: 1.7; }

/* ── STEPS ────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; }
.steps::before { content: ''; position: absolute; top: 28px; left: 60px; right: 60px; height: 1px; background: var(--border); z-index: 0; }
.step { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.step-circle {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); border: 3px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  color: var(--gold); margin: 0 auto 16px;
}
.step h4 { font-size: 14px; font-weight: 500; color: var(--navy); margin-bottom: 6px; }
.step p { font-size: 12px; color: var(--mid); line-height: 1.55; }

/* ── MISC ─────────────────────────────────── */
.accent-line { width: 48px; height: 3px; background: var(--gold); border-radius: 2px; margin-bottom: 20px; }
.pill { display: inline-block; padding: 5px 14px; border-radius: 100px; font-size: 12px; font-weight: 500; background: var(--gold-pale); color: var(--navy); border: 1px solid rgba(196,154,30,0.3); margin: 3px; }
blockquote { border-left: 4px solid var(--gold); padding: 20px 32px; background: var(--gold-pale); border-radius: 0 8px 8px 0; margin: 40px 0; }
blockquote p { font-family: var(--font-display); font-size: 22px; font-weight: 500; font-style: italic; color: var(--navy); line-height: 1.5; margin-bottom: 0; }
blockquote cite { display: block; margin-top: 10px; font-size: 13px; color: var(--mid); font-style: normal; }
.resource-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 24px; display: flex; gap: 16px; align-items: flex-start; transition: box-shadow 0.2s; }
.resource-card:hover { box-shadow: 0 4px 20px rgba(26,43,74,0.06); }
.resource-icon { width: 48px; height: 48px; border-radius: 8px; background: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.resource-body h4 { font-size: 15px; font-weight: 500; color: var(--navy); margin-bottom: 4px; }
.resource-body p { font-size: 13px; color: var(--mid); line-height: 1.6; }
.resource-tag { font-size: 11px; font-weight: 500; color: var(--gold); letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 6px; display: block; }
hr.divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

/* ── FOOTER ───────────────────────────────── */
.site-footer {
  background: var(--navy-deep); border-top: 1px solid rgba(196,154,30,0.15);
  padding: 48px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
}
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 12px; line-height: 1.7; max-width: 260px; }
.footer-col h5 { font-size: 11px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,0.5); text-decoration: none; font-size: 13px; margin-bottom: 8px; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  background: var(--navy-deep); padding: 20px 48px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex; justify-content: space-between;
  font-size: 12px; color: rgba(255,255,255,0.3);
}

/* ── UTILITIES ────────────────────────────── */
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.mb-56 { margin-bottom: 56px; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }
.text-gold  { color: var(--gold); }
.text-navy  { color: var(--navy); }
.text-mid   { color: var(--mid); }
.font-display { font-family: var(--font-display); }

/* ── BLOG SINGLE POST ─────────────────────── */
.post-content { max-width: 720px; margin: 0 auto; padding: 64px 48px; }
.post-content h1 { font-family: var(--font-display); font-size: 42px; font-weight: 600; color: var(--navy); line-height: 1.2; margin-bottom: 24px; }
.post-content h2 { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--navy); margin: 40px 0 16px; }
.post-content p { font-size: 17px; line-height: 1.8; color: var(--charcoal); margin-bottom: 24px; }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 24px; }
.post-content li { font-size: 16px; line-height: 1.8; margin-bottom: 8px; color: var(--charcoal); }
.post-meta { font-size: 13px; color: var(--muted); margin-bottom: 40px; display: flex; gap: 16px; align-items: center; }
.post-category { background: var(--gold-pale); color: var(--gold); padding: 4px 10px; border-radius: 3px; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 768px) {
  .site-header { padding: 0 20px; }
  .main-navigation { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 20px; }
  .main-navigation.open { display: flex; }
  .main-navigation ul { flex-direction: column; width: 100%; }
  .main-navigation ul li a { padding: 12px 16px; border-radius: 4px; }
  .nav-toggle { display: block; }
  .site-section { padding: 60px 20px; }
  .hero { padding: 60px 20px; }
  .grid-2, .grid-3, .grid-4, .two-col { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .site-footer { grid-template-columns: 1fr; padding: 40px 20px; }
  .footer-bottom { flex-direction: column; gap: 8px; padding: 20px; }
  .hero h1 { font-size: 40px; }
  .hero-stats { position: relative; flex-wrap: wrap; }
  .hero-stat { flex: 1 1 50%; }
  .person-card { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .page-header { padding: 60px 20px 40px; }
  .post-content { padding: 40px 20px; }
}
