/* ============================================================
   Phuka Foundation — Shared Styles
   ============================================================ */

:root {
  /* Brand palette */
  --forest:    #1F3A28;
  --forest-2:  #2D4A33;
  --olive:     #6B8E3D;
  --olive-2:   #3B6D11;
  --sage:      #A9C081;
  --sage-soft: #C8DCC8;
  --cream:     #F5F4EE;
  --cream-2:   #EFEDE3;
  --charcoal:  #2D2D2A;
  --muted:     #6F6E69;
  --sun:       #E8A33D;
  --sun-deep:  #4A2F02;
  --white:     #FFFFFF;

  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --max-w: 1140px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a  { color: var(--olive-2); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--forest); }

/* Headings */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--forest);
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  font-weight: 600;
  line-height: 1.15;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
p  { margin: 0 0 1em; }

/* Container & sections */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 88px 0; }
section.tight { padding: 56px 0; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 244, 238, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(31, 58, 40, 0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--forest);
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 1.05rem;
}
.brand img { height: 38px; width: auto; }
.brand span { line-height: 1; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  color: var(--charcoal);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.site-nav a:hover { color: var(--forest); }
.site-nav a.active { color: var(--forest); }
.site-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--olive);
  border-radius: 2px;
}

.nav-cta {
  background: var(--sun);
  color: var(--sun-deep) !important;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-cta:hover {
  background: #F0B158;
  transform: translateY(-1px);
}
.nav-cta::after { display: none !important; }

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--forest);
  cursor: pointer;
  padding: 6px;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn-primary {
  background: var(--sun);
  color: var(--sun-deep);
}
.btn-primary:hover {
  background: #F0B158;
  color: var(--sun-deep);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}
.btn-outline:hover {
  background: var(--forest);
  color: var(--cream);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: 88px 0 96px;
  background:
    radial-gradient(900px 380px at 88% -10%, rgba(169, 192, 129, 0.35), transparent 70%),
    var(--cream);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(107, 142, 61, 0.15);
  color: var(--olive-2);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--olive);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1);   opacity: 1;   }
  50%     { transform: scale(1.4); opacity: 0.5; }
}
.hero h1 {
  margin-bottom: 18px;
}
.hero .lede {
  font-size: 1.12rem;
  color: var(--charcoal);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.phuka-card {
  background: var(--forest);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}
.phuka-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -30px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(169, 192, 129, 0.25), transparent 70%);
  pointer-events: none;
}
.phuka-card .pron {
  font-style: italic;
  color: var(--sage);
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.phuka-card .pron .ipa { color: var(--sage-soft); }
.phuka-card .def {
  font-size: 1.35rem;
  line-height: 1.4;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 22px;
}
.phuka-card .rule {
  height: 1px;
  background: rgba(245, 244, 238, 0.18);
  margin-bottom: 22px;
}
.phuka-card .meaning {
  color: var(--sage-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ============================================================
   Section: Mission
   ============================================================ */
.mission {
  background: var(--white);
}
.mission .grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.mission .label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--olive-2);
  font-weight: 600;
  margin-bottom: 18px;
}
.mission p.big {
  font-size: 1.35rem;
  line-height: 1.55;
  color: var(--charcoal);
  font-weight: 400;
}
.mission p.big strong { color: var(--forest); font-weight: 600; }

/* ============================================================
   Section: Programs preview
   ============================================================ */
.programs-preview { background: var(--cream-2); }
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-head .eyebrow { margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.skill {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid rgba(31, 58, 40, 0.08);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.skill:hover {
  transform: translateY(-4px);
  border-color: rgba(107, 142, 61, 0.4);
  box-shadow: 0 12px 28px -16px rgba(31, 58, 40, 0.18);
}
.skill .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(169, 192, 129, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--olive-2);
}
.skill h3 { margin-bottom: 8px; }
.skill p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

/* ============================================================
   Section: Founders
   ============================================================ */
.founders { background: var(--cream); }
.founders .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.founders-card {
  background: var(--forest);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.founders-card .label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 22px;
  font-weight: 600;
}
.founders-card .names {
  font-size: 1.45rem;
  font-weight: 500;
  margin-bottom: 14px;
  color: var(--cream);
}
.founders-card p { color: var(--sage-soft); margin: 0; }

/* ============================================================
   Section: CTA strip
   ============================================================ */
.cta-strip {
  background: linear-gradient(135deg, var(--olive-2) 0%, var(--forest) 100%);
  color: var(--cream);
  text-align: center;
  padding: 80px 0;
}
.cta-strip h2 { color: var(--cream); margin-bottom: 16px; }
.cta-strip p {
  color: var(--sage-soft);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto 30px;
}
.cta-strip .btn-primary { background: var(--sun); color: var(--sun-deep); }
.cta-strip .btn-primary:hover { background: #F0B158; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--forest);
  color: var(--sage-soft);
  padding: 56px 0 32px;
}
.site-footer .grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.site-footer h4 {
  color: var(--cream);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 16px;
  font-weight: 600;
}
.site-footer .brand-block .brand { color: var(--cream); margin-bottom: 14px; }
.site-footer .brand-block p {
  color: var(--sage-soft);
  font-size: 0.95rem;
  max-width: 320px;
  margin: 0;
  line-height: 1.6;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--sage-soft); font-size: 0.95rem; }
.site-footer a:hover { color: var(--cream); }

.site-footer .legal {
  border-top: 1px solid rgba(245, 244, 238, 0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(200, 220, 200, 0.7);
}

/* ============================================================
   Inner page hero
   ============================================================ */
.page-hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(700px 300px at 90% -20%, rgba(169, 192, 129, 0.3), transparent 70%),
    var(--cream);
  border-bottom: 1px solid rgba(31, 58, 40, 0.08);
}
.page-hero .container { max-width: 820px; }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { margin-bottom: 16px; font-size: clamp(2rem, 4vw, 2.7rem); }
.page-hero p {
  font-size: 1.15rem;
  color: var(--charcoal);
  max-width: 680px;
  margin: 0;
}

/* ============================================================
   Pullquote
   ============================================================ */
.pullquote {
  background: var(--cream-2);
  padding: 80px 0;
}
.pullquote blockquote {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.45;
  color: var(--forest);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-align: center;
  position: relative;
}
.pullquote blockquote::before {
  content: '"';
  display: block;
  font-family: Georgia, serif;
  font-size: 4.5rem;
  color: var(--olive);
  line-height: 0.5;
  margin-bottom: 24px;
  font-weight: 400;
}
.pullquote cite {
  display: block;
  margin-top: 24px;
  font-size: 0.95rem;
  font-style: normal;
  color: var(--muted);
  font-weight: 500;
}

/* ============================================================
   Approach / numbered steps
   ============================================================ */
.approach { background: var(--white); }
.approach .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--cream);
  border: 1px solid rgba(31, 58, 40, 0.06);
}
.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.step h3 { margin-bottom: 8px; }
.step p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

