/* Whole Family Collective — site styles */

:root {
  --navy: #0D3B3B;
  --teal: #1FA59A;
  --coral: #E4573D;
  --gold: #F2B705;
  --purple: #6C63B6;
  --sage: #A7C5A0;
  --cream: #F7F4EF;

  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;

  --max-width: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.4rem); color: var(--teal); }
h3 { font-size: 1.25rem; color: var(--navy); }

p { margin: 0 0 1.2em; }

a { color: var(--teal); }

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

/* Header / Nav */
header.site-header {
  background: var(--cream);
  border-bottom: 1px solid rgba(13,59,59,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
}

.brand img { height: 46px; width: auto; display: block; }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  border-bottom: 2px solid var(--coral);
  color: var(--coral);
}

.nav-cta {
  background: var(--coral);
  color: #fff !important;
  padding: 9px 18px !important;
  border-radius: 999px;
  border-bottom: none !important;
}
.nav-cta:hover { background: #c8452e; border-bottom: none !important; color: #fff !important; }

.menu-toggle { display: none; }

/* Hero */
.hero {
  background: var(--navy);
  color: var(--cream);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--gold);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.hero h1 { color: var(--gold); max-width: 780px; margin-top: 8px; margin-bottom: 14px; }

.hero p { color: #E7E4DC; max-width: 720px; }

.hero-buttons { display: flex; gap: 16px; margin-top: 24px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
}

.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: #c8452e; }

.btn-secondary { background: transparent; color: #fff; border: 2px solid var(--sage); }
.btn-secondary:hover { background: rgba(255,255,255,0.08); }

/* Section photos: image floats within the text so copy wraps naturally
   instead of sitting in an equal-height grid column with empty space. */
.section-photo-grid {
  margin: 8px 0 32px;
}

.section-photo-grid::after {
  content: "";
  display: table;
  clear: both;
}

.section-photo {
  float: left;
  width: 38%;
  max-width: 320px;
  margin: 4px 28px 20px 0;
}

.section-photo-grid.reverse .section-photo {
  float: right;
  margin: 4px 0 20px 28px;
}

.section-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.photo-caption {
  display: block;
  font-size: 0.72rem;
  font-style: italic;
  color: var(--navy);
  opacity: 0.55;
  margin-top: 6px;
}

@media (max-width: 640px) {
  .section-photo,
  .section-photo-grid.reverse .section-photo {
    float: none;
    width: 100%;
    max-width: none;
    margin: 0 0 20px;
  }
}

/* Sections */
section { padding: 64px 0; }
section.alt { background: #fff; }
section.tinted { background: #EFEAE0; }

.section-intro { margin-bottom: 40px; }
.section-intro h2 { color: var(--teal); max-width: none; }
.section-intro > p { max-width: 760px; }
.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--coral);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin: 32px 0 40px;
}

.stat-card {
  background: var(--navy);
  color: #fff;
  padding: 26px 22px;
  border-radius: 14px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}

.stat-highlight {
  color: var(--gold);
  font-weight: 800;
}

.stat-source {
  font-size: 0.75rem;
  font-style: italic;
  color: var(--sage);
  display: block;
  margin-top: 10px;
}

/* Cards / grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: 14px;
  padding: 26px;
  border: 1px solid rgba(13,59,59,0.08);
}

.card h3 { margin-bottom: 10px; }

.subsection-heading {
  color: var(--purple);
  font-size: 1.05rem;
  margin-top: 48px;
  margin-bottom: 24px;
}

.subsection-block {
  padding-top: 8px;
  margin-top: 40px;
}

.subsection-block .subsection-heading { margin-top: 0; }

.question-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
}

.question-list li {
  position: relative;
  padding-left: 26px;
  font-weight: 600;
  color: var(--navy);
}

.question-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.icon-badge svg { width: 24px; height: 24px; }

.icon-badge.navy { background: var(--navy); }
.icon-badge.teal { background: var(--teal); }
.icon-badge.coral { background: var(--coral); }
.icon-badge.purple { background: var(--purple); }
.icon-badge.gold { background: var(--gold); }

/* Icon inline with heading (Head/Heart/Soul, promise items) */
.card-heading-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.card-heading-row .icon-badge { margin-bottom: 0; }
.card-heading-row h3 { margin-bottom: 0; }

/* Centered card variant (e.g. Core Focus Areas) */
.card-grid.centered .card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.card-grid.centered .card-heading-row {
  flex-direction: column;
}

.card-grid.centered .icon-badge {
  margin: 0 auto 12px;
}

/* We-strengthen-caregivers grid: 2 columns, compact rows */
.card-grid.icons-6 {
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.card-grid.icons-6 .card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  text-align: left;
}

.card-grid.icons-6 .icon-badge { margin-bottom: 0; }
.card-grid.icons-6 .card h3 { margin-bottom: 4px; }
.card-grid.icons-6 .card p { margin-bottom: 0; font-size: 0.92rem; }

@media (max-width: 640px) {
  .card-grid.icons-6 { grid-template-columns: 1fr; }
}

.value-lead {
  font-weight: 800;
  color: var(--coral);
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) {
  .card-grid.cols-2 { grid-template-columns: 1fr; }
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.team-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  border: 1px solid rgba(13,59,59,0.08);
  text-align: center;
}

.team-avatar {
  width: 220px;
  height: 300px;
  border-radius: 16px;
  margin: 0 auto 18px;
  overflow: hidden;
  background: var(--sage);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card h3 { text-align: center; }

.team-role {
  color: var(--coral);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 14px;
  text-align: center;
}

.linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
}
.linkedin-btn:hover { background: var(--teal); }
.linkedin-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Promise / stakeholder list */
.promise-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.promise-item {
  background: #fff;
  border-radius: 14px;
  padding: 26px 24px;
  border: 1px solid rgba(13,59,59,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.promise-item .icon-badge { margin: 0 auto 12px; }
.promise-item h3 { margin-bottom: 6px; }
.promise-item p { margin-bottom: 0; }

@media (max-width: 800px) {
  .promise-list { grid-template-columns: 1fr; }
}

/* Join us / CTA band */
.cta-band {
  background: var(--purple);
  color: #fff;
  text-align: center;
}

.cta-band h2 { color: #fff; }
.cta-band p { color: #EDECF7; max-width: 640px; margin-left: auto; margin-right: auto; }

.join-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 32px;
  text-align: center;
}

.join-card {
  background: #fff;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.join-card h3 { color: var(--navy); }
.join-card p { color: #4a4a5a; margin: 0; }

/* Footer */
footer.site-footer {
  background: var(--navy);
  color: var(--sage);
  padding: 48px 0 28px;
}

footer.site-footer .footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

footer.site-footer a { color: var(--sage); text-decoration: none; }
footer.site-footer a:hover { color: var(--gold); }

.footer-logo { height: 46px; width: auto; display: block; }

.footer-tagline {
  font-style: italic;
  font-size: 0.85rem;
  color: var(--sage);
  margin-top: 12px;
  white-space: nowrap;
}

footer.site-footer nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

footer.site-footer nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.85rem;
  opacity: 0.85;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* Vision/Mission page hero variant */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 56px 0;
  text-align: center;
}
.page-hero h1 { color: #fff; max-width: 700px; margin: 0 auto; }
.page-hero p { color: var(--sage); max-width: 700px; margin: 0 auto; }

.vm-block {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 20px;
}

/* Mobile */
@media (max-width: 820px) {
  nav.main-nav { display: none; }
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--navy);
    cursor: pointer;
  }
  nav.main-nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(13,59,59,0.1);
    padding: 12px 24px 20px;
  }
  nav.main-nav.open ul {
    flex-direction: column;
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .footer-tagline { white-space: normal; }
}