/* ============================================================
   Skill detail (programs page)
   ============================================================ */
.skills-detail { background: var(--cream); }
.skills-detail .skill-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: start;
  padding: 48px 0;
  border-bottom: 1px solid rgba(31, 58, 40, 0.08);
}
.skills-detail .skill-row:last-child { border-bottom: none; }
.skills-detail .skill-row .num {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive-2);
  font-weight: 600;
  margin-bottom: 8px;
}
.skills-detail h3 {
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  margin-bottom: 0;
}
.skills-detail .skill-row p {
  font-size: 1.05rem;
  color: var(--charcoal);
  margin: 0 0 16px;
}
.skills-detail .skill-row ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.skills-detail .skill-row li {
  padding: 8px 0 8px 26px;
  position: relative;
  color: var(--muted);
  font-size: 0.98rem;
}
.skills-detail .skill-row li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 14px;
  height: 2px;
  background: var(--olive);
}

/* ============================================================
   Get Involved page
   ============================================================ */
.ways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.way {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid rgba(31, 58, 40, 0.08);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.way.featured {
  background: var(--forest);
  color: var(--cream);
  border-color: transparent;
}
.way.featured h3 { color: var(--cream); }
.way.featured p { color: var(--sage-soft); }
.way.featured a { color: var(--sun); }
.way.featured a:hover { color: #F0B158; }
.way:hover { transform: translateY(-3px); }
.way .badge {
  display: inline-block;
  background: rgba(232, 163, 61, 0.18);
  color: var(--sun-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.way.featured .badge { background: rgba(232, 163, 61, 0.25); color: var(--sun); }
.way h3 { font-size: 1.2rem; margin-bottom: 10px; }
.way p { font-size: 0.96rem; line-height: 1.6; margin-bottom: 14px; }
.way .arrow {
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Contact card / express interest */
.contact-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  border: 1px solid rgba(31, 58, 40, 0.08);
}
.contact-card h2 { margin-bottom: 12px; }
.contact-card p { color: var(--muted); margin-bottom: 24px; }
.contact-list {
  list-style: none; padding: 0; margin: 0;
}
.contact-list li {
  padding: 14px 18px;
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  border: 1px solid rgba(31, 58, 40, 0.08);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.98rem;
}
.contact-list .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 600;
  margin-right: auto;
}
.contact-list a { color: var(--forest); font-weight: 500; }
.contact-list a:hover { color: var(--olive-2); }

/* ============================================================
   Founder bios
   ============================================================ */
.bios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
}
.bio {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(31, 58, 40, 0.08);
}
.bio .avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.bio h3 { margin-bottom: 4px; }
.bio .role {
  color: var(--olive-2);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  margin-bottom: 16px;
}
.bio p {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 920px) {
  section { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }
  .hero-grid,
  .mission .grid,
  .founders .grid,
  .contact-card { grid-template-columns: 1fr; gap: 36px; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .approach .grid { grid-template-columns: 1fr; }
  .ways-grid { grid-template-columns: 1fr; }
  .bios { grid-template-columns: 1fr; }
  .skills-detail .skill-row { grid-template-columns: 1fr; gap: 18px; }
  .site-footer .grid { grid-template-columns: 1fr 1fr; }
  .site-footer .brand-block { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(31, 58, 40, 0.1);
    box-shadow: 0 12px 32px -12px rgba(31, 58, 40, 0.15);
    gap: 10px;
    display: none;
    min-width: 200px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 8px 0; }
  .skills-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.1rem; }
  .phuka-card { padding: 28px 24px; }
  .phuka-card .def { font-size: 1.15rem; }
}
